The MapEnum object corresponds to the IMapEnumDef interface in the Tool Schema Data Model diagram. 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 object can be viewed in the Edit Map Enumerated List Definition dialog box (the same dialog box is used for MapEnumList objects.)
General
Property |
Description |
---|---|
UID |
The property value must be unique. UID of an enumerated list entry must be SPEL_<EnumListName>_<CodelistIndex>, where CodelistIndex is the value of the index of the corresponding select list entry in the Smart Electrical data model. Values of codelist index are stored in the Data Dictionary table CODELISTS. For example, UID of the Yes entry of the YesNo enum list must be SPEL_YesNo_1. |
Name |
The value of this property is a text setting of the Smart Electrical enum list entry. |
Tool Schema Relationships
Relationship |
Description |
---|---|
Contained In |
Every MapEnum object must be related to a MapEnumList object. The relationship name in the diagram is MapEnumListMapEnum. |
Mapping Relationships
Relationship |
Description |
---|---|
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. The relationship name in the diagram is MapEnumToEnum. |
Maps From |
This relationship defines the Smart Electrical enum value to which the SmartPlant schema enum value is to be retrieved. If this relationship is not defined, the enum value will not be retrieved. The relationship name in the diagram is EnumToMapEnum. |