baoshiwei
2025-06-26 55e0a19f3b1c113732f8ee56ac964e5208ec7afd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.zhitan.config.mqtt;
 
public enum MqttTopic {
    SERVICE_DOWN("lanbao/nygl/service/down");
 
    public final static String DEFAULT_TOPIC = "lanbao/nygl/device/up";
 
    public final static String DEVICE_KT_UP = "lanbao/nygl/device/kt/up";
 
 
 
 
 
 
    private String topic;
    MqttTopic(String topic) {
        this.topic = topic;
    }
    public String getTopic() {
        return topic;
    }
    public void setTopic(String topic) {
        this.topic = topic;
    }
}