From a62fc01c617ed7d6837d897a120905c2b307ad89 Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期一, 22 一月 2024 09:02:28 +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