From 7f3cae29516a35e85e4b6fc02ec655882d4c2538 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 08 五月 2025 11:55:24 +0800 Subject: [PATCH] 1、测控一体阀协议功能码50补充实现; 2、RTU模拟器模拟实现50、91、92功能码上报; 3、remote模块:完善透传命令实现,完善接收通信中间件返回命令结果实现。 --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V2/ParseParamsForDownV2.java | 6 +++++- 1 files changed, 5 insertions(+), 1 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 index b4e5305..3888618 100644 --- 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 @@ -6,6 +6,7 @@ public String rtuResultSendWebUrl ;//rtu杩斿洖鍛戒护缁撴灉 鍙戝悜鐩殑鍦皐eb URL public String protocolName ; + public Short protocolVersion ; public String rtuAddr ;//鎺у埗鍣ㄥ湴鍧� public String commandId ; public String commandCode ; @@ -16,7 +17,8 @@ public void clear(){ this.protocolName = null ; - this.rtuAddr = null ; + this.protocolVersion = null ; + this.rtuAddr = null ; this.commandId = null ; this.commandCode = null ; this.param = null ; @@ -26,6 +28,7 @@ public void setValue( String rtuResultSendWebUrl, String protocolName, + Short protocolVersion, String rtuAddr, String commandId, String commandCode, @@ -33,6 +36,7 @@ Object attachment ){ this.rtuResultSendWebUrl = rtuResultSendWebUrl ; this.protocolName = protocolName ; + this.protocolVersion = protocolVersion ; this.rtuAddr = rtuAddr ; this.commandId = commandId ; this.commandCode = commandCode ; -- Gitblit v1.8.0