From 7fac117d5b0217be53bdf7945bcfb3c1715b5bbb Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期一, 22 一月 2024 08:28:11 +0800
Subject: [PATCH] 代码测试后更新

---
 springboot-vue3/src/main/java/com/example/springboot/entity/device/PlcParameterInfo.java |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/entity/device/PlcParameterInfo.java b/springboot-vue3/src/main/java/com/example/springboot/entity/device/PlcParameterInfo.java
index ff39eba..1faf7c9 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/entity/device/PlcParameterInfo.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/entity/device/PlcParameterInfo.java
@@ -108,5 +108,10 @@
         } else
             return null; 
         return stringdatas[0]+"."+dbwindex+bitindex;
-    } 
-    }
\ No newline at end of file
+    }
+
+    public int getPlcAddress() {
+
+        return addressIndex;
+    }
+}
\ No newline at end of file

--
Gitblit v1.8.0