JSON message mapping specific flags for content of the dataset message header.
Syntax
Members
Member | Value | Description |
DataSetWriterId | 1 | If this flag is set, a dataset writer Id shall be included in the dataset message header.
Remarks:
In OPC UA specification version 1.04, Part 14 Table 62 appears to have bits incorrectly numbered from 1 instead of 0.
OPC UA specification version 1.04 prescribed that DataSetWriterId is formatted as a String. Errata 1.04.2 changes the format to UInt16. |
DataSetWriterName | 64 | If this flag is set, a DataSetWriterName shall be included in the DataSetMessage header.
Remarks:
This flag was added in OPC UA specification version 1.05.01. 0007328: JSON Data Set MessageHeader needs a DataSetWriterName Field |
FieldEncoding1 | 128 | Defines field encoding configuration, together with FieldEncoding2.
Remarks:
This flag was first defined in OPC UA specification version 1.05.04, by renaming and partially repurposing the ReversibleFieldEncoding flag. |
FieldEncoding2 | 2048 | Defines field encoding configuration, together with FieldEncoding1.
Remarks:
This flag was added in OPC UA specification version 1.05.04. |
MessageType | 32 | If this flag is set, the message type is included in the dataset message header.
Remarks:
This flag was added in OPC UA specification version 1.04.10 Errata. 0005372: Keep-alive message in JSON unclear or unfeasible |
MetaDataVersion | 2 | If this flag is set, the configuration version is included in the dataset message header.
Remarks:
In OPC UA specification version 1.04, Part 14 Table 62 appears to have bits incorrectly numbered from 1 instead of 0. |
MinorVersion | 1024 | The MinorVersion field of the configuration version is included in the DataSetMessage header.
Remarks:
This flag was added in OPC UA specification version 1.05.03. |
None | 0 | "No flags. |
PublisherId | 256 | The Publisher Id is included in the dataset messages.
Remarks:
This flag was added in OPC UA specification version 1.05.03. |
ReversibleFieldEncoding | 128 | If this flag is set, the DataSetMessage fields are encoded in the reversible JSON encoding and in the non-reversible JSON encoding otherwise.
Remarks:
This flag was added in OPC UA specification version 1.05.01. 0007038: PubSub JSON encoding for DataSetMessage needs reversible encoding for DataValue
This flag bit has been partially repurposed, and renamed to FieldEncoding1 in OPC UA specification version 1.05.04. |
SequenceNumber | 4 | If this flag is set, the dataset message sequence number is included in the dataset message header.
Remarks:
In OPC UA specification version 1.04, Part 14 Table 62 appears to have bits incorrectly numbered from 1 instead of 0. |
Status | 16 | If this flag is set, an overall status is included in the dataset message header.
Remarks:
In OPC UA specification version 1.04, Part 14 Table 62 appears to have bits incorrectly numbered from 1 instead of 0. |
Timestamp | 8 | If this flag is set, a timestamp shall be included in the dataset message header.
Remarks:
In OPC UA specification version 1.04, Part 14 Table 62 appears to have bits incorrectly numbered from 1 instead of 0. |
WriterGroupName | 512 | The writer group name is included in the dataset messages.
Remarks:
This flag was added in OPC UA specification version 1.05.03. |
Inheritance Hierarchy
System.Object
System.ValueType
System.Enum
OpcLabs.EasyOpc.UA.PubSub.Configuration.UAJsonDataSetMessageContentMask
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also