From 05bd172d550f1b6b963fcb23ef21d79e2a43d757 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期二, 10 六月 2025 13:59:34 +0800
Subject: [PATCH] 更新S7通讯程序

---
 hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/s7/entity/S7DataDLPTwo.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/s7/entity/S7DataDLPTwo.java b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/s7/entity/S7DataDLPTwo.java
index c259948..553f37c 100644
--- a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/s7/entity/S7DataDLPTwo.java
+++ b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/s7/entity/S7DataDLPTwo.java
@@ -13,7 +13,7 @@
 public class S7DataDLPTwo {
 
 
-    @S7Variable(address = "DB3.3118", type = EDataType.BOOL)
+    @S7Variable(address = "DB3.3118.0", type = EDataType.BOOL)
     private Boolean mesControl;
 
     @S7Variable(address = "DB19.4", type = EDataType.INT16)
@@ -76,22 +76,22 @@
     @S7Variable(address = "DB19.342", type = EDataType.INT16)
     private Short state6;
 
-    @S7Variable(address = "DB19.176", type = EDataType.STRING, count = 22)
+    @S7Variable(address = "DB19.176", type = EDataType.STRING, count = 20)
     private String id1;
 
-    @S7Variable(address = "DB19.198", type = EDataType.STRING, count = 22)
+    @S7Variable(address = "DB19.198", type = EDataType.STRING, count = 20)
     private String id2;
 
-    @S7Variable(address = "DB19.220", type = EDataType.STRING, count = 22)
+    @S7Variable(address = "DB19.220", type = EDataType.STRING, count = 20)
     private String id3;
 
-    @S7Variable(address = "DB19.242", type = EDataType.STRING, count = 22)
+    @S7Variable(address = "DB19.242", type = EDataType.STRING, count = 20)
     private String id4;
 
-    @S7Variable(address = "DB19.264", type = EDataType.STRING, count = 22)
+    @S7Variable(address = "DB19.264", type = EDataType.STRING, count = 20)
     private String id5;
 
-    @S7Variable(address = "DB19.286", type = EDataType.STRING, count = 22)
+    @S7Variable(address = "DB19.286", type = EDataType.STRING, count = 20)
     private String id6;
 
 

--
Gitblit v1.8.0