A UADataType is a subtype of the UAType defined in Table F.5. It defines a DataType Node. The fields in the UADataType type are defined in Table F.11.
Element |
Type |
Description |
Definition |
DataTypeDefinition |
An abstract definition of the data type that can be used by design tools to create code that can serialize the data type in XML and/or Binary forms. This is only used to define subtypes of the Structure, Enumeration or UInteger DataTypes. UInteger DataTypes only have this field if they represent an OptionSet. |
Purpose |
DataTypePurpose |
An enumeration that indicates the purpose of the DataType. It can be used by modelling tools and code generators to exclude DataTypes that are not needed.
Possible values are: Normal – The DataType is used in the AddressSpace. ServicesOnly – The DataType is only used as Service parameters. CodeGenerator – The DataType is only used by code generation tools. This field is only specified for the OPC UA NodeSet. Other NodeSets shall omit this field and the value of “Normal” is assumed. |