Commit 3c335bc0 authored by 赵啸非's avatar 赵啸非

分组更新设备

parent 06c92b7f
......@@ -49,8 +49,8 @@ public class SendThirdPartyThread extends AbstractThread {
// log.info("SendThirdPartyThread process");
DeviceReq deviceReq = cacheService.blpop(KEY_DEVICE_THIRDPARTY_QUEUE, 10, DeviceReq.class);
if (!ObjectUtils.isEmpty(deviceReq)) {
//设备上下线信息 不更新
if (DeviceMethodEnum.ONLINE.getValue() == deviceReq.getReceiveMethod() || DeviceMethodEnum.ONLINE.getValue() == deviceReq.getReceiveMethod()) {
//设备上下线信息 不更新通知
if (DeviceMethodEnum.ONLINE.getValue() == deviceReq.getDeviceStatus() || DeviceMethodEnum.ONLINE.getValue() == deviceReq.getDeviceStatus()) {
return;
}
//deviceReq.getReceiveMethod()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment