From 2daa780ed9c74cb689f7c1e6a13f8aadebd57208 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 15 五月 2025 16:59:09 +0800
Subject: [PATCH] 表阀一体协议,修改域名及端口解析,适应空值情况。
---
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