From b427e1d0102d4b3b4263c7c6e572f29f9c50bef9 Mon Sep 17 00:00:00 2001
From: 野心家 <1051256694@qq.com>
Date: 星期四, 08 五月 2025 11:01:04 +0800
Subject: [PATCH] 初始化

---
 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 ccd52fc..eae5aaa 100644
--- a/src/main/java/com/zy/common/model/LocTypeDto.java
+++ b/src/main/java/com/zy/common/model/LocTypeDto.java
@@ -31,6 +31,7 @@
         } else {
             this.locType1 = 2; // 楂樺簱浣�
         }
+//        this.locType1 = 1;
     }
 
     /**
@@ -38,14 +39,14 @@
      */
     public static LocTypeDto process(StaProtocol staProtocol) {
         LocTypeDto dto = new LocTypeDto();
-        if (staProtocol.isHigh() == staProtocol.isLow()) {
-            throw new CoolException("plc楂樹綆妫�娴嬪紓甯�");
-        }
-        if (staProtocol.isLow()) {
-            dto.setLocType1((short) 1); // 浣庡簱浣�
-        } else {
-            dto.setLocType1((short) 2); // 楂樺簱浣�
-        }
+//        if (staProtocol.isHigh() == staProtocol.isLow()) {
+//            throw new CoolException("plc楂樹綆妫�娴嬪紓甯�");
+//        }
+//        if (staProtocol.isLow()) {
+//            dto.setLocType1((short) 1); // 浣庡簱浣�
+//        } else {
+//            dto.setLocType1((short) 2); // 楂樺簱浣�
+//        }
         return dto;
     }
 

--
Gitblit v1.9.1