我已将Azure 工业物联网平台部署到我的 Azure 订阅。当它提供时序见解时,它使用时序 ID 的复合键。
在对实例进行建模时,我很难确定“时间序列 ID”的格式。
TSI 实例配置错误:
错误描述:
> Unable to create instance(s): Error in 1/1 instances. >Instance-1:
> Values in a single time series ID
> '["i=2256,uat0b626473b51aad434992c48deefc9bb8d03ae7f2,uat0b626473b51aad434992c48deefc9bb8d03ae7f2"]'
> must match the time series ID properties
> '[publisherId:String,dataSetWriterId:String,nodeId:String]' defined
> for the environment.
该文档并没有真正显示它应该如何格式化。(例如,它是否应该包含逗号、方括号等)
时间序列 ID 显示为(Empty)
当我在 UI 中查看它时,所以我没有得到任何提示:
这是示例遥测:
{
"NodeId": "http://microsoft.com/Opc/OpcPlc/#s=AlternatingBoolean",
"EndpointUrl": "opc.tcp://10.1.8.5:51200/",
"ApplicationUri": "urn:OpcPlc:410bf7b98fc2",
"DisplayName": "AlternatingBoolean",
"Timestamp": "2020-08-12T19:07:38.4355693Z",
"Status": "Good",
"Value": {
"Value": false,
"SourceTimestamp": "2020-08-12T19:07:38.1007812Z",
"ServerTimestamp": "2020-08-12T19:07:38.1007828Z"
},
"SequenceNumber": 1319,
"ExtensionFields": {
"EndpointId": "uat0b626473b51aad434992c48deefc9bb8d03ae7f2",
"PublisherId": "uat0b626473b51aad434992c48deefc9bb8d03ae7f2",
"DataSetWriterId": "uat0b626473b51aad434992c48deefc9bb8d03ae7f2"
}
你能为我指出正确的方向吗?