|
|
@ -21,13 +21,13 @@ public class Config { |
|
|
|
public static String IOT_LPM_KEY = PropertiesUtil.getProperty("iot.lpm.key"); |
|
|
|
|
|
|
|
// 设备协议列表
|
|
|
|
public static String IOT_PROTOCAL = "ProtocalHj212" ; |
|
|
|
public static String IOT_PROTOCAL = "ProtocalHj212,ProtocalMing,ProtocalModbus,ProtocalModbusTcp" ; |
|
|
|
|
|
|
|
public static String IOT_MQTT_HOST = PropertiesUtil.getProperty("iot.mqtt.host"); |
|
|
|
|
|
|
|
public static String IOT_MQTT_CLIENTID = IOT_LPM_KEY; |
|
|
|
|
|
|
|
public static String IOT_MQTT_TOPIC = "/lpm/" + IOT_LPM_KEY +",/transmit/device" ; |
|
|
|
public static String IOT_MQTT_TOPIC = "/lpm,/lpm/" + IOT_LPM_KEY +",/transmit/device" ; |
|
|
|
|
|
|
|
public static String IOT_MQTT_USERNAME = PropertiesUtil.getProperty("iot.mqtt.userName"); |
|
|
|
|
|
|
|