Example for DataSet1 with all configurable JsonDataSetMessageContentMask flags set to false and no flags set for DataSetFieldContentMask.
{
"PublisherId":"MyPublisher",
"DataSetWriterId":101,
"SequenceNumber":68468,
"MinorVersion":672341762,
"Timestamp":"2021-09-27T18:45:19.555Z",
"Payload":
{
"Active":true,
"Temperature":25.5,
"Counter":0,
"AdditionalInfo":"The system is running normally (1)"
}
}
Example for DataSet2 with all configurable JsonDataSetMessageContentMask flags set to true and no flags set for DataSetFieldContentMask.
{
"PublisherId":"MyPublisher",
"DataSetWriterId":102,
"SequenceNumber":25460,
"MinorVersion":672341762,
"Timestamp":"2021-09-27T18:45:19.555Z",
"Status":1073741824,
"MessageType":"ua-keyframe",
"WriterGroupName":"WriterGroup1",
"DataSetWriterName":"Writer102",
"Payload":
{
"LocationName":"Building A",
"Coordinate":
{
"X":1,
"Y":0.2
},
"Measurements":
[
20030,
20020,
20010
]
}
}
Example for DataSet1 with all configurable JsonDataSetMessageContentMask flags set to false and with SourceTimestamp and StatusCode flags set in the DataSetFieldContentMask. The Status is omitted if the Code is 0.
{
"PublisherId":"MyPublisher",
"DataSetWriterId":101,
"SequenceNumber":68468,
"MinorVersion":672341762,
"Timestamp":"2021-09-27T18:45:19.555Z",
"Payload":
{
"Active":
{
"Value":true,
"Status":{"Code":1073741824,"Symbol":"Uncertain"},
"SourceTimestamp":"2021-09-27T11:32:38.349925Z"
},
"Temperature":
{
"Value":25.5,
"SourceTimestamp":"2021-09-27T11:32:38.349925Z"
},
"Counter":
{
"Value":0,
"SourceTimestamp":"2021-09-27T11:32:38.349925Z"
},
"AdditionalInfo":
{
"Value":"The system is running normally (1)",
"SourceTimestamp":"2021-09-27T11:32:38.349925Z"
}
}
}