pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol4Mqtt/MqttTopic.java
@@ -18,4 +18,16 @@ public String devId ;//设备(FBox)ID public String topic ;//消息主题 public boolean isEmpty(){ return orgTag == null || protocol == null || devId == null || topic == null || orgTag.trim().length() == 0 || protocol.trim().length() == 0 || devId.trim().length() == 0 || topic.trim().length() == 0 ; } public String shortName(){ return topic ; } public String longName(){ return orgTag + "/" + protocol + "/" + devId + "/" + topic ; } }