forked from dyf/fys-Multi-tenant
feat(mqtt): 新增星汉设备数据处理规则和解析逻辑- 添加 MqttXinghanCommandType 枚举类,用于识别和处理星汉设备的命令类型
- 新增 MqttXinghanJson 类,用于解析星汉设备的 JSON 数据 - 在 ReceiverMessageHandler 中集成星汉设备数据的处理逻辑 - 添加 XingHanCommandTypeConstants 常量类,定义星汉设备的命令类型常量 - 实现 XinghanDeviceDataRule 类,处理星汉设备主动上报的数据命令
This commit is contained in:
@ -0,0 +1,16 @@
|
||||
package com.fuyuanshen.global.mqtt.constants;
|
||||
|
||||
public class XingHanCommandTypeConstants {
|
||||
/**
|
||||
* 星汉设备主动上报数据 (XingHan Device Data)
|
||||
*/
|
||||
public static final String XingHan_DEVICE_DATA = "Light_101";
|
||||
/**
|
||||
* 星汉开机LOGO (XingHan Boot Logo)
|
||||
*/
|
||||
public static final String XingHan_BOOT_LOGO = "Light_102";
|
||||
/**
|
||||
* 星汉设备发送消息 (XingHan send msg)
|
||||
*/
|
||||
public static final String XingHan_ESEND_MSG = "Light_103";
|
||||
}
|
||||
Reference in New Issue
Block a user