From 95ca12994fe6a68b46d30653123dba8d8acf20fc Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期一, 07 四月 2025 10:46:15 +0800 Subject: [PATCH] # --- src/main/java/com/zy/common/model/LocTypeDto.java | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zy/common/model/LocTypeDto.java b/src/main/java/com/zy/common/model/LocTypeDto.java index d62d0c8..38fb7d2 100644 --- a/src/main/java/com/zy/common/model/LocTypeDto.java +++ b/src/main/java/com/zy/common/model/LocTypeDto.java @@ -19,6 +19,8 @@ // 杞婚噸绫诲瀷{0:鏈煡,1:杞诲簱浣�,2:閲嶅簱浣峿 private Short locType3; + private Integer siteId; + public LocTypeDto() { } @@ -32,11 +34,11 @@ // if (staProtocol.isHigh() == staProtocol.isLow()) { // throw new CoolException("plc楂樹綆妫�娴嬪紓甯�"); // } -// if (staProtocol.isLow()) { + if (staProtocol.getSiteId() == 106 || staProtocol.getSiteId() == 159){ + this.locType1 = 2; // 楂樺簱浣� + }else { this.locType1 = 1; // 浣庡簱浣� -// } else { -// this.locType1 = 2; // 楂樺簱浣� -// } + } } /** -- Gitblit v1.9.1