From c42614978ff12013a1eabebd0289b27169a5784f Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 06 五月 2025 17:25:56 +0800
Subject: [PATCH] 1、实现万功能token(0000-0000-1234-9876-5); 2、web端单独实现命令结果等待器,并相应修改相关部分; 3、web端实现透传命令; 4、修改一些不当注释; 5、优化一些代码。
---
pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/local/localProtocol/RtuProtocolVo.java | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/local/localProtocol/RtuProtocolVo.java b/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/local/localProtocol/RtuProtocolVo.java
new file mode 100644
index 0000000..e547ab4
--- /dev/null
+++ b/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/local/localProtocol/RtuProtocolVo.java
@@ -0,0 +1,38 @@
+package com.dy.rtuMw.server.local.localProtocol;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
+public class RtuProtocolVo implements Serializable{
+
+ private static final long serialVersionUID = 202312211601001001L;
+
+ private List<String> protocolList ;
+
+ public RtuProtocolVo(){
+ this.protocolList = new ArrayList<String>() ;
+ }
+ public String toString(){
+ String s = "" ;
+ if(protocolList != null){
+ for(String str : protocolList){
+ s += str + "\n";
+ }
+ }
+ return s ;
+ }
+ /**
+ * 瀛樺叆RTU鍦ㄧ嚎鎯呭喌
+ * @param protocolList 鍗忚闆嗗悎
+ */
+ public RtuProtocolVo setRtuProtocolList(List<String> protocolList){
+ this.protocolList = protocolList ;
+ return this ;
+ }
+
+ public List<String> getRtuProtocolList() {
+ return protocolList;
+ }
+
+}
--
Gitblit v1.8.0