HMS 管理
Event
健康告警
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: hms
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
list | 健康告警列表 | array | {"size": 20, "item_type": struct} | |
»level | 告警等级 | enum_int | {"0":"通知","1":"提醒","2":"警告"} | |
»module | 事件模块 | enum_int | {"0":"飞行任务","1":"设备管理","2":"媒体","3":"hms"} | |
»in_the_sky | 是否飞行 | enum_int | {"0":"在地上","1":"在天上"} | |
»code | 告警码 | text | {"length":"10240"} | |
»device_type | 设备类型 | text | 格式为 {domain-type-subtype},可以根据产品支持查询 | |
»imminent | 是否为及时性的 | enum_int | {"0":"否","1":"是"} | 代表是否为及时性的告警码。比如风过大,会随着风力减小而自动消失。 |
»args | 参数 | struct | ||
»»component_index | 文案变量 | int | {"length":"10240"} | 需要填充在 '告警文案查询json文件',hms.json'中的变量 |
»»sensor_index | 文案变量 | int | {"length":"10240"} | 需要填充在 '告警文案查询json文件',hms.json'中的变量 |
Example:
{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"list": [
{
"args": {
"component_index": 0,
"sensor_index": 0
},
"code": "0x16100083",
"device_type": "0-67-0",
"imminent": 1,
"in_the_sky": 0,
"level": 2,
"module": 3
}
]
},
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655,
"method": "hms"
}