|
|
@@ -156,7 +156,7 @@ public class IHikVisionEzvizDeviceImpl extends HttpDeviceAbstractImpl implements
|
|
|
map.put(deviceSerial + "-" + channelNo, status);
|
|
|
}
|
|
|
for (IotDevice childDevice : childDeviceList) {
|
|
|
- String status = map.get(iotDevice.getDevCode());
|
|
|
+ String status = map.get(childDevice.getDevCode());
|
|
|
if (null != status) {
|
|
|
log.info("【海康萤石云平台监控】更新设备状态,devCode = {},设备状态:{}",childDevice.getDevCode(), IotEnumOnlineStatus.messageOfCode(childDevice.getDevStatus()));
|
|
|
childDevice.setDevStatus(status);
|