From b454340c14d789c5fe41350d092ea2f14d6454b3 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期一, 06 五月 2024 10:21:45 +0800
Subject: [PATCH] 添加plc连接不上时报警,主界面后端推送数据超时提示
---
springboot-vue3/src/main/java/com/example/springboot/entity/device/PlcBitInfo.java | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/springboot-vue3/src/main/java/com/example/springboot/entity/device/PlcBitInfo.java b/springboot-vue3/src/main/java/com/example/springboot/entity/device/PlcBitInfo.java
index e3cf8d1..31b2322 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/entity/device/PlcBitInfo.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/entity/device/PlcBitInfo.java
@@ -2,6 +2,9 @@
import com.example.springboot.component.S7control;
+import java.util.ArrayList;
+import java.util.List;
+
public class PlcBitInfo {
public PlcBitInfo(String startAddress) {
@@ -68,7 +71,10 @@
return stringdatas[0]+"."+dbwindex+"."+bitindex;
}
- public void setAddressIndex(int addressindex) {
+
+
+
+ public void setAddressIndex(int addressindex) {
this.addressIndex = addressindex;
}
}
--
Gitblit v1.8.0