From ff55f15de19cb5bf02fa4d2313f4882ef9b3a452 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 30 四月 2025 10:47:34 +0800 Subject: [PATCH] 表阀一体机上报心跳数据最小间隔经常改动,时常不通知软件开发人员,所以通信中间件根据最小上报数据间隔会切断设备网络连接,为此改变中间件配置,最小心跳间隔改为在properties文件中配置。 --- 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