From 6c584c489a317cee78729707890db4bb1ee3f062 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期三, 29 五月 2024 14:33:36 +0800
Subject: [PATCH] 修改进片找格子的判断

---
 springboot-vue3/src/main/java/com/example/springboot/component/PLCAutomaticParameterSetting.java |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/PLCAutomaticParameterSetting.java b/springboot-vue3/src/main/java/com/example/springboot/component/PLCAutomaticParameterSetting.java
index 1c7c551..8862fa0 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/component/PLCAutomaticParameterSetting.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/component/PLCAutomaticParameterSetting.java
@@ -42,6 +42,8 @@
         List<Short> fanzhuan2 = S7control.getinstance().ReadWord("DB100.8", 1);
         List<Short> xiaoche2 = S7control.getinstance().ReadWord("DB100.12", 1);
 
+        //  System.out.println("messageValue锛�"+ arraylist  );
+
         // Short[] values1 = { 1, 2, 3, 4, 5, 6, 7, 8 };
         // List<Short> arraylist = new ArrayList<>(Arrays.asList(values1));
         // Short[] fanzhuan = { 4 };
@@ -155,6 +157,9 @@
                     S7control.getinstance().WriteWord(waddresses1, mergedList2);
                     System.out.println("messageValue锛�" + mergedList2 + " written to PLC at address " + waddresses1);
                   }
+                //鍘熺偣璁板繂
+
+
                   // 娓呯┖娑堟伅鍒楄〃
                   webserver.clearMessages();
                 }

--
Gitblit v1.8.0