rev 更新值不健康处理

This commit is contained in:
USER-20220102CG\noblelift
2023-08-15 11:21:13 +08:00
parent f30a337738
commit 4f89bfbd93

View File

@@ -185,6 +185,7 @@ public class DeviceOpcProtocolRunable implements Runnable, DataCallback, ServerC
Object his = accessor_value.getValue(itemId);
if (!ObjectUtl.isEquals(itemState.getQuality(), QualityTypeValue.OPC_QUALITY_GOOD) && his != null) {
log.warn("opc 值不健康 item: {}, 状态: {}", itemId, itemState.getQuality());
valueAllNotNull = true;
}
if (!UnifiedDataAppService.isEquals(value, his)) {