From c9a3644b14e1307addeadea23cb5c2f5b2d8b28f Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 12 六月 2024 09:45:02 +0800 Subject: [PATCH] 1、完善通信中间件TkFindP206V1_0_0类和log4j2.yml代码; 2、删除common模块中的HttpUtil类(用不到了); 3、实现P206V1_0_0协议的功能码99H和A0H的上下行数据解析。 --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/ParseParamsForDownV1_0_1.java | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/ParseParamsForDownV1_0_1.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/ParseParamsForDownV1_0_1.java index a0f2caa..fbef8cb 100644 --- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/ParseParamsForDownV1_0_1.java +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V1_0_0/ParseParamsForDownV1_0_1.java @@ -3,7 +3,8 @@ import com.dy.common.mw.protocol.CodeParseParams; public class ParseParamsForDownV1_0_1 implements CodeParseParams{ - + + public String rtuResultSendWebUrl ;//rtu杩斿洖鍛戒护缁撴灉 鍙戝悜鐩殑鍦皐eb URL public String protocolName ; public String rtuAddr ;//鎺у埗鍣ㄥ湴鍧� public String commandId ; @@ -23,14 +24,16 @@ } public void setValue( - String protocolName, - String rtuAddr, + String rtuResultSendWebUrl, + String protocolName, + String rtuAddr, String commandId, String commandCode, Object param, Object attachment ){ - this.protocolName = protocolName ; - this.rtuAddr = rtuAddr ; + this.rtuResultSendWebUrl = rtuResultSendWebUrl ; + this.protocolName = protocolName ; + this.rtuAddr = rtuAddr ; this.commandId = commandId ; this.commandCode = commandCode ; this.param = param ; -- Gitblit v1.8.0