From c13207a19a92c845fcb8c356e01f073142d9084e Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期五, 19 一月 2024 14:32:42 +0800
Subject: [PATCH] 测试后代码更新

---
 springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java b/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java
index 5601296..b8a0c05 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java
@@ -153,7 +153,7 @@
             // // TODO: handle exception
             // }
 
-            if (S7control.getinstance().CheckConnected() == true) {
+            // if (S7control.getinstance().CheckConnected() == true) {
                 // 鑾峰彇褰撳墠鎵爜鏂瑰紡
 
                 List<Boolean> Scanningmethods = S7control.getinstance().ReadBits("DB101.11.4", 1);
@@ -171,7 +171,7 @@
                 jsonObject.append("DeviceList", DeviceList);
                 // 鑾峰彇D01-D06,A01,A02,B01,B02鐜荤拑id
                 List<String> GlassIdList = new ArrayList<String>();
-                GlassIdList.add(spianService.queGlassid("DB103.40", 14).toString());
+                GlassIdList.add(spianService.queGlassid("DB103.44", 14).toString());
                 GlassIdList.add(spianService.queGlassid("DB103.58", 14).toString());
 
                 GlassIdList.add(spianService.queGlassid("DB103.184", 14).toString());
@@ -294,7 +294,7 @@
                 // }
 
                 // }
-            }
+            // }
 
             storageCageService = WebSocketServer.applicationContext.getBean(StorageCageService.class);
             dbserve = WebSocketServer.applicationContext.getBean(JdbcConnections.class);

--
Gitblit v1.8.0