HMS 管理

2023-08-15
暂无评分

Event

健康告警

Topic: thing/product/{gateway_sn}/events

Direction: up

Method: hms

Data:

ColumnNameTypeconstraintDescription
list健康告警列表array{}
»[array_item]Elements in arraystruct{}{"size": "20"}
»»level告警等级enum{"0":"通知","1":"提醒","2":"警告"}
»»module事件模块enum{"0":"飞行任务","1":"设备管理","2":"媒体","3":"hms"}
»»in_the_sky是否飞行enum{"0":"在地上","1":"在天上"}
»»code告警码text{"length":"10240"}
»»device_type设备类型text格式为 {domain-type-subtype},可以根据产品支持open in new window查询
»»imminent是否为及时性的enum{"0":"否","1":"是"}代表是否是及时性的告警码,比如风过大,会随着风力减小而自动消失
»»args参数struct[{"identifier":"component_index","name":"文案变量","dataType":{"type":"text","specs":{"length":"10240"}}},{"identifier":"sensor_index","name":"文案变量","dataType":{"type":"text","specs":{"length":"10240"}}}]

Example:

{
	"tid": "xxxxxxxx",
	"bid": "xxxxx",
	"timestamp:": 1654070968655,
	"method": "hms",
	"data": {
		"list": [
			{
				"level": 2,
				"module": 3,
				"in_the_sky": 0,
				"code": "0x16100083",
				"device_type": "0-67-0",
				"imminent": 1,
				"args": {
					"component_index": 0,
					"sensor_index": 0
				}
			}
		]
	}
}
若您对文档有意见或疑惑,点击可快速反馈,我们会与您联系。