From f4d206d07eaeabad56e2918edf9799af13bb526e Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期一, 12 五月 2025 17:38:12 +0800
Subject: [PATCH] 表阀一体机:web后端系统,实现功能码5B、5C、15、16、22、30、31、50、55、56、65、68、97、98、99远程命令。
---
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