The following graphic displays 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 graphic. A MapProperty with a UoM data type must be related to a MapUoMList.
The MapUoMList object corresponds to the IMapUoMListDef interface in the graphic. In general, there is a MapUoMList object in the tool schema for each Smart P&ID 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 in the Schema Editor.
General
Property |
Value |
---|---|
UID |
The UID must be constructed using the following pattern: UID = SPMU_<FormatType > <FormatType> is the numeric value that uniquely identifies the format type and therefore the UoM type within Smart P&ID. |
Name |
The name of the P&ID format type. |
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 graphic.) |