LengthUnit¶
Overview¶
Enumeration
A unit of measurement for a physical quantity of type NullableLength with dimension L.
Literals
Implementation in Proteus Schema |
||||
---|---|---|---|---|
Name |
Symbol |
UN Code |
RDL Reference |
RDL URI |
Centimetre |
cm |
CMT |
||
Foot |
ft |
FOT |
||
Inch |
in |
INH |
||
Kilometre |
km |
KMT |
||
Metre |
m |
MTR |
||
Micrometre |
µm |
4H |
||
Millimetre |
mm |
MMT |
||
Nanometre |
nm |
C45 |
Implementation in Proteus Schema
LengthUnit is only used as the type of the Unit attribute of Length. Length is implemented using DEXPI generic attributes for physical quantities. In a <GenericAttribute>
element, the LengthUnit 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="Centimetre"
UnitsURI="http://data.posccaesar.org/rdl/RDS1318004" ...>
Note that the <GenericAttribute>
element must have further attributes (Format
, Value
, Name
, and AttributeURI
). See the implementation examples for Length and for the Diameter attribute of AgitatorRotor.