5.4.2.18 DataValue

DataValue values shall be encoded as a JSON object with the fields shown in Table 42.

The DataValue adds additional fields to a Variant (see 5.4.2.17).

Table 42 – JSON Object Definition for a DataValue
NameData TypeDescription
UaTypeByteSee the UaType field in the Variant.
Value*See the Value field in the Variant.
DimensionsUInt32See the Dimensions field in the Variant.
StatusStatusCode

The status associated with the value.

Not encoded if the value is Good (0).

SourceTimestampDateTime

The source timestamp associated with the value.

Not encoded if the value is DateTime.MinValue.

SourcePicosecondsUInt16

The number of 10 Picosecond intervals for the SourceTimestamp.

Not encoded if the value is 0.

ServerTimestampDateTime

The Server timestamp associated with the value.

Not encoded if the value is DateTime.MinValue.

ServerPicosecondsUInt16

The number of 10 Picosecond intervals for the ServerTimestamp.

Not encoded if the value is 0.