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

GRAM

http://data.posccaesar.org/rdl/RDS1325789

Kilogram

kg

KGM

KILOGRAM

http://data.posccaesar.org/rdl/RDS1328669

PoundMass

lb

LBR

POUND MASS

http://data.posccaesar.org/rdl/RDS11617515

Tonne

t

TNE

TONNE

http://data.posccaesar.org/rdl/RDS1344689

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.