带有 modbus 模块的 IoT Edge v2 以以下格式向 IoT 中心发送数据:
[
{
"DisplayName": "Voltage",
"HwId": "",
"Address": "400001",
"Value": "200",
"SourceTimestamp": "2019-01-03 23:40:24"
},
{
"DisplayName": "Voltage",
"HwId": "",
"Address": "400002",
"Value": "24503",
"SourceTimestamp": "2019-01-03 23:40:24"
},
...
]
我想使用包含CROSS APPLY GetArrayElements()的流分析查询将此数组转换为行,但此函数需要数组名称。显然没有名字。有什么建议么?
https://docs.microsoft.com/en-us/stream-analytics-query/getarrayelements-azure-stream-analytics https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics -解析-json