From e08b557c1e39eefd3822df52d2acc58435b21e16 Mon Sep 17 00:00:00 2001
From: zhangyong <517047165@qq.com>
Date: 星期五, 15 九月 2023 08:31:58 +0800
Subject: [PATCH] 修复string.split(".")不能分割的bug

---
 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 e702b5b..cd0375b 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
@@ -16,7 +16,7 @@
         e.printStackTrace();
       }
 
-      List<Boolean> plclist = S7control.getinstance().ReadBits("DB102.DBX0.0", 58);
+      List<Boolean> plclist = S7control.getinstance().ReadBits("DB102.0.0", 58);
       // 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