feat:【IoT 物联网】完善设备消息的查询
This commit is contained in:
@@ -19,18 +19,18 @@ public enum IotDeviceMessageMethodEnum implements ArrayValuable<String> {
|
||||
|
||||
// ========== 设备状态 ==========
|
||||
|
||||
STATE_ONLINE("thing.state.online", true),
|
||||
STATE_OFFLINE("thing.state.offline", true),
|
||||
STATE_ONLINE("thing.state.online", "设备上线", true),
|
||||
STATE_OFFLINE("thing.state.offline", "设备下线", true),
|
||||
|
||||
// ========== 设备属性 ==========
|
||||
// 可参考:https://help.aliyun.com/zh/iot/user-guide/device-properties-events-and-services
|
||||
|
||||
PROPERTY_POST("thing.property.post", true),
|
||||
PROPERTY_SET("thing.property.set", false),
|
||||
PROPERTY_POST("thing.property.post", "属性上报", true),
|
||||
PROPERTY_SET("thing.property.set", "属性设置", false),
|
||||
|
||||
// ========== 设备事件 ==========
|
||||
|
||||
EVENT_POST("thing.event.post", true),
|
||||
EVENT_POST("thing.event.post", "事件上报", true),
|
||||
|
||||
;
|
||||
|
||||
@@ -44,6 +44,8 @@ public enum IotDeviceMessageMethodEnum implements ArrayValuable<String> {
|
||||
|
||||
private final String method;
|
||||
|
||||
private final String name;
|
||||
|
||||
private final Boolean upstream;
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user