Junction Diagram Automation Suite 1.5.1
An AutoCAD 2024 plugin for the manipulation and generation of junction box wiring diagrams
Loading...
Searching...
No Matches
common.h File Reference

Common includes and definitions. More...

#include <string>
#include <vector>
#include "wx/wx.h"
#include "rxregsvc.h"
#include "acutads.h"
#include "aced.h"
#include "acedads.h"

Go to the source code of this file.

Macros

#define CABLE_SCHEDULE_SHEET_NAME   "Cable Schedule Data"
#define CABLE_SCHEDULE_TABLE_FIRST_ROW   3
#define CABLE_SCHEDULE_TABLE_QTY_COL   1
#define CABLE_SCHEDULE_TABLE_SOURCE_COL   3
#define CABLE_SCHEDULE_TABLE_DESTINATION_COL   4
#define IO_LIST_SHEET_NAME   "IO List"
#define IO_LIST_TABLE_FIRST_ROW   7
#define IO_LIST_TABLE_COMBINED_TAG_COL   2
#define IO_LIST_TABLE_INSTRUMENT_TYPE_COL   3
#define IO_LIST_TABLE_INSTRUMENT_SPEC_COL   5
#define IO_LIST_TABLE_IO_TYPE_COL   7
#define IO_LIST_TABLE_SYSTEM_COL   8
#define NUM_BOX_SIZES   4

Enumerations

enum  BoxSize { SMALL , MEDIUM , LARGE , CUSTOM }
 Predefined enclosure footprints supported by the tool. More...

Variables

const int boxSizeTerminalCounts [3] = {24, 42, 144}
const std::string boxSizeStrings [4]

Detailed Description

Common includes and definitions.

This module is part of the Junction Diagram Automation Suite. Unauthorized copying, distribution, or modification is prohibited.

Author
Ethan Barnes ebarn.nosp@m.es@g.nosp@m.astec.nosp@m.heng.nosp@m..com

Enumeration Type Documentation

◆ BoxSize

enum BoxSize

Predefined enclosure footprints supported by the tool.

Enumerator
SMALL 

12" × 12" × 6" enclosure

MEDIUM 

16" × 16" × 6" enclosure

LARGE 

24" × 24" × 8" enclosure

CUSTOM 

Custom enclosure. User will place the cables.

Variable Documentation

◆ boxSizeStrings

const std::string boxSizeStrings[4]
Initial value:
= {
"12 x 12 x 6",
"16 x 16 x 6",
"24 x 24 x 8",
"Custom"
}