From c4d56f4a2c7687739f3bf0f43bcc1f35c9bbeb8b Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 14 五月 2025 15:18:44 +0800 Subject: [PATCH] 1、表阀一体协议解析同步新版本;2、默认设备是表阀一体(0x02) --- pipIrr-platform/pipIrr-global/src/main/resources/application-global.yml | 102 +++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 82 insertions(+), 20 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/application-global.yml b/pipIrr-platform/pipIrr-global/src/main/resources/application-global.yml index ae76e9e..e37b6d4 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/application-global.yml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/application-global.yml @@ -1,4 +1,6 @@ spring: + main: + allow-bean-definition-overriding: true #璁剧疆涓簍rue鏃讹紝鍚庡畾涔夌殑bean浼氳鐩栦箣鍓嶅畾涔夌殑鐩稿悓鍚嶇О鐨刡ean servlet: multipart: # 鍓嶇涓婁紶鏂囦欢锛岄檺鍒跺崟涓枃浠剁殑澶у皬鍜岄檺鍒舵墍鏈夋枃浠剁殑澶у皬 @@ -90,8 +92,8 @@ webPort: 54321 webFilePort: 64321 mw: - webPort: 8070 #閫氫俊涓棿浠朵腑搴旂敤锛屼笉鑳藉湪web妯″潡绯荤粺涓簲鐢� - actutorPort: 9070 #閫氫俊涓棿浠朵腑搴旂敤锛屼笉鑳藉湪web妯″潡绯荤粺涓簲鐢� + webPort: ${common.pipIrr_mw_webPort} #閫氫俊涓棿浠朵腑搴旂敤锛屼笉鑳藉湪web妯″潡绯荤粺涓簲鐢� + actutorPort: ${common.pipIrr_mw_actutorPort} #閫氫俊涓棿浠朵腑搴旂敤锛屼笉鑳藉湪web妯″潡绯荤粺涓簲鐢� idSuffix: 0 sso: cacheMaximumSize: 10000 #鐧诲綍鐢ㄦ埛缂撳瓨鍙紦瀛樼敤鎴风殑鏈�澶у�� @@ -144,6 +146,10 @@ webPort: 8089 actutorPort: 9089 idSuffix: 11 + terminal: + webPort: 8090 + actutorPort: 9090 + idSuffix: 12 # 2023-10-24鏂板锛岀敤浜庢墽琛屼复鏃朵换鍔★紝渚嬪鍒犻櫎鏁版嵁搴撲腑涓婁簺鍑洪敊鐨勬暟鎹� temp: webPort: 8099 @@ -315,8 +321,8 @@ project: #椤圭洰缂栫爜 projectNo: 10 - #鎺у埗鍣ㄧ被鍨� - controllerType: 57 + #鎺у埗鍣ㄧ被鍨� (01锛�0x01锛�:娴嬫帶涓�浣撻榾锛�02锛�0x02锛�:琛ㄩ榾涓�浣撴満锛�57(0x57):浜曠數鎺у埗鍣�) + controllerType: 02 #榛樿琛屾斂鍖哄垝缂栫爜锛堝ぉ娲�-澶╂触甯�-姝︽竻鍖�-浜花宸ヤ笟鍥�-澶х鑺傛按锛� divisionCode: 120114403100 @@ -331,15 +337,30 @@ mj: url: "http://127.0.0.1:8071" comSendUrl: "http://127.0.0.1:8071/rtuMw/com/send" - mq: - url: "http://127.0.0.1:8100" - comSendUrl: "http://127.0.0.1:8100/rtuMw/com/send" sp: url: "http://127.0.0.1:8073" comSendUrl: "http://127.0.0.1:8073/rtuMw/com/send" test: url: "http://127.0.0.1:8072" comSendUrl: "http://127.0.0.1:8072/rtuMw/com/send" + mq: + url: "http://127.0.0.1:8100" + comSendUrl: "http://127.0.0.1:8100/rtuMw/com/send" + yq: + url: "http://127.0.0.1:8101" + comSendUrl: "http://127.0.0.1:8101/rtuMw/com/send" + hlj: + url: "http://127.0.0.1:8102" + comSendUrl: "http://127.0.0.1:8102/rtuMw/com/send" + gz: + url: "http://127.0.0.1:8103" + comSendUrl: "http://127.0.0.1:8103/rtuMw/com/send" + lz: + url: "http://127.0.0.1:8104" + comSendUrl: "http://127.0.0.1:8104/rtuMw/com/send" + jc: + url: "http://127.0.0.1:8105" + comSendUrl: "http://127.0.0.1:8105/rtuMw/com/send" #Rtu杩滅▼鍛戒护缁撴灉鍥炶皟鍦板潃 rtuCallbackUrl_rm: "http://127.0.0.1:8081/remote/comRes/receive" #鎺ユ敹閫氫俊涓棿浠舵秷鎭腑蹇冩秷鎭殑鍦板潃 @@ -348,6 +369,7 @@ ugCallbackUrl_rm: "http://127.0.0.1:8081/remote/rtuUpgradeStateReceiver/receive" #寰俊灏忕▼搴忓簲鐢ㄤ腑Rtu杩滅▼鍛戒护缁撴灉鍥炶皟鍦板潃 rtuCallbackUrl_wx: "http://127.0.0.1:8087/wx/comRes/receive" + waitMwRtnResultTimeout: 60 #绛夊緟涓棿浠惰繑鍥炵粨鏋滆秴鏃舵椂闂达紝鍗曚綅绉掗挓 #涓嶈繘琛寀serToken杩囨护鐨刄RL锛孈ConfigurationProperties瑕佹眰tokennofilter涓墍鏈夊瓧姣嶉兘灏忓啓 tokennofilter: @@ -370,7 +392,7 @@ #閽夐拤娑堟伅鎺ㄩ�� dingtalk: ym: - enable: true #鏄惁鍚敤 + enable: false #鏄惁鍚敤 robot: url: https://oapi.dingtalk.com/robot/send access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f @@ -378,15 +400,7 @@ at-all: true mobile: 18602657034 mj: - enable: true #鏄惁鍚敤 - robot: - url: https://oapi.dingtalk.com/robot/send - access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f - secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7 - at-all: true - mobile: 18602657034 - mq: - enable: true #鏄惁鍚敤 + enable: false #鏄惁鍚敤 robot: url: https://oapi.dingtalk.com/robot/send access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f @@ -394,7 +408,7 @@ at-all: true mobile: 18602657034 sp: - enable: true #鏄惁鍚敤 + enable: false #鏄惁鍚敤 robot: url: https://oapi.dingtalk.com/robot/send access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f @@ -402,7 +416,55 @@ at-all: true mobile: 18602657034 test: - enable: true #鏄惁鍚敤 + enable: false #鏄惁鍚敤 + robot: + url: https://oapi.dingtalk.com/robot/send + access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f + secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7 + at-all: true + mobile: 18602657034 + mq: + enable: false #鏄惁鍚敤 + robot: + url: https://oapi.dingtalk.com/robot/send + access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f + secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7 + at-all: true + mobile: 18602657034 + yq: + enable: false #鏄惁鍚敤 + robot: + url: https://oapi.dingtalk.com/robot/send + access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f + secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7 + at-all: true + mobile: 18602657034 + hlj: + enable: false #鏄惁鍚敤 + robot: + url: https://oapi.dingtalk.com/robot/send + access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f + secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7 + at-all: true + mobile: 18602657034 + gz: + enable: false #鏄惁鍚敤 + robot: + url: https://oapi.dingtalk.com/robot/send + access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f + secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7 + at-all: true + mobile: 18602657034 + lz: + enable: false #鏄惁鍚敤 + robot: + url: https://oapi.dingtalk.com/robot/send + access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f + secret: SEC6042bc964d08899a5853eb321eb5a4d842a395982777f815bd07451c879228b7 + at-all: true + mobile: 18602657034 + jc: + enable: false #鏄惁鍚敤 robot: url: https://oapi.dingtalk.com/robot/send access-token: fecef8e7725998f8912af05419580861aafc73413c4920036c07c050fa33055f @@ -420,4 +482,4 @@ #铏氭嫙鍗¢厤缃弬鏁� vc: #铏氭嫙鍗℃渶浣庝綑棰濇姤璀﹀�� - alarmValue: 10 \ No newline at end of file + alarmValue: 10 -- Gitblit v1.8.0