From 74a84c4c625efe3c0c728266ff6d3df32f108cf6 Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期五, 15 九月 2023 16:30:53 +0800
Subject: [PATCH] 增加进片请求字段的拼接,出片任务判定逻辑更改。

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

diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/Plcalarm.java b/springboot-vue3/src/main/java/com/example/springboot/component/Plcalarm.java
index f45650a..0d03879 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/component/Plcalarm.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/component/Plcalarm.java
@@ -20,7 +20,7 @@
         e.printStackTrace();
       }
 
-      List<Boolean> plclist = S7control.getinstance().ReadBits("DB104.DBx0.0", 40);
+      List<Boolean> plclist = S7control.getinstance().ReadBits("DB104.0.0", 40);
       // Boolean[] values = { true, false, true, false, true, false, true, false,
       // true, false, true, false, true, false,
       // true, false, true, false, true, false, true, false, true, false, true, false,

--
Gitblit v1.8.0