| | |
| | | public static boolean DEALING_HK_NOTICE_LIST = false; |
| | | public static boolean DEALING_FROM_HK_VISIT = false; |
| | | public static boolean DEALING_HK_EMPOWER = false; |
| | | public static boolean DEALING_DUANLUQI_CLOSE = false; |
| | | public static boolean DEALING_HK_EMPOWER_DETAIL = false; |
| | | public static boolean DEALING_HK_EMPOWER_RESULT = false; |
| | | public static boolean DEALING_HK_PARKBOOK = false; |
| | |
| | | public static final int depart = 3; |
| | | public static final int custom = 4; |
| | | public static final int self = -1; |
| | | } |
| | | //类型 0门禁 1车库 2LED 3广播点 4广播设备 5断路器空开 |
| | | public interface DEVICE_TYPE{ |
| | | public static final int door = 0; |
| | | public static final int park = 1; |
| | | public static final int led = 2; |
| | | public static final int broadcaset = 3; |
| | | public static final int broadcasetChannel = 4; |
| | | public static final int duanluqi = 5; |
| | | } |
| | | |
| | | /** |
| | |
| | | return JSONObject.toJSONString(map); |
| | | } |
| | | |
| | | public interface MqttTopic{ |
| | | String mts_attr = "/dev/+/+/attr/json";//属性topic |
| | | String mts_status = "/dev/+/+/status/json";//状态topic |
| | | String mts_event= "/dev/+/+/event/json";//事件topic |
| | | String mts_echo= "/dev/+/+/echo/json";//消息回复topic |
| | | String mts_cmd= "/dev/$CATE/$DEVID/cmd/json";//命令topic |
| | | String mts_resp= "/dev/+/+/resp/json";//命令响应topic |
| | | } |
| | | |
| | | |
| | | public enum WarningConfig { |