StructureType#

class StructureType(value)#

Bases: object

A semantic OPC UA integer value with typed constants and equality.

Construct a semantic value from its native integer representation.

Parameters:

value (int)

Native numeric value or flag bits.

Returns:

object – The corresponding typed wrapper.

Examples

>>> from instro.opcua.types import AttributeId
>>> AttributeId(13) == AttributeId.VALUE
True

Attributes

STRUCTURE = StructureType(0)#
STRUCTURE_WITH_OPTIONAL_FIELDS = StructureType(1)#
STRUCTURE_WITH_SUBTYPED_VALUES = StructureType(3)#
UNION = StructureType(2)#
UNION_WITH_SUBTYPED_VALUES = StructureType(4)#
value#