In general, there is a MapProperty object in the tool schema for each Smart Electrical property that needs to be published or retrieved.
In general, PropertyDef Objects in the tool schema must have a MapPropertyToProperty relationship with the SmartPlant Schema Object (InterfaceDef) for a property to be published.
During publishing, all such properties will be gathered from the relevant ClassDef and will be populated by corresponding values from the Smart Electrical item and property. Each updated property will be added to the container under its appropriate Interface realized by the ClassDef.
The properties and relationships for a MapProperty can be viewed in the Edit Map Property Definition dialog box.
General
Property |
Value |
UID |
Must be unique. No other special requirements. |
Name |
The internal name of the Smart Electrical attribute. Required. |
Process Criteria |
For properties that require special handling, the ProcessPropertyCriteria must be entered here. In most cases, property source is the original Object itself. If processing criteria are defined in ProcessPropertyCriteria, then Property source is an Object pointed to by ProcessPropertyCriteria. ProcessPropertyCriteria contains the name of relation name(s) so that the software can find a related object that has a required property. |
Tool Schema Relationships
Relationship |
Comment |
Exposed by map classes |
Every MapProperty must be related to a MapClass (MapClassMapProperties in the diagram). |
Scoped by enumeration |
If the data type of the property is enumerated, the MapProperty must be related to a MapEnumList. If the data type of the property is UoM, the MapProperty must be related to a MapUoMList (MapPropertyMapEnumList in the diagram). Otherwise, this relationship is not needed. |
Mapping Relationships
Relationship |
Comment |
Map property to property |
This relationship defines the property in the SmartPlant Schema to which this tool property is to be published (MapPropertyToProperty in the diagram). If this relationship is not defined, the property will not be published. |
Property to map property |
This relationship defines the property in the SmartPlant Schema from which this tool property is to be retrieved (PropertyToMapProperty in the diagram). If this relationship is not defined, the property will not be retrieved. |