From 70aeac289c132085e91d59dc82bc1facd41889fa Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期一, 24 二月 2025 15:33:53 +0800 Subject: [PATCH] 有关表阀一体机(王江海制定)通信协议: 1、根据新版本协议,解析部分更新; 2、根据测试一体阀协议数据处理需求与逻辑,进行表阀一体机数据处理。 --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/ParseParamsForDownV202404.java | 6 +++++- 1 files changed, 5 insertions(+), 1 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 index ee77e4a..deeca39 100644 --- 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 @@ -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