From 33e1f47419d28736b17d6947bb15ccc290b2905a Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 26 二月 2025 17:42:45 +0800
Subject: [PATCH] 1、代码完善; 2、江海协议解析不正确处修改,如金额是4位小数; 3、根据江海协议,新建RTU模拟器模块,可以上报心跳、开阀、关阀数据。
---
pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/resources/application.yml | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/resources/application.yml b/pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/resources/application.yml
index 9041c44..745e1ae 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/resources/application.yml
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/resources/application.yml
@@ -1,12 +1,8 @@
spring:
profiles:
- include: global, database, database-ym, database-sp, database-test
- mqtt:
- broker: tcp://127.0.0.1:1883
- username: mqtt_u
- password: yjy
- topic: workOrder
- qos: 2
+ include: global, database, database-ym, database-sp, database-test,database-mj,database-mq
+ main:
+ allow-circular-references: true
#actutor鐨剋eb绔彛
management:
@@ -20,6 +16,13 @@
context-parameters:
#GenerateIdSetSuffixListener涓簲鐢紝鍙栧�艰寖鍥存槸0-99
idSuffix: ${pipIrr.app.idSuffix}
+#MQTT
+mqtt:
+ broker: tcp://127.0.0.1:1883
+ username: mqtt_yjy
+ password: yjy
+ topic: workOrder
+ qos: 2
logging:
level:
--
Gitblit v1.8.0