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/softUpgrade/state/UpgradeState.java | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/softUpgrade/state/UpgradeState.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/softUpgrade/state/UpgradeState.java index f1983e7..eaefce6 100644 --- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/softUpgrade/state/UpgradeState.java +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/softUpgrade/state/UpgradeState.java @@ -17,8 +17,10 @@ public int overTotal ;//鎵�鏈夌粨鏉燂紙鍖呮嫭鎴愬姛涓庢墍鏈夊け璐ワ級 public int successTotal ;//鎵�鏈夋垚鍔� public int failTotal ;//鎵�鏈夊け璐ワ紙涓�鍖呮澶辫触+澶氬寘姝诲け璐�+绂荤嚎澶辫触锛� - public int failOneTotal ;//鎵�鏈変竴鍖呮澶辫触 + public int dieOneTotal;//鎵�鏈変竴鍖呮 + public int dieMultiTotal;//鎵�鏈夊鍖呮 public int failOffTotal ;//鎵�鏈夌绾垮け璐� + public int failOpenTotal ;//鎵�鏈夐榾寮�澶辫触 public Boolean allOver ;//鎵�鏈夐兘缁撴潫锛坱rue:鏄紝false:鍚︼級 @@ -34,8 +36,10 @@ this.overTotal = 0; this.successTotal = 0; this.failTotal = 0; - this.failOneTotal = 0; + this.dieOneTotal = 0; + this.dieMultiTotal = 0; this.failOffTotal = 0; + this.failOpenTotal = 0; this.allOver = false ; } @@ -49,8 +53,10 @@ sb.append(" \n宸茬粨鏉熸�绘暟锛�" + overTotal) ; sb.append(" \n鎴愬姛鎬绘暟锛�" + successTotal) ; sb.append(" \n澶辫触鎬绘暟锛�" + failTotal) ; - sb.append(" \n1鍖呮澶辫触鎬绘暟锛�" + failOneTotal) ; + sb.append(" \n涓�鍖呮澶辫触鎬绘暟锛�" + dieOneTotal) ; + sb.append(" \n澶氬寘姝诲け璐ユ�绘暟锛�" + dieMultiTotal) ; sb.append(" \n绂荤嚎澶辫触鎬绘暟锛�" + failOffTotal) ; + sb.append(" \n闃�寮�澶辫触鎬绘暟锛�" + failOpenTotal) ; sb.append(" \n鍏ㄧ粨鏉燂細" + allOver) ; return sb.toString() ; } -- Gitblit v1.8.0