事件上报新增deviceEvent
This commit is contained in:
parent
52f51bf88b
commit
5e3f592be4
@ -307,8 +307,7 @@ public class NodeMessageServiceImpl implements NodeMessageService {
|
|||||||
deviceEventInfo.setDeviceName(deviceInfoCache.getDeviceName());
|
deviceEventInfo.setDeviceName(deviceInfoCache.getDeviceName());
|
||||||
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.deviceModelMap.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