|
|
@@ -102,6 +102,12 @@ public class YfScdDeviceImpl extends DeviceAbstractImpl implements IYfScdDevice
|
|
|
log.info("【杀虫灯】发送指令【refresh】 mqttMsgContent={}", mqttMsgContent);
|
|
|
break;
|
|
|
}
|
|
|
+ case CmdDef.YfScdCmdDef.CMD_COMMON:{
|
|
|
+ JSONObject jobjParam = cmdDistribution.getJsons();
|
|
|
+ mqttMsgContent = JSONUtils.toJSONString(jobjParam);
|
|
|
+ log.info("【杀虫灯】发送指令【report】 mqttMsgContent={}", mqttMsgContent);
|
|
|
+ break;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if(StringUtils.isNotEmpty(mqttMsgContent)){
|