MassUnit¶
Overview¶
Enumeration
A unit of measurement for a physical quantity of type NullableMass with dimension M.
Literals
Implementation in Proteus Schema |
||||
|---|---|---|---|---|
Name |
Symbol |
UN Code |
RDL Reference |
RDL URI |
|
Gram |
g |
GRM |
||
|
Kilogram |
kg |
KGM |
||
|
PoundMass |
lb |
LBR |
||
|
Tonne |
t |
TNE |
||
Implementation in Proteus Schema
MassUnit is only used as the type of the Unit attribute of Mass. Mass is implemented using DEXPI generic attributes for physical quantities. In a <GenericAttribute> element, the MassUnit literal is given by means of its RDL reference in the table above. The Units attribute of the element is the name of the RDL reference in camel-case; it equals the name of the literal. The UnitsURI attribute of the element is the URI of the RDL reference.
Example
Implementation in Proteus Schema
<GenericAttribute
Units="Kilogram"
UnitsURI="http://data.posccaesar.org/rdl/RDS1328669" ...>
Note that the <GenericAttribute> element must have further attributes (Format, Value, Name, and AttributeURI). See the implementation examples for Mass and for the UpperLimitDesignLoad attribute of BatchWeigher.