The MapClass object corresponds to the IMapClassDef interface in the Tool SMapchema Data Model diagram. In general, there is a MapClass object in the tool schema for each Smart Electrical class (ItemType) that needs to be published or retrieved. MapClass is referred to as SPMapClassDef in the Schema Editor user interface. The properties and relationships for a MapClass object can be viewed in the Edit Map Class Definition dialog box.
General
Property |
Description |
---|---|
UID |
The property value is required, must be unique, with all characters in upper case. UID of a map class must be SPEL_<CLASSNAME>, where CLASSNAME is the name of a corresponding item type in the Smart Electrical data model. For example, the UID of the Motor class must be SPEL_MOTOR. |
Name |
The property value is required. This property designates the internal name of the Smart Electrical item type, exactly as defined in the Data Dictionary. |
Tool Schema Relationships
Relationship |
Description |
---|---|
Map Properties |
The map properties associated with the MapClass object must be defined and related to the MapClass object. The relationship name in the diagram is MapClassMapProperties |
Mapping Relationships
Relationship |
Description |
---|---|
Publish to SmartPlant Class |
This relationship must be set to a class in the SmartPlant schema if this class is to be published. When this relationship is set, an instance of the target class is published for each instance of the source class in the document being published. The relationship name in the diagram is MapClassToClass. |
Retrieve from SmartPlant interface |
The list of interfaces from which properties are to be retrieved must be set if this class is to be used for retrieval. The relationship name in the diagram is ClassToMapClass. |