The diagram below shows a representation of the objects and relationships that are relevant to the mapping of Units of Measure (UoM). A MapUoMList is a specialized kind of MapEnumList. Similarly, a MapUoM is a specialized kind of MapEnum. This is shown by the Implies relationships in the diagram. A MapProperty with a UoM data type must be related to a MapUoMList.
The MapUoMList object corresponds to the IMapUoMListDef interface in the diagram above. In general, there is a MapUoMList object in the tool schema for each Smart Electrical format type associated with a property that needs to be published or retrieved. The properties and relationships for a MapUoMList can be viewed in the Edit Map Unit of Measure List Definition dialog box.
General
Property |
Value |
UID |
The UID must be constructed using the following pattern: UID = Smart ElectricallUOM_<FormatType > <FormatType> – This is a numeric value that uniquely identifies the format type and therefore the UoM type within Smart Electrical. |
Name |
The name of the Smart Electrical format type. |
Tool OID |
SPUOM_<FormatType> |
Tool Schema Relationships
Relationship |
Comment |
Scoped map properties |
A MapUoMList must be related to the MapProperties that it scopes (MapPropertyMapEnumList in the diagram). |
Contains |
A MapUoMList can contain a variable number of MapUoM objects (MapEnumListMapEnum in the diagram). |
Mapping Relationships
Relationship |
Comment |
Maps to |
To support the publish operation, a MapUoMList should be related to the corresponding UoMListType in the SmartPlant Schema by means of the Maps to relationship (MapEnumListToEnumList in the diagram). |
Mapped from |
To support retrieve, a MapEnumList should be related to the corresponding UoMListType in the SmartPlant Schema by means of the Mapped from relationship (EnumListToMapEnumList in the diagram). |