我在接收事件时创建测量值,我可以使用 API 获取它们,但它们没有在设备管理界面中以图形方式表示。我有他们必须尊重的特定格式才能自动表示吗?如果是这样,有没有地方可以找到 Cumulocity 支持的所有格式?我从文档中的示例推断出 c8y_TemperatureMeasurement,但我没有找到完整的原生格式列表。
以下是我目前的测量示例:
{
"time": "2016-06-29T12:10:02.000+02:00",
"id": "27006",
"self": "https://<tenant-id>/measurement/measurements/27006",
"source": {
"id": "26932",
"self": "https://<tenant-id>/inventory/managedObjects/26932"
},
"type": "c8y_BatteryMeasurement",
"c8y_BatteryMeasurement": {
"unit": "V",
"value": 80
}
},
{
"time": "2016-06-29T10:15:22.000+02:00",
"id": "27010",
"self": "https://<tenant-id>/measurement/measurements/27010",
"source": {
"id": "26932",
"self": "https://<tenant-id>/inventory/managedObjects/26932"
},
"type": "c8y_TemperatureMeasurement",
"c8y_TemperatureMeasurement": {
"T": {
"unit": "C",
"value": 24
}
}
}