事件上报新增deviceEvent

This commit is contained in:
huguanghan 2024-11-04 10:18:23 +08:00
parent 599f183ba8
commit 278ad17a9e

View File

@ -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());
} }