feat:【IoT 物联网】完善设备消息的查询

This commit is contained in:
YunaiV
2025-06-14 11:10:54 +08:00
parent 72245b5b0d
commit d346a8d2ae
13 changed files with 136 additions and 126 deletions

View File

@@ -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