From a3c8c9c0ab3d680bf9f4ee2add2593fd2108441f Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 12 十一月 2024 19:37:48 +0800 Subject: [PATCH] 通信中间件配置文件恢复到最初配置 --- pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/resources/config.xml | 100 +++++++++++++++++++++++++------------------------ 1 files changed, 51 insertions(+), 49 deletions(-) diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/resources/config.xml b/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/resources/config.xml index b441dce..d004b59 100644 --- a/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/resources/config.xml +++ b/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/resources/config.xml @@ -20,24 +20,26 @@ cacheUpDownDataMaxCount锛氫笂涓嬭鏁版嵁缂撳瓨闃熷垪涓紦瀛樻暟鎹釜鏁扮殑鏈�澶у�硷紝杩欎釜涓庣幇瀹為」鐩墍鎺ユ按琛ㄦ暟鐩稿叧 disconnectedByNoUpDataMinutes锛氭病鏈変笂琛屾暟鎹殑鍒嗛挓鏁帮紝杈惧埌杩欎釜鍒嗛挓鏁帮紝璁や负RTU鏂綉浜嗭紝鍙栧�艰寖鍥存槸2-100 workReportDealOneByTimes: 宸ヤ綔鎶ュお棰戠箒锛孨娆′笂鎶ュ鐞�1娆★紝鍙栧�艰寖鍥存槸1-100 + intakeAlarmLossMinValue: 瑙﹀彂鍙戦�侀拤閽夋姤璀︽秷鎭殑鍙栨按鍙f棩婕忔崯閲忕殑鏈�灏忓�硷紙鍖呮嫭浣嗛櫎0.0澶栵級锛堝皬鏁帮級 sendDingDingAlarmMsInterval: 鏈夋姤璀﹀彂鐢熸椂锛屽悜閽夐拤鍙戦�佹秷鎭殑闂撮殧鏃堕暱锛堝垎閽燂級 --> <base - orgTag="ym" - isLowPower="false" - onlyDealRtus="" - onlyOneProtocol="false" - downComandMaxResendTimes="1" - commandSendInterval="2" - cachWaitResultTimeout="120" - offLineCachTimeout="86400" - lastUpDataTimeLive="500" - dbDataIdSuffix="0" - cacheUpDownDataWarnCount="100000" - cacheUpDownDataMaxCount="110000" - disconnectedByNoUpDataMinutes="3" - workReportDealOneByTimes="5" - sendDingDingAlarmMsInterval="60" + orgTag="ym" + isLowPower="false" + onlyDealRtus="" + onlyOneProtocol="false" + downComandMaxResendTimes="1" + commandSendInterval="10" + cachWaitResultTimeout="120" + offLineCachTimeout="86400" + lastUpDataTimeLive="500" + dbDataIdSuffix="0" + cacheUpDownDataWarnCount="100000" + cacheUpDownDataMaxCount="110000" + disconnectedByNoUpDataMinutes="3" + workReportDealOneByTimes="5" + intakeAlarmLossMinValue="1.0" + sendDingDingAlarmMsInterval="60" /> <!-- @@ -47,24 +49,24 @@ synchroRtuClockTimepieces锛氬綋RTU涓庢湇鍔″櫒鏃堕挓鐩稿樊涓�瀹氭绉掞紙閰嶇疆鏂囦欢鏄閽燂級鍚庯紝杩涜鏍℃椂 --> <protocol - centerAddr="1" - synchroRtuClock="true" - synchroRtuClockTimepieces="300000" + centerAddr="1" + synchroRtuClock="true" + synchroRtuClockTimepieces="300000" /> - - <!-- 2024-10-08 姝ら厤缃殏鏃舵湭搴旂敤 - 杞欢鍗囩骇 --> - <updateRtuSoft enable="true"> - <soft1 enable="true" oldVersionName="meter_v2_0,meter_v1_0" > - <newVersion newVersionName="meter_v3_0" file="rtuSoft/meter_v3_0.txt"></newVersion> - </soft1> - <!-- - <soft2 enable="false" oldVersionName="rtu_v1_0,rtu_v2_0,rtu_v3_0" > - <newVersion newVersionName="rtu_v4_0" file="rtuSoft/rtu_v4_0.txt"></newVersion> - </soft2> - --> - </updateRtuSoft> + <!-- RTU 杞欢鍗囩骇 + enable: 妯″潡鏄惁鍚姩 + failTryTimes锛氬崌绾уけ璐ュ悗锛堥拡瀵圭殑鏄湪绾胯繘琛屼簡鍗囩骇涓嬪彂鍛戒护锛夛紝閲嶆柊鍋胯瘯鍗囩骇娆℃暟锛屽綋璁剧疆涓�0鏃惰〃绀轰笉閲嶆柊鍋胯瘯鍗囩骇 + ugMaxRtuAtOnce锛氫负浜嗙紦瑙i�氫俊涓棿浠剁殑鍘嬪姏锛屽悓鏃舵敮鎸佸崌绾х殑RTU鍙版暟锛屽綋璁剧疆涓�0鏃惰〃绀轰笉鍙楅檺鍒� + rtuOffLineWaitDuration: rtu绂荤嚎锛岀瓑寰呭叾鍗囩骇鐨勬椂闀匡紙绉掞級锛岃秴杩囪繖涓椂闂达紝璁剧疆鍏跺崌绾уけ璐ワ紝涓旇缃崌绾т换鍔″畬鎴� + notifyStateInterval: 鍗囩骇鐘舵�侀�氱煡闂撮殧锛堢锛� + --> + <upgrade enable="true" + failTryTimes="1" + ugMaxRtuAtOnce="1000" + rtuOffLineWaitDuration="1200" + notifyStateInterval="2" + /> <!-- 鏀寔妯″潡 @@ -81,15 +83,15 @@ enableThreadPool锛氭槸鍚﹀惎鐢ㄧ嚎绋嬫睜 --> <support - short_maxThread="6" - short_minThread="6" - short_freeTimeout="60" - short_busyTimeout="5" - long_maxThread="6" - long_minThread="6" - long_freeTimeout="60" - long_busyTimeout="-1" - enableThreadPool="true" + short_maxThread="6" + short_minThread="6" + short_freeTimeout="60" + short_busyTimeout="5" + long_maxThread="6" + long_minThread="6" + long_freeTimeout="60" + long_busyTimeout="-1" + enableThreadPool="true" /> <!-- @@ -101,11 +103,11 @@ saveDbInterval锛歊tu鐘舵�佸瓨鏁版嵁搴撻棿闅�(鍒嗛挓) --> <resource - rtuLogDir="rtuLogs/" - rtuLogFileMaxSize="100000" - rtuLogFileMaxCount="2" - monitorInterval="2" - saveDbInterval="10" + rtuLogDir="rtuLogs/" + rtuLogFileMaxSize="100000" + rtuLogFileMaxCount="2" + monitorInterval="2" + saveDbInterval="10" /> @@ -126,10 +128,10 @@ queueMaxSize: 缂撳瓨闃熷垪鑺傜偣鏁版渶澶ф暟閲� --> <core - sleepBigBusy="100" - sleepSmallBusy="500" - queueWarnSize="100000" - queueMaxSize="300000" + sleepBigBusy="100" + sleepSmallBusy="500" + queueWarnSize="100000" + queueMaxSize="300000" /> <!-- -- Gitblit v1.8.0