From 63574bf6cf94613385cb8d0e2c2beb1829f644b5 Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期四, 09 五月 2024 11:50:35 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/CanadaMes --- 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