From 5d4062b4caf6af878db6049f8dbefe8ffe41a57e Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期二, 23 四月 2024 09:48:13 +0800 Subject: [PATCH] 删除多余代码 --- springboot-vue3/src/main/java/com/example/springboot/component/Plcsign.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/Plcsign.java b/springboot-vue3/src/main/java/com/example/springboot/component/Plcsign.java index 2daeaf3..8329678 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/component/Plcsign.java +++ b/springboot-vue3/src/main/java/com/example/springboot/component/Plcsign.java @@ -71,7 +71,7 @@ // System.out.println(PlcAddress); // List<Boolean> plclist = S7control.getinstance().ReadBits(PlcAddress, Plccount); - List<Boolean> plclist = S7control.getinstance().ReadBits("DB102.0.0", 64); + List<Boolean> plclist = S7control.getinstance().ReadBits("DB102.0.0", 112); // Boolean[] values = { true, true, true, true, true, false, true, false, // true, false, true, false, true, false, -- Gitblit v1.8.0