事件上报新增deviceEvent
This commit is contained in:
parent
599f183ba8
commit
278ad17a9e
@ -308,6 +308,7 @@ public class NodeMessageServiceImpl implements NodeMessageService {
|
|||||||
deviceEventInfo.setDeviceCode(deviceInfoCache.getDeviceCode());
|
deviceEventInfo.setDeviceCode(deviceInfoCache.getDeviceCode());
|
||||||
String eventType = getEventType(item.getEventType());
|
String eventType = getEventType(item.getEventType());
|
||||||
String model = dataService.iotModelMap.get(item.getDeviceId());
|
String model = dataService.iotModelMap.get(item.getDeviceId());
|
||||||
|
log.info("物模型缓存{}",dataService.iotModelMap);
|
||||||
if (StringUtils.isEmpty(model)){
|
if (StringUtils.isEmpty(model)){
|
||||||
log.debug("未查询到物模型code,设备id:{}",item.getDeviceId());
|
log.debug("未查询到物模型code,设备id:{}",item.getDeviceId());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user