更新mqtt支持

This commit is contained in:
zy 2025-12-20 09:54:40 +08:00
parent d30d564edd
commit 0a8d1e6681
1 changed files with 2 additions and 2 deletions

View File

@ -103,9 +103,9 @@ public class MyMqttCallback implements MqttCallbackExtended {
if (topic.startsWith(IotInerfaceTopicType.DTU_TOPIC.getCode())) {
log.warn("fe-check=======================" + mqttMessage.getPayload());
//识别主题确认设备 todo 处理消息逻辑
} else if (topic.startsWith(IotInerfaceTopicType.LH_IOT_TOPIC_UP.getCode())) {//蓝海虚拟设备行逻辑
} else if (topic.startsWith(IotInerfaceTopicType.LH_IOT_TOPIC_DOWN.getCode())) {//蓝海虚拟设备行逻辑
//暂时无业务
} else if (topic.contains(IotInerfaceTopicType.LH_IOT_TOPIC_DOWN.getCode())) {//蓝海虚拟设备行逻辑处理控制
} else if (topic.contains(IotInerfaceTopicType.LH_IOT_TOPIC_UP.getCode())) {//蓝海虚拟设备行逻辑处理控制
// 尝试获取锁等待3秒重试间隔100ms
try {
// Boolean lock = RedisDistributedLock2.getLock("mqtt_receive_logic:__"+topic+"_"+o1.hashCode(),2);