From aec4636e4fb430055feb66751da0e6c05bb864df Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期三, 30 四月 2025 16:25:30 +0800
Subject: [PATCH] fix(irrigatePlan): 修复终止灌溉计划时长设置错误- 将终止计划的默认时长从 9999 修改为 0 - 此修改确保在终止灌溉计划时,不会出现时长设置过长的问题

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