From 85081319c8908abb1ab8eb40c87ea5540c251b71 Mon Sep 17 00:00:00 2001 From: pjb <pjb123456> Date: 星期日, 17 八月 2025 17:06:48 +0800 Subject: [PATCH] rgv异常报警记录修复 --- src/main/java/com/zy/common/model/LocTypeDto.java | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/zy/common/model/LocTypeDto.java b/src/main/java/com/zy/common/model/LocTypeDto.java index 4cb4b14..20382a2 100644 --- a/src/main/java/com/zy/common/model/LocTypeDto.java +++ b/src/main/java/com/zy/common/model/LocTypeDto.java @@ -29,14 +29,15 @@ } public LocTypeDto(StaProtocol staProtocol) { - if (staProtocol.isHigh() == staProtocol.isLow()) { - throw new CoolException("plc楂樹綆妫�娴嬪紓甯�"); - } - if (staProtocol.isLow()) { - this.locType1 = 1; // 浣庡簱浣� - } else { - this.locType1 = 2; // 楂樺簱浣� - } +// if (staProtocol.isHigh() == staProtocol.isLow()) { +// throw new CoolException("plc楂樹綆妫�娴嬪紓甯�"); +// } +// if (staProtocol.isLow()) { +// this.locType1 = 1; // 浣庡簱浣� +// } else { +// this.locType1 = 2; // 楂樺簱浣� +// } + this.locType1 = 1; } /** -- Gitblit v1.9.1