Annex E (normative) OPC Binary Type Description System ToC Previous Next

E.2 Schema Description ToC Previous Next

E.2.4 EnumeratedType ToC Previous Next

An EnumeratedType describes a binary-encoded numeric value that has a fixed set of valid values. The encoded binary value described by an EnumeratedType is always an unsigned integer with a length specified by the LengthInBits attribute.

The names for each of the enumerated values are not required to interpret the binary encoding, however, they form part of the documentation for the type.

The components of an EnumeratedType are described in Table E.4.

Table E.4 – EnumeratedType Components

Name Type Description
OpaqueType OpaqueTypeDescription An EnumeratedType inherits all elements and attributes defined for a TypeDescription in Table E.2 and for an OpaqueType defined in Table E.3.
The LengthInBits attribute shall always be specified.
EnumeratedValue EnumeratedValue One or more elements that describe the possible values for the instances of the type.

Previous Next