HMS 管理

2024-09-09
暂无评分

Event

健康告警

Topic: thing/product/{gateway_sn}/events

Direction: up

Method: hms

Data:

ColumnNameTypeconstraintDescription
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},可以根据产品支持open in new window查询
»imminent是否为及时性的enum_int{"0":"否","1":"是"}代表是否为及时性的告警码。比如风过大,会随着风力减小而自动消失。
»args参数struct
»»component_index文案变量int{"length":"10240"}需要填充在 '告警文案查询json文件',hms.jsonopen in new window'中的变量
»»sensor_index文案变量int{"length":"10240"}需要填充在 '告警文案查询json文件',hms.jsonopen in new window'中的变量

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"
}
若您对文档有意见或疑惑,点击可快速反馈,我们会与您联系。