MapProperty
The MapProperty object corresponds to the IMapPropertyDef interface in the Tool Schema Data Model diagram. In general, there is a MapProperty object in the tool schema for each Smart Electrical property that needs to be published or retrieved. The properties and relationships for a MapProperty object can be viewed in the Edit Map Property 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 property must be SPEL_<CLASSNAME>_<PROPERTYNAME>. For example, UID of Motor.ItemTag property must be SPEL_MOTOR_ITEMTAG. |
Name |
The property value is required. This property designates the internal name of the Smart Electrical attribute, as defined in the Data Dictionary. |
Process Criteria |
Process criteria are used when retrieving properties of Smart Electrical objects in the following case: 1. In Smart Electrical, there is an object mapped to an object in the SmartPlant schema,
for example SPEL_A to SmartPlant_A. A relationship is designated by a text string that corresponds to the process criteria setting of the SPEL_A_Property_B property in Smart Electrical. If there are intermediate objects between the mapped SmartPlant schema object and the object in the SmartPlant schema that has the required property, the process criteria of the property in Smart Electrical must contain all relationship definitions of SmartPlant schema objects, separated by a comma delimiter. |
Tool Schema Relationships
Relationship |
Description |
---|---|
Exposed by Map Classes |
Every MapProperty object must be related to a MapClass object. The relationship name in the diagram is MapClassMapProperties. |
Scoped by Enumeration |
If the data type of the property is enumerated, the MapProperty object must be related to a MapEnumList object. If the data type of the property is UoM, the MapProperty must be related to a MapUoMList object. Otherwise, this relationship is not needed. The relationship name in the diagram is MapPropertyMapEnumList. |
Mapping Relationships
Relationship |
Description |
---|---|
Map Property to Property |
This relationship defines the property in the SmartPlant schema to which this tool property is to be published. If this relationship is not defined, the property will not be published. The relationship name in the diagram is MapPropertyToProperty. |
Property to Map Property |
This relationship defines the property in the SmartPlant schema from which this tool property is to be retrieved. If this relationship is not defined, the property will not be retrieved. The relationship name in the diagram is PropertyToMapProperty. |