初始提交

This commit is contained in:
wyf
2026-01-20 09:26:55 +08:00
commit dd4447a029
106 changed files with 11690 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
class MqttHandler {
// 报警处理 单独线程 todo
void message(String topic, String msg) {
// print("topic: $topic, msg:$msg");
try {
// statisticsService.saveDeviceStatus(msg);
// alarmRuleService.judgeInstantAlarm(msg);
} catch (e) {
// print(e);
}
//遍历路径获取匹配的topic 进行websocket数据转发
// _topicPathHandler.forwardMessageByTopic(topic, msg);
}
}