fix: 物联网平台,amqp数据接入并插入TD数据库相关逻辑编码。
This commit is contained in:
32
intc-admin/src/main/resources/alarm-config-example.yml
Normal file
32
intc-admin/src/main/resources/alarm-config-example.yml
Normal 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 # 告警通知间隔时间(分钟),同一设备在此时间内不会重复发送通知
|
||||
Reference in New Issue
Block a user