From d8eb22351c6d0bfe0c9f233edfd593538e6838c9 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 24 四月 2025 13:58:49 +0800 Subject: [PATCH] 1、表阀一体机协议开阀类型变化; 2、表阀一体机协议开关阀报中增加水价数据; --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V2/ParseParamsForDownV2.java | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 47 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V2/ParseParamsForDownV2.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V2/ParseParamsForDownV2.java new file mode 100644 index 0000000..3888618 --- /dev/null +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V2/ParseParamsForDownV2.java @@ -0,0 +1,47 @@ +package com.dy.common.mw.protocol.p206V2; + +import com.dy.common.mw.protocol.CodeParseParams; + +public class ParseParamsForDownV2 implements CodeParseParams{ + + public String rtuResultSendWebUrl ;//rtu杩斿洖鍛戒护缁撴灉 鍙戝悜鐩殑鍦皐eb URL + public String protocolName ; + public Short protocolVersion ; + public String rtuAddr ;//鎺у埗鍣ㄥ湴鍧� + public String commandId ; + public String commandCode ; + public Object param ; + public Object attachment ; + + public ParseParamsForDownV2(){} + + public void clear(){ + this.protocolName = null ; + this.protocolVersion = null ; + this.rtuAddr = null ; + this.commandId = null ; + this.commandCode = null ; + this.param = null ; + this.attachment = null ; + } + + public void setValue( + String rtuResultSendWebUrl, + String protocolName, + Short protocolVersion, + String rtuAddr, + String commandId, + String commandCode, + Object param, + Object attachment ){ + this.rtuResultSendWebUrl = rtuResultSendWebUrl ; + this.protocolName = protocolName ; + this.protocolVersion = protocolVersion ; + this.rtuAddr = rtuAddr ; + this.commandId = commandId ; + this.commandCode = commandCode ; + this.param = param ; + this.attachment = attachment ; + } + +} -- Gitblit v1.8.0