In general, there is a MapEnum object in the tool schema for each Smart Electrical enumerated list entry that needs to be mapped. The properties and relationships for a MapEnum can be viewed in the Edit Map Enumerated List Definition dialog box (the same dialog box that is used for MapEnumList objects.)
General
Property |
Value |
---|---|
UID |
The UID must be constructed using the following pattern: UID = SPEN_<CodelistNumber>_<CodelistIndex> <CodelistNumber> - The numeric identifier for this enum list. <CodelistIndex> - The numeric identifier for this entry. |
Name |
The text of the Smart Electrical enum list entry. |
Number |
The index number of the Smart Electrical enum list entry. |
Tool Schema Relationships
Relationship |
Comment |
---|---|
Contained In |
Every MapEnum must be related to a MapEnumList (MapEnumListMapEnum in the diagram). |
Mapping Relationships
Relationship |
Comment |
---|---|
Maps to |
This relationship defines the SmartPlant Schema enum value to which this Smart Electrical enum value is to be published. If this relationship is not defined, the enum value will not be published (MapEnumToEnum in the diagram). |
Mapped from |
This relationship defines the Smart Electrical enum value to which this SmartPlant Schema enum value is to be retrieved. If this relationship is not defined, the enum value will not be retrieved (EnumToMapEnum in the diagram). |