From 75347649fb44f0a6064be55f093dea884c895930 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期六, 17 五月 2025 09:57:36 +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