From 6cf345bc8fe98d393320b89182f9293171aa19ff Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 22 四月 2025 16:39:55 +0800 Subject: [PATCH] 1、根据江海协议中开阀类型变化,修改相应代码; 2、江海协议RTU模拟器启动参数注释。 --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/ParseParamsForDownV202404.java | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 47 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/ParseParamsForDownV202404.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/ParseParamsForDownV202404.java new file mode 100644 index 0000000..deeca39 --- /dev/null +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/ParseParamsForDownV202404.java @@ -0,0 +1,47 @@ +package com.dy.common.mw.protocol.p206V202404; + +import com.dy.common.mw.protocol.CodeParseParams; + +public class ParseParamsForDownV202404 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 ParseParamsForDownV202404(){} + + 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