OPC UA PubSub 模型到 MindSphere 数据模型映射¶
时间序列模型映射¶
OPC UA PubSub 模型 到MindSphere Timeseries
消息数据模型的映射如下。
以下模型与 "c/{clientId}/o/opcua/v3/u/m/t" 主题相关。
Aspect 名称是 {StructureDefinitionName} + "Fields"
如果结构定义名称是 "SPS", 则 Aspect name 会是 "SPSFields".
如果字段名包含斜杠,在最后的"\" or "/" 后面的字符串会被用作层级 asset 名称。
- 字段名称: "H1/H2/DP1"
- 需要为 type id OPCUAHierarchyDataType 创建两个 asset。
如果字段名包含斜杠,在最后的"\" or "/" 后面的字符串会被用作数据类型 asset 名称。 If the field name includes slash(s), the string after the last "\" or "/" will be used as the data type asset name.
- 字段名称: "H1/H2/DP1"
- 需要为 type id
{tenant}.{StructureName}
创建一个 asset。
说明
OPC UA PubSub 仅支持 2 级层级结构。
事件数据模型映射¶
OPC UA PubSub 模型到 MindSphere 事件消息数据模型的映射如下:
以下模型与 "c/{clientId}/o/opcua/v3/u/m/e" 主题相关。
事件类型 id 是 { tenantId } + ".connectivity.event.type." + {StructureDefinitionName}
将根据以上的映射自动创建 Asset Management 和 Event Management 资源。
Last update: March 22, 2023