From 0c870ae5b2af348e19b10cc1a99f103f95c5a1cc Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期六, 21 六月 2025 11:47:09 +0800 Subject: [PATCH] 1、通信中间件重构MQTT相关下行命令的逻辑; 2、remote模块完善MQTT相关下行命令解除报警、搅拌启停、注肥启停、灌溉启停功能类; --- pipIrr-platform/pipIrr-global/src/main/resources/init-config(121服务器).xml | 71 +++++++++++++++++++++++++++++++++-- 1 files changed, 67 insertions(+), 4 deletions(-) diff --git "a/pipIrr-platform/pipIrr-global/src/main/resources/init-config\050121\346\234\215\345\212\241\345\231\250\051.xml" "b/pipIrr-platform/pipIrr-global/src/main/resources/init-config\050121\346\234\215\345\212\241\345\231\250\051.xml" index 3d1fb9a..3e7a3c6 100644 --- "a/pipIrr-platform/pipIrr-global/src/main/resources/init-config\050121\346\234\215\345\212\241\345\231\250\051.xml" +++ "b/pipIrr-platform/pipIrr-global/src/main/resources/init-config\050121\346\234\215\345\212\241\345\231\250\051.xml" @@ -254,7 +254,7 @@ <item3 typeName="璁惧淇濆吇"/> </taskType> </org4> - <org4 tag="lz" name="鍑夊窞" enable="true"> + <org5 tag="lz" name="鍑夊窞" enable="true"> <districts> <province name="鐢樿們鐪�" num="62" level="0"> <city name="姝﹀▉甯�" num="06" level="1"> @@ -316,8 +316,8 @@ <item2 typeName="璁惧缁翠慨"/> <item3 typeName="璁惧淇濆吇"/> </taskType> - </org4> - <org5 tag="jc" name="閲戝窛" enable="true"> + </org5> + <org6 tag="jc" name="閲戝窛" enable="true"> <districts> <province name="鐢樿們鐪�" num="62" level="0"> <city name="閲戞槍甯�" num="03" level="1"> @@ -379,6 +379,69 @@ <item2 typeName="璁惧缁翠慨"/> <item3 typeName="璁惧淇濆吇"/> </taskType> - </org5> + </org6> + <org7 tag="jyg" name="鍢夊唱鍏�" enable="true"> + <districts> + <province name="鐢樿們鐪�" num="62" level="0"> + <city name="鍢夊唱鍏冲競" num="02" level="1"> + <country name="鏂板煄闀�" num="01" level="2" /> + </city> + </province> + </districts> + <dictionaries> + <dict code="icProtocol" title="IC鍗″崗璁�" valueType="2"> + <dictItem> + <!-- 闈冲缓浼熺増鏈琁C鍗″崗璁� 鍗′腑缂栧彿宸茬粡鍔犻暱锛堜笌鐜嬫睙娴风増鏈竴鑷达級锛屼笌绾�佺増鏈崗璁笉鍚� --> + <item1 dictCode="icProtocol" value="icP202203" name="鑰佸崱鍗忚" status="1" sort="0" /> + <!-- 鐜嬫睙娴风増鏈琁C鍗″崗璁� --> + <item2 dictCode="icProtocol" value="icP202404" name="鏂板崱鍗忚" status="0" sort="1" /> + </dictItem> + </dict> + </dictionaries> + <user name="瓒呯骇绠$悊鍛�" phone="admin" password="dyyjy" supperAdmin="1" /> + <payments> + <item1 name="鐜伴噾"/> + <item2 name="POS鏈�"/> + <item3 name="閾惰杞处"/> + </payments> + <settings> + <item1 item_name="lng" item_value="98.28875541687012" remarks="缁忓害"/> + <item2 item_name="lat" item_value="39.77140971937612" remarks="绾害"/> + <item3 item_name="zoomMp" item_value="12" remarks="鎵嬫満鍦板浘缂╂斁绾у埆"/> + <item4 item_name="zoomPc" item_value="19" remarks="PC鏈哄湴鍥剧缉鏀剧骇鍒�"/> + <item5 item_name="projectName" item_value="楂樻晥鏅烘収绠$亴寰亴浜戞湇鍔$鐞嗗钩鍙�" remarks="椤圭洰鍚嶇О"/> + </settings> + <waterTypes> + <item1 typeName="鐏屾簤鐢ㄦ按"/> + <item2 typeName="宸ヤ笟鐢ㄦ按"/> + <item3 typeName="鐢熸椿鐢ㄦ按"/> + <item4 typeName="鍏绘畺鐢ㄦ按"/> + <item5 typeName="缁垮寲鐢ㄦ按"/> + </waterTypes> + <waterPrice price="0.90" /> + <irrigateProfile> + <item1 defaultValue = "10" unit = "2" sort = "1" type = "1"/> + <item2 defaultValue = "20" unit = "2" sort = "2" type = "1" /> + <item3 defaultValue = "1" unit = "1" sort = "3" type = "1"/> + <item4 defaultValue = "2" unit = "1" sort = "4" type = "1"/> + <item5 defaultValue = "20" unit = "3" sort = "1" type = "2"/> + <item6 defaultValue = "30" unit = "3" sort = "2" type = "2"/> + <item7 defaultValue = "50" unit = "3" sort = "3" type = "2"/> + <item8 defaultValue = "80" unit = "3" sort = "4" type = "2"/> + </irrigateProfile> + <rechargeProfile> + <item1 rechargeAmount = "50" sort = "1"/> + <item2 rechargeAmount = "100" sort = "2" /> + <item3 rechargeAmount = "200" sort = "3"/> + <item4 rechargeAmount = "300" sort = "4"/> + <item5 rechargeAmount = "500" sort = "5"/> + <item6 rechargeAmount = "1000" sort = "6"/> + </rechargeProfile> + <taskType> + <item1 typeName="璁惧瀹夎"/> + <item2 typeName="璁惧缁翠慨"/> + <item3 typeName="璁惧淇濆吇"/> + </taskType> + </org7> </orgs> </config> \ No newline at end of file -- Gitblit v1.8.0