fix: 物联网平台,amqp数据接入并插入TD数据库相关逻辑编码。

This commit is contained in:
tianyongbao
2026-01-10 01:20:51 +08:00
parent d1c829d410
commit 5bd63f83df
56 changed files with 4842 additions and 158 deletions

View File

@@ -0,0 +1,32 @@
# ==================== 告警配置示例 ====================
# 将以下配置添加到 application.yml 或 application-dev.yml 中
# 告警阈值配置
alarm:
threshold:
# 溶解氧阈值mg/L
dissolved-oxygen:
min: 4.0 # 最低阈值
max: 15.0 # 最高阈值
# 温度阈值(℃)
temperature:
min: 10.0 # 最低阈值
max: 35.0 # 最高阈值
# pH值阈值
ph:
min: 6.5 # 最低阈值
max: 8.5 # 最高阈值
# 盐度阈值
salinity:
max: 35.0 # 最高阈值
# 电池电量阈值(%
battery:
min: 20.0 # 最低阈值
# 告警通知配置
notification:
interval: 30 # 告警通知间隔时间(分钟),同一设备在此时间内不会重复发送通知