Equivalent WoT TM definition

PropertyAffordance

Description

VariableType is a type definition of a variable and its values. It is a template for a variable. Therefore, a variableType definition can be mapped to a propertyAffordance definition in a Thing Model.

Herby, it applies the same guideline as defined for UA Variable (see Section ).

Snippet example in OPC UA (e.g., as nodeset)

<UAVariableType DataType="Double" NodeId="ns=3;i=6129" BrowseName="3:ActualPositionType" ParentNodeId="ns=3;i=5058"> ….

Transformed usage in a TD definition (as snippet)

"properties": {

"3:ActualPositionType": { …

Alternative:

"properties": {

"3:ActualPositionType": {

"@type": ["uav:variableType"], …