33 lines
816 B
YAML
33 lines
816 B
YAML
# ==================== 告警配置示例 ====================
|
||
# 将以下配置添加到 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 # 告警通知间隔时间(分钟),同一设备在此时间内不会重复发送通知
|