OPC UA PubSub JSON mapping component: Difference between revisions

From OPC Labs Knowledge Base
No edit summary
Line 32: Line 32:
|OpcLabs.UAPubSubJson.Sdk.PubSub.JsonMessagePrettificationLevel
|OpcLabs.UAPubSubJson.Sdk.PubSub.JsonMessagePrettificationLevel
|A value indicating how to prettify the output.
|A value indicating how to prettify the output.
|}
!!!
{| class="wikitable"
!Name
!Value
!Description
|-
|None
|0
|The JSON message is not prettified.
|-
|NetworkMessage
|1
|The message is prettified to the network message level.
|-
|NetworkMessageData
|2
|The message is prettified to the network message data level.
|-
|DataSetMessage
|3
|The message is prettified to the dataset message level.
|-
|DataSetMessageData
|4
|The message is prettified to the dataset message data level.
|}
|}

Revision as of 10:23, 30 January 2020

(tbd!!!)

Installation

Configuration

EasyUASubscriber object

OpcCmd tool

UADemoPublisher tool

Parameters

Send message mapping

The table below lists the available properties, their types, and descriptions.

Property Type Description
MessageFormattingParameters OpcLabs.UAPubSubJson.Sdk.PubSub.JsonMessageFormattingParameters
MessageFormattingParameters.IndentChars System.String The character string to use when indenting.
MessageFormattingParameters.PrettificationLevel OpcLabs.UAPubSubJson.Sdk.PubSub.JsonMessagePrettificationLevel A value indicating how to prettify the output.

!!!

Name Value Description
None 0 The JSON message is not prettified.
NetworkMessage 1 The message is prettified to the network message level.
NetworkMessageData 2 The message is prettified to the network message data level.
DataSetMessage 3 The message is prettified to the dataset message level.
DataSetMessageData 4 The message is prettified to the dataset message data level.