|
|
@@ -93,6 +93,9 @@ public class DeviceInfoListener implements IIotMsgHandler {
|
|
|
public BusDeviceRunningEntity sync(BusDeviceRunningEntity device, String deviceId) {
|
|
|
//保证统一设备数据顺序处理,若数据发送过快,为防止冲突,请在此加锁处理
|
|
|
synchronized (deviceId){
|
|
|
+ if (deviceId.equals("0230827A0D3001B9")) {
|
|
|
+ System.out.println("123");
|
|
|
+ }
|
|
|
String classification = device.getClassification();
|
|
|
if(StrUtil.isBlank(classification)){
|
|
|
log.error("消息【{}】,设备号:【{}】分包标识号为空,无法更新开始时间",device.getMsgId(),device.getDeviceId());
|