pipIrr-platform/pipIrr-global/src/main/resources/application-database.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pipIrr-platform/pipIrr-global/src/main/resources/application-global(sp沙盘系统).yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pipIrr-platform/pipIrr-global/src/main/resources/application-global(test测试系统).yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pipIrr-platform/pipIrr-global/src/main/resources/application-global(ym元谋系统).yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pipIrr-platform/pipIrr-global/src/main/resources/application-global(开发测试---166PC机).yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pipIrr-platform/pipIrr-global/src/main/resources/application-global.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/resources/application-database(sp沙盘).yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/resources/config(sp沙盘).xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
pipIrr-platform/pipIrr-global/src/main/resources/application-database.yml
@@ -4,5 +4,5 @@ main: allow-bean-definition-overriding: true #设置为trueæ¶ï¼åå®ä¹çbeanä¼è¦çä¹åå®ä¹çç¸ååç§°çbean datasource: #é ç½®æ°æ®æº #å¤ä¸ªæ°æ®æºåç§°å¨æ¤é ç½®ï¼è¦æ±ä¸springãdatasourceã[ym][sp]ä¸çä¸è´ names: ym #å¤ä¸ªæ°æ®æºåç§°å¨æ¤é ç½®ï¼è¦æ±ä¸springãdatasourceã[ym][sp][test]ä¸çä¸è´ names: ym,sp,test pipIrr-platform/pipIrr-global/src/main/resources/application-global(spɳÅÌϵͳ).yml
New file @@ -0,0 +1,383 @@ spring: servlet: multipart: # å端ä¸ä¼ æä»¶ï¼éå¶å个æä»¶ç大å°åéå¶æææä»¶çå¤§å° max-file-size: 500MB max-request-size: 5000MB logging: charset: console: UTF-8 config: classpath: log4j2.yml #ç¦ç¨ç½æ éè¯¯é¡µé¢ server: error: whitelabel: enabled: false #servleté ç½® servlet: encoding: #åæ¶é»è®¤çå符éç¼ç enabled: true #设置强å¶ä½¿ç¨æå®å符ç¼ç é force: true #使ç¨çå符ç¼ç charset: utf-8 # actuatoré ç½®ï¼å includeäºå ¨é¨ï¼ç¶ååexcludeæå®çendpoint management: endpoints: web: exposure: include: '*' #exclude: beans .shutdown: enabled: true #æ¯å¦å¼å¯/actuator/shutdown # SpringDoc-OpenApi é ç½® springdoc: swagger-ui: #åºç¨actuatoræ¶ï¼è®¿é®: http://[IP]:[port]/actuator/swagger-ui/index.html ä¾å¦http://127.0.0.1:9080/actuator/swagger-ui/index.html #æªç¨actuatoræ¶ï¼è®¿é®: http://[IP]:[port]/[context]/swagger-ui/index.html ä¾å¦http://127.0.0.1:8080/[åç³»ç»ä¸ä¸æï¼baseï¼]/swagger-ui/index.html path: /swagger-ui operationsSorter: method # HTTP æ¹æ³æåº tagsSorter: alpha # API æåº api-docs: path: /v3/apiDocs groups: enabled: true show-actuator: true #å¨actuatoré ç½®ç端å£åä¸ä¸æä¸è®¿é® SpringDoc-OpenApi use-management-port: true #åºç¨actuatoré ç½®ç端å£ï¼ä½ä¸é¢çswagger-ui:pathåªä¼éç¨é»è®¤å¼swagger-ui packages-to-scan: com.dy #paths-to-match: /sys/**, /demo/**, /** paths-to-match: /** web: title: å¤§ç¦¹èæ°´ç®¡ççæ§ç³»ç»API description: å¤§ç¦¹èæ°´ç®¡ççæ§ç³»ç»æå¡ç«¯ Restfull API version: v1.0.0 license-name: å¤§ç¦¹èæ°´ç ç©¶é¢ #MybatisPlus é ç½®æ¥å¿æ¾ç¤ºæ§è¡SQL mybatis-plus: #å¹é sqlè¯å¥çæ å°æä»¶çä½ç½®ï¼classpath代表å¨resourcesä¸ mapper-locations: classpath:mapper/*.xml #以ä¸ä¸¤ä¸ªé ç½®å¯ä»¥çç¥ï¼å¨mapperæ å°æä»¶ä¸é ç½®â@Mapperâ乿¯å¯ä»¥çã #使ç¨type-aliases-package䏿å®entityæ«æå è·¯å¾ï¼è®©mybatisèªå¨æ«æèªå®ä¹çentity #type-aliases-package: com.dy.pipIrrGlobal.daoBa configuration: #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #æ¶èè¾åºæ¥å¿ï¼æ¶èä¸è¾åºæ¥å¿ log-impl: org.apache.ibatis.logging.log4j2.Log4j2Impl #å¼å¯é©¼å³°uNameèªå¨æ å°å°u_name #2023-10-24ç»å®éªï¼ä¸é¢é ç½®trueæfalseï¼é½è½ä»u_nameæ å°å°uName #map-underscore-to-camel-case: true lazyLoadingEnabled: true # å¼å¯å»¶æ¶å è½½å¼å ³ aggressiveLazyLoading: false # å°ç§¯æå è½½æ¹ä¸ºæ¶æå è½½ï¼å³æéå è½½ï¼ï¼é»è®¤å¼æ¯false lazy-load-trigger-methods: "" # 黿¡ä¸ç¸å¹²çæä½è§¦åï¼å®ç°æå è½½ cache-enabled: true #æå¼å ¨å±ç¼åå¼å ³ï¼äºçº§ç¯å¢ï¼ï¼é»è®¤å¼æ¯true default-enum-type-handler: com.dy.common.mybatis.envm.EnumCodeTypeHandler pipIrr: global: dev: false #æ¯å¦å¼åé¶æ®µï¼trueæfalse dsName: ym #å¼åé¶æ®µï¼è®¾ç½®ä¸´æ¶çæ°æ®åºåç§° nginx: webPort: 54321 mw: webPort: 8073 #éä¿¡ä¸é´ä»¶ä¸åºç¨ï¼ä¸è½å¨web模åç³»ç»ä¸åºç¨ actutorPort: 9073 #éä¿¡ä¸é´ä»¶ä¸åºç¨ï¼ä¸è½å¨web模åç³»ç»ä¸åºç¨ idSuffix: 0 sso: cacheMaximumSize: 10000 #ç»å½ç¨æ·ç¼åå¯ç¼åç¨æ·çæå¤§å¼ cacheDuration: 720 #ç¼åç»å½ç¨æ·ååæå¤§æ¶é¿ï¼åéï¼ checkUrl: http://127.0.0.1:8079/sso/sso/ssoCheck webPort: 8079 actutorPort: 9079 idSuffix: 1 base: webPort: 8080 actutorPort: 9080 idSuffix: 2 remote: webPort: 8081 actutorPort: 9081 idSuffix: 3 statistics: webPort: 8082 actutorPort: 9082 idSuffix: 4 gis: webPort: 8083 actutorPort: 9083 idSuffix: 5 demo: webPort: 8000 actutorPort: 9000 idSuffix: 99 sell: webPort: 8084 actutorPort: 9084 idSuffix: 6 project: webPort: 8085 actutorPort: 9085 idSuffix: 7 irrigate: webPort: 8086 actutorPort: 9086 idSuffix: 8 wechat: webPort: 8087 actutorPort: 9087 idSuffix: 9 app: webPort: 8088 actutorPort: 9088 idSuffix: 10 operation: webPort: 8089 actutorPort: 9089 idSuffix: 11 file: idSuffix: 99 file1: webPort: 8180 actutorPort: 9180 file2: webPort: 8180 actutorPort: 9180 file3: webPort: 8180 actutorPort: 9180 file4: webPort: 8180 actutorPort: 9180 file5: webPort: 8180 actutorPort: 9180 file6: webPort: 8180 actutorPort: 9180 file7: webPort: 8180 actutorPort: 9180 file8: webPort: 8180 actutorPort: 9180 file9: webPort: 8180 actutorPort: 9180 file10: webPort: 8180 actutorPort: 9180 file11: webPort: 8180 actutorPort: 9180 file12: webPort: 8180 actutorPort: 9180 #webåå¸å¼æä»¶ç³»ç» dy: photoZipWidth: 400 #缩ç¥å¾å°ºå¯¸ webFile: fmUrl: http://127.0.0.1:${pipIrr.file1.webPort}/file # fmçwebä¸ä¸æ URL supportedFileTypes: docx,xlsx,doc,xls,pdf #æ¯æçææ¡£ï¼éåªä½æä»¶ï¼å¦ç §çãå½é³ãå½åï¼æä»¶ç±»å sv1: id: dyFile1 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ relativePath: webFile1 hashStart: 0 hashEnd: 5461 restUrl: http://127.0.0.1:${pipIrr.file1.webPort}/file #fileæ¯ä¸ä¸æ,ip为å±åç½ipææ¬å°IP webUrl: http://127.0.0.1:${pipIrr.nginx.webPort}/webfiles/ #nginxæå¡è·¯å¾,å®è£ é¨ç½²æ¶IPæ¹æå¤ç½IPæåå webDownloadPath: http://127.0.0.1:${pipIrr.file1.webPort}/file/download/down?id= #å®è£ é¨ç½²æ¶IPæ¹æå¤ç½IPæåå sv2: id: dyFile2 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ relativePath: webFile2 hashStart: 5462 hashEnd: 10923 restUrl: http://127.0.0.1:${pipIrr.file2.webPort}/file webUrl: http://127.0.0.1:${pipIrr.nginx.webPort}/webfiles/ webDownloadPath: http://127.0.0.1:${pipIrr.file2.webPort}/file/download/down?id= sv3: id: dyFile3 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ relativePath: webFile3 hashStart: 10924 hashEnd: 16385 restUrl: http://127.0.0.1:${pipIrr.file3.webPort}/file webUrl: http://127.0.0.1:${pipIrr.nginx.webPort}/webfiles/ webDownloadPath: http://127.0.0.1:${pipIrr.file3.webPort}/file/download/down?id= sv4: id: dyFile4 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ relativePath: webFile4 hashStart: 16386 hashEnd: 21847 restUrl: http://127.0.0.1:${pipIrr.file4.webPort}/file webUrl: http://127.0.0.1:${pipIrr.nginx.webPort}/webfiles/ webDownloadPath: http://127.0.0.1:${pipIrr.file4.webPort}/file/download/down?id= sv5: id: dyFile5 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ relativePath: webFile5 hashStart: 21848 hashEnd: 27309 restUrl: http://127.0.0.1:${pipIrr.file5.webPort}/file webUrl: http://127.0.0.1:${pipIrr.nginx.webPort}/webfiles/ webDownloadPath: http://127.0.0.1:${pipIrr.file5.webPort}/file/download/down?id= sv6: id: dyFile6 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ relativePath: webFile6 hashStart: 27310 hashEnd: 32767 restUrl: http://127.0.0.1:${pipIrr.file6.webPort}/file webUrl: http://127.0.0.1:${pipIrr.nginx.webPort}/webfiles/ webDownloadPath: http://127.0.0.1:${pipIrr.file6.webPort}/file/download/down?id= sv7: id: dyFile7 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ relativePath: webFile7 hashStart: 32768 hashEnd: 38229 restUrl: http://127.0.0.1:${pipIrr.file7.webPort}/file webUrl: http://127.0.0.1:${pipIrr.nginx.webPort}/webfiles/ webDownloadPath: http://127.0.0.1:${pipIrr.file7.webPort}/file/download/down?id= sv8: id: dyFile8 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ relativePath: webFile8 hashStart: 38230 hashEnd: 43691 restUrl: http://127.0.0.1:${pipIrr.file8.webPort}/file webUrl: http://127.0.0.1:${pipIrr.nginx.webPort}/webfiles/ webDownloadPath: http://127.0.0.1:${pipIrr.file8.webPort}/file/download/down?id= sv9: id: dyFile9 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ relativePath: webFile9 hashStart: 43692 hashEnd: 49153 restUrl: http://127.0.0.1:${pipIrr.file9.webPort}/file webUrl: http://127.0.0.1:${pipIrr.nginx.webPort}/webfiles/ webDownloadPath: http://127.0.0.1:${pipIrr.file9.webPort}/file/download/down?id= sv10: id: dyFile10 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ relativePath: webFile10 hashStart: 49154 hashEnd: 54615 restUrl: http://127.0.0.1:${pipIrr.file10.webPort}/file webUrl: http://127.0.0.1:${pipIrr.nginx.webPort}/webfiles/ webDownloadPath: http://127.0.0.1:${pipIrr.file10.webPort}/file/download/down?id= sv11: id: dyFile11 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ relativePath: webFile11 hashStart: 54616 hashEnd: 60077 restUrl: http://127.0.0.1:${pipIrr.file11.webPort}/file webUrl: http://127.0.0.1:${pipIrr.nginx.webPort}/webfiles/ webDownloadPath: http://127.0.0.1:${pipIrr.file11.webPort}/file/download/down?id= sv12: id: dyFile12 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ relativePath: webFile12 hashStart: 60078 hashEnd: 65535 restUrl: http://127.0.0.1:${pipIrr.file12.webPort}/file webUrl: http://127.0.0.1:${pipIrr.nginx.webPort}/webfiles/ webDownloadPath: http://127.0.0.1:${pipIrr.file12.webPort}/file/download/down?id= #项ç®ç¼å· #projectCode: # ym: 100 # sp: 101 #项ç®é ç½® project: #项ç®ç¼ç projectNo: 10 #æ§å¶å¨ç±»å controllerType: 57 #é»è®¤è¡æ¿åºåç¼ç ï¼å¤©æ´¥-天津å¸-æ¦æ¸ åº-京滨工ä¸å-å¤§ç¦¹èæ°´ï¼ divisionCode: 120114403100 #é讯ä¸é´ä»¶ç¸å ³é ç½® #protocol: DYJS_2023,DYJS_2024 mw: #å½ä»¤åéå°å(ä¸ç¼æ¯æºætagï¼å ¶ä¹æ¯æ°æ®æºåç¼åç§°) ym: comSendUrl: "http://127.0.0.1:8070/rtuMw/com/send" rtuLogFileUrl: "http://127.0.0.1:8070/rtuMw/com/rtuLogFile" rtuLogTextUrl: "http://127.0.0.1:8070/rtuMw/com/rtuLogText" sp: comSendUrl: "http://127.0.0.1:8071/rtuMw/com/send" rtuLogFileUrl: "http://127.0.0.1:8071/rtuMw/com/rtuLogFile" rtuLogTextUrl: "http://127.0.0.1:8071/rtuMw/com/rtuLogText" test: comSendUrl: "http://127.0.0.1:8072/rtuMw/com/send" rtuLogFileUrl: "http://127.0.0.1:8072/rtuMw/com/rtuLogFile" rtuLogTextUrl: "http://127.0.0.1:8072/rtuMw/com/rtuLogText" #çæµæ§å¶æ¨¡ååè°å°å rtuCallbackUrl_rm: "http://127.0.0.1:8081/remote/comRes/receive" #微信å°ç¨åºåè°å°å rtuCallbackUrl_wx: "http://127.0.0.1:8087/wx/comRes/receive" #ä¸è¿è¡userTokenè¿æ»¤çURLï¼@ConfigurationPropertiesè¦æ±tokennofilter䏿æåæ¯é½å°å tokennofilter: urls: - /sso/sso - /remote/comRes/receive - /wx/comRes/receive - /app/captcha/get - /file/file #webåå¸å¼æä»¶ç³»ç» #èªå¨ç»è®¡é ç½®ï¼èªå¨ç»è®¡å®æ¶ä»»å¡ä¼æ¯å¤©å®æ¶è¿è¡ auto-statistics: startHour: 0 #å¼å§å°æ¶ 0 startMinute: 5 #å¼å§åé 5 #ééæ¶æ¯æ¨é dingtalk: ym: enable: true #æ¯å¦å¯ç¨ robot: url: https://oapi.dingtalk.com/robot/send access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7 at-all: true mobile: 18602657034 sp: enable: true #æ¯å¦å¯ç¨ robot: url: https://oapi.dingtalk.com/robot/send access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7 at-all: true mobile: 18602657034 test: enable: true #æ¯å¦å¯ç¨ robot: url: https://oapi.dingtalk.com/robot/send access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7 at-all: true mobile: 18602657034 #éæ§å¨åæ° rtu: batteryVolt: 17 signalIntensity: weak: 10 ordinary: 20 # strong: 20 #èæå¡é ç½®åæ° vc: #èæå¡æä½ä½é¢æ¥è¦å¼ alarmValue: 10 pipIrr-platform/pipIrr-global/src/main/resources/application-global(test²âÊÔϵͳ).yml
@@ -1,3 +1,9 @@ spring: servlet: multipart: # å端ä¸ä¼ æä»¶ï¼éå¶å个æä»¶ç大å°åéå¶æææä»¶çå¤§å° max-file-size: 500MB max-request-size: 5000MB logging: charset: console: UTF-8 @@ -76,8 +82,8 @@ nginx: webPort: 54321 mw: webPort: 8072 actutorPort: 9072 webPort: 8072 #éä¿¡ä¸é´ä»¶ä¸åºç¨ï¼ä¸è½å¨web模åç³»ç»ä¸åºç¨ actutorPort: 9072 #éä¿¡ä¸é´ä»¶ä¸åºç¨ï¼ä¸è½å¨web模åç³»ç»ä¸åºç¨ idSuffix: 0 sso: cacheMaximumSize: 10000 #ç»å½ç¨æ·ç¼åå¯ç¼åç¨æ·çæå¤§å¼ pipIrr-platform/pipIrr-global/src/main/resources/application-global(ymԪıϵͳ).yml
@@ -1,3 +1,9 @@ spring: servlet: multipart: # å端ä¸ä¼ æä»¶ï¼éå¶å个æä»¶ç大å°åéå¶æææä»¶çå¤§å° max-file-size: 500MB max-request-size: 5000MB logging: charset: console: UTF-8 @@ -76,8 +82,8 @@ nginx: webPort: 54321 mw: webPort: 8070 actutorPort: 9070 webPort: 8070 #éä¿¡ä¸é´ä»¶ä¸åºç¨ï¼ä¸è½å¨web模åç³»ç»ä¸åºç¨ actutorPort: 9070 #éä¿¡ä¸é´ä»¶ä¸åºç¨ï¼ä¸è½å¨web模åç³»ç»ä¸åºç¨ idSuffix: 0 sso: cacheMaximumSize: 10000 #ç»å½ç¨æ·ç¼åå¯ç¼åç¨æ·çæå¤§å¼ pipIrr-platform/pipIrr-global/src/main/resources/application-global(¿ª·¢²âÊÔ---166PC»ú).yml
@@ -1,3 +1,9 @@ spring: servlet: multipart: # å端ä¸ä¼ æä»¶ï¼éå¶å个æä»¶ç大å°åéå¶æææä»¶çå¤§å° max-file-size: 500MB max-request-size: 5000MB logging: charset: console: UTF-8 @@ -76,8 +82,8 @@ nginx: webPort: 54321 mw: webPort: 8070 actutorPort: 9070 webPort: 8070 #éä¿¡ä¸é´ä»¶ä¸åºç¨ï¼ä¸è½å¨web模åç³»ç»ä¸åºç¨ actutorPort: 9070 #éä¿¡ä¸é´ä»¶ä¸åºç¨ï¼ä¸è½å¨web模åç³»ç»ä¸åºç¨ idSuffix: 0 sso: cacheMaximumSize: 10000 #ç»å½ç¨æ·ç¼åå¯ç¼åç¨æ·çæå¤§å¼ pipIrr-platform/pipIrr-global/src/main/resources/application-global.yml
@@ -82,8 +82,8 @@ nginx: webPort: 54321 mw: webPort: 8070 actutorPort: 9070 webPort: 8070 #éä¿¡ä¸é´ä»¶ä¸åºç¨ï¼ä¸è½å¨web模åç³»ç»ä¸åºç¨ actutorPort: 9070 #éä¿¡ä¸é´ä»¶ä¸åºç¨ï¼ä¸è½å¨web模åç³»ç»ä¸åºç¨ idSuffix: 0 sso: cacheMaximumSize: 10000 #ç»å½ç¨æ·ç¼åå¯ç¼åç¨æ·çæå¤§å¼ pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/resources/application-database(spɳÅÌ).yml
New file @@ -0,0 +1,17 @@ # æ°æ®æºé ç½® spring: datasource: #é ç½®æ°æ®æº type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/pipIrr_sp?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull username: root password: dysql,;.abc!@# druid: #æ°æ®æºåç§°ï¼å½åå¨å¤ä¸ªæ°æ®æºæ¶ï¼è®¾ç½®ååå¯ä»¥å¾æ¹ä¾¿çæ¥è¿è¡åºå,é»è®¤èªå¨çæåç§°ï¼æ ¼å¼æ¯ï¼"DataSource-" + System.identityHashCode(this) #name: name: druid-mysql-mw-rtu åæ°æ®æºä¸èµ·ä½ç¨ï¼æä»¥æ³¨éæ #é ç½®åå§å大å°ãæå°ãæå¤§ initialSize: 10 minIdle: 10 maxActive: 200 # è·åè¿æ¥æ¶æå¤§çå¾ æ¶é´,å使¯«ç§ãé ç½®äºmaxWaitä¹å,缺çå¯ç¨å ¬å¹³é,å¹¶åæç伿æä¸é,妿éè¦å¯ä»¥éè¿é ç½®useUnfairLock屿§ä¸ºtrue使ç¨éå ¬å¹³é maxWait: 60000 pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/resources/config(spɳÅÌ).xml
New file @@ -0,0 +1,148 @@ <?xml version="1.0" encoding="UTF-8"?> <config> <server name="éä¿¡ä¸é´ä»¶" showStartInfo="true" company="http://www.dyjs.com"/> <!-- åºæ¬é ç½® orgTag æºætag(å¯¹åºæºætag,åæ°æ®æºåç¼) isLowPower: æ¯å¦ä¸ºä½åè onlyDealRtus:åªå¤çæå®RTUå°å设å¤ï¼å ¶ä»è®¾å¤æ°æ®ä¸¢å¼ï¼å¤ä¸ªRTUå°åç¨è±æéå·éå¼ï¼ onlyOneProtocolï¼å¨æ¯æå¤éä¿¡åè®®æ¶ï¼åªæRTUä¸çº¿äºï¼æè½è¯å«åºè¯¥RTUå®é ç¨çéä¿¡åè®®ï¼è¿èç¨æ¤å议解æä¸è¡æ°æ®åæé ä¸è¡å½ä»¤ã 妿RTUæªæ¾ä¸çº¿ï¼éä¿¡ä¸é´ä»¶å¯å¨å该RTUæªæ¾ä¸çº¿ï¼ï¼é£ä¹å¨åå®åéä¸è¡å½ä»¤æ¶ï¼ä¸è½å¤æåºå ¶éç¨çåè®®ï¼ä¹ä¸è½æé å½ä»¤ï¼å°¤å ¶æ¯ä½åèæ åµä¸ï¼ä¸ä¸çº¿æ¯æ£å¸¸ç°è±¡ã å½åªæä¸ä¸ªåè®®æ åµä¸ï¼å¨RTUæªæ¾ä¸çº¿æ¶ï¼ä¹è½ç¨æ¤åè®®æé å½ä»¤å¹¶ç¼å䏿¥ï¼å°¤å ¶éåä½åèæ åµã onlyOneProtocol=true: éä¿¡ä¸é´ä»¶å½ååªæä¸ä¸ªåè®® downComandMaxResendTimes: ä¸è¡å½ä»¤å 许åéçæå¤§æ¬¡æ°Xï¼å³å 许éåX-1 commandSendInterval: é对ä¸ä¸ªRTUï¼ä¸åå½ä»¤çæ¶é´é´é(ç§) cachWaitResultTimeout: å½ä»¤å·²ç»åéè¾¾æå¤§æ¬¡æ°ï¼ä»æªæ¶å°å½ä»¤ç»æï¼éè¦å¨ç¼åç»§ç»çå¾ ï¼å ¶çå¾ æå¤§æ¶é¿(ç§)ï¼æ¬ç³»ç»RTUï¼å¯¹äºå¼å ³æ³µå½ä»¤ï¼å ¶å æ§è¡å¼å ³æ³µæ¥ï¼ç¶ååè¿è¡å½ä»¤åºçï¼æä»¥æ¤å¼ è¦å¤§ä¸äº offLineCachTimeout: ä¸å¨çº¿ç¼åçå½ä»¤æå¤§ç¼åæ¶é¿(ç§) lastUpDataTimeLive: TCPä¸è¡æ°æ®æ¶å»ç¼åæ¶é¿(毫ç§)ï¼å½è¾¾å°æ¶é¿æ¶ï¼TCPä¸è¡æ°æ®æ¶å»è¢«æ¸ 空ï¼éç¨TCPä¸è¡æ°æ®æ¶å»ç®çæ¯ï¼é»æ¢ä¸è¡æ°æ®åæ¶ä¸åæ°æ®ï¼å 为RTUå¤çä¸è¿æ¥(ç»å次å®éªï¼1ç§è¿æ¯æé®é¢ï¼2ç§æ é®é¢) dbDataIdSuffixï¼æ°æ®åºæ°æ®idçæå¨çidåç¼ï¼0æ¯é»è®¤çåç¼ï¼ä¸è¬webç³»ç»åºç¨ï¼æ°æ®ä¸é´ä»¶idåç¼å¤§äºçäº1 cacheUpDownDataWarnCountï¼ä¸ä¸è¡æ°æ®ç¼åéåä¸ç¼åæ°æ®ä¸ªæ°çæ¥è¦éï¼è¿ä¸ªä¸ç°å®é¡¹ç®ææ¥æ°´è¡¨æ°ç¸å ³ cacheUpDownDataMaxCountï¼ä¸ä¸è¡æ°æ®ç¼åéåä¸ç¼åæ°æ®ä¸ªæ°çæå¤§å¼ï¼è¿ä¸ªä¸ç°å®é¡¹ç®ææ¥æ°´è¡¨æ°ç¸å ³ disconnectedByNoUpDataMinutesï¼æ²¡æä¸è¡æ°æ®çåéæ°ï¼è¾¾å°è¿ä¸ªåéæ°ï¼è®¤ä¸ºRTUæç½äºï¼åå¼èå´æ¯2-100 workReportDealOneByTimes: 工使¥å¤ªé¢ç¹ï¼Næ¬¡ä¸æ¥å¤ç1次ï¼åå¼èå´æ¯1-100 intakeAlarmLossMinValue: 触ååéééæ¥è¦æ¶æ¯çåæ°´å£æ¥æ¼æéçæå°å¼ï¼å æ¬ä½é¤0.0å¤ï¼ï¼å°æ°ï¼ sendDingDingAlarmMsInterval: ææ¥è¦åçæ¶ï¼åééåéæ¶æ¯çé´éæ¶é¿ï¼åéï¼ --> <base orgTag="sp" 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" /> <!-- 2024-08-22 æ¤é ç½®ææ¶æªåºç¨ centerAddr: ä¸å¿å°åï¼å½åï¼centerAddræªç¨å° synchroRtuClock: æ¯å¦å¯¹RTUæ ¡æ¶ synchroRtuClockTimepiecesï¼å½RTU䏿å¡å¨æ¶éç¸å·®ä¸å®æ¯«ç§ï¼é ç½®æä»¶æ¯ç§éï¼åï¼è¿è¡æ ¡æ¶ --> <protocol 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> <!-- æ¯ææ¨¡å ç工使¶é¿çº¿ç¨æ± ï¼çº¿ç¨è´è´£ç¨æ¶è¾ççå·¥ä½ä»»å¡ short_maxThreadï¼ æ± ä¸æå¤§çº¿ç¨æ°ä¸ºææCPUæ ¸æ°+1ï¼shortæ± ä¸longæ± ååä¸åï¼ï¼è¥ä¸º-1ï¼ä¸åéå¶ ï¼è®¾ç½®ä¸º0ï¼è¡¨ç¤ºä¸å¯å¨çº¿ç¨æ± short_minThreadï¼ æ± ä¸æå°çº¿ç¨æ°ï¼è¥ä¸º-1ï¼ä¸åéå¶ï¼è®¾ç½®ä¸º0ï¼è¡¨ç¤ºä¸å¯å¨çº¿ç¨æ± short_freeTimeoutï¼ çº¿ç¨æ°ç©ºé²æ¶é¿ï¼è¥æ± ä¸çº¿ç¨æ°é大äºminThreadï¼ä¸æç线ç¨ç©ºé²æ¶é¿è¶ è¿freeTimeoutï¼åæ¸ é¤è¯¥çº¿ç¨ï¼ä¸ºäºä¸æ¸ é¤ï¼æminThreadä¸maxThread设置ç¸ç short_busyTimeoutï¼çº¿ç¨ä¸é´æå·¥ä½æ¶é¿ï¼åä½ä¸ºç§)è¶ æ¶éï¼è®¤ä¸ºçº¿ç¨å·²ç»äºå´©æºï¼å°å¼ºå¶æ¸ é¤ï¼ç工使¶é¿è®¾ç½®ä¸º5ç§ é¿å·¥ä½æ¶é¿çº¿ç¨æ± ï¼çº¿ç¨è´è´£ç¨æ¶è¾é¿çå·¥ä½ä»»å¡ï¼ä¾å¦æ°æ®åºååæä½ long_maxThreadï¼ æ± ä¸æå¤§çº¿ç¨æ°ä¸ºææCPUæ ¸æ°+1ï¼shortæ± ä¸longæ± ååä¸åï¼ï¼è¥ä¸º-1ï¼ä¸åéå¶ï¼è®¾ç½®ä¸º0ï¼è¡¨ç¤ºä¸å¯å¨çº¿ç¨æ± long_minThreadï¼ æ± ä¸æå°çº¿ç¨æ°ï¼è¥ä¸º-1ï¼ä¸åéå¶ï¼è®¾ç½®ä¸º0ï¼è¡¨ç¤ºä¸å¯å¨çº¿ç¨æ± long_freeTimeoutï¼ çº¿ç¨æ°ç©ºé²æ¶é¿ï¼è¥æ± ä¸çº¿ç¨æ°é大äºminThreadï¼ä¸æç线ç¨ç©ºé²æ¶é¿è¶ è¿freeTimeoutï¼åæ¸ é¤è¯¥çº¿ç¨ long_busyTimeoutï¼çº¿ç¨ä¸é´æå·¥ä½æ¶é¿ï¼åä½ä¸ºç§)è¶ æ¶éï¼è¥ä¸º-1ï¼ä¸åéå¶ 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" /> <!-- èµæºæ¨¡å rtuLogDirï¼RTUæ¥å¿æä»¶åå¨ç®å½(ç¸å¯¹ç®å½) rtuLogFileMaxSizeï¼RTUæ¥å¿æä»¶æå¤§åèæ°(B) rtuLogFileMaxCountï¼RTUæ¥å¿æä»¶æå¤§æä»¶æ° monitorIntervalï¼Rtuç¶æçè§é´é(åé) saveDbIntervalï¼Rtuç¶æåæ°æ®åºé´é(åé) --> <resource rtuLogDir="rtuLogs/" rtuLogFileMaxSize="100000" rtuLogFileMaxCount="2" monitorInterval="2" saveDbInterval="10" /> <!-- 2024-08-22 æ¤é ç½®ææ¶æªåºç¨ portï¼rmiæå¡ç«¯å£å· contextï¼rmiæå¡ä¸ä¸æ --> <rmi enable="true" port="65400" context="rtuMw" /> <!-- sleepBigBusyï¼ä¸»çº¿ç¨å¤§å¿æ¶æ¯æ¬¡æ§è¡é´éæ¶é¿ï¼æ¯«ç§ï¼ sleepSmallBusyï¼ä¸»çº¿ç¨å°å¿æ¶æ¯æ¬¡æ§è¡é´éæ¶é¿ï¼æ¯«ç§ï¼ queueWarnSize: ç¼åéåèç¹æ°è¦åæ°é queueMaxSize: ç¼åéåèç¹æ°æå¤§æ°é --> <core sleepBigBusy="100" sleepSmallBusy="500" queueWarnSize="100000" queueMaxSize="300000" /> <!-- portï¼ç«¯å£ processorsï¼ Mina IO å¤çä¸ä¸è¡æ°æ®ççº¿ç¨æ°ï¼ä¸è¬æ¯CPUæ»æ ¸æ°+1 idle: ååæ¶é¿ï¼ç§ï¼ --> <tcp enable="true" port="62000" processors="3" idle="10" /> </config>