liurunyu
2024-11-01 2d7e68fe5ee063d3eab95f0720b4a117e7b67a99
pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/resources/config.xml
@@ -20,24 +20,26 @@
    cacheUpDownDataMaxCount:上下行数据缓存队列中缓存数据个数的最大值,这个与现实项目所接水表数相关
    disconnectedByNoUpDataMinutes:没有上行数据的分钟数,达到这个分钟数,认为RTU断网了,取值范围是2-100
    workReportDealOneByTimes: 工作报太频繁,N次上报处理1次,取值范围是1-100
    intakeAlarmLossMinValue: 触发发送钉钉报警消息的取水口日漏损量的最小值(包括但除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="2"
         cachWaitResultTimeout="120"
         offLineCachTimeout="86400"
         lastUpDataTimeLive="500"
         dbDataIdSuffix="0"
         cacheUpDownDataWarnCount="100000"
         cacheUpDownDataMaxCount="110000"
         disconnectedByNoUpDataMinutes="3"
         workReportDealOneByTimes="5"
         intakeAlarmLossMinValue="1.0"
         sendDingDingAlarmMsInterval="60"
   />
   <!--
@@ -47,9 +49,9 @@
    synchroRtuClockTimepieces:当RTU与服务器时钟相差一定毫秒(配置文件是秒钟)后,进行校时
     -->
   <protocol
      centerAddr="1"
      synchroRtuClock="true"
      synchroRtuClockTimepieces="300000"
         centerAddr="1"
         synchroRtuClock="true"
         synchroRtuClockTimepieces="300000"
   />
@@ -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:Rtu状态存数据库间隔(分钟)
     -->
   <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"
   />
   <!--