From ef9d846de18b685d61197c73c3eab07d2b801dc1 Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期二, 23 一月 2024 16:08:30 +0800
Subject: [PATCH] 增加握手协议和增加Json文件

---
 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