完成警告消息对应中文显示

This commit is contained in:
zqc
2026-03-05 16:05:58 +08:00
parent 80bc288a88
commit 8bcb586b53
4 changed files with 123 additions and 6 deletions

View File

@@ -78,3 +78,20 @@ service_groups:
# - [0.5, 0.001]
# - [1.0, 0.8]
# - [0.35, 1.0]
# 告警类型映射 (code -> 中文名称)
alert_types:
# 卡点检测 (checkpoint)
"Unchecked Trunk": "未检查后备箱"
"Ignore": "漏检"
"Nobody": "无人在场"
"Only One": "单人单检"
# 监狱检测 (prison)
"prisoner": "带出犯人"
"violation": "路线违规"
# 监控室检测 (supervision_room)
"Playing Phone": "玩手机"
"Smoke": "吸烟"
"Nobody Checking": "无人在场"