refactor(aiot): 删除离岗检测的cooldown_sec参数映射
- 移除 cooldown_sec 参数(状态机已保证必须回岗才能再次告警) - 保留 cooldown_seconds 用于其他算法(周界入侵等) - 简化参数配置,减少用户困惑 离岗检测现在只需配置3个关键参数: 1. 离岗确认时间(30秒) 2. 离岗倒计时(300秒)⭐ 3. 在岗确认时间(10秒) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -47,7 +47,6 @@ const paramNameMap: Record<string, string> = {
|
||||
confirm_on_duty_sec: '在岗确认时间(秒)',
|
||||
confirm_leave_sec: '离岗确认时间(秒)',
|
||||
leave_countdown_sec: '离岗倒计时(秒)',
|
||||
cooldown_sec: '告警冷却期(秒)',
|
||||
cooldown_seconds: '告警冷却期(秒)',
|
||||
confirm_seconds: '触发确认时间(秒)',
|
||||
min_confidence: '最小置信度',
|
||||
@@ -61,9 +60,8 @@ const paramNameMap: Record<string, string> = {
|
||||
const paramDescMap: Record<string, string> = {
|
||||
confirm_leave_sec: '人员离开后,持续多少秒确认为"离岗状态"(避免短暂离开误判)',
|
||||
leave_countdown_sec: '确认离岗后,倒计时多少秒才触发告警(您要找的参数!)',
|
||||
cooldown_sec: '触发告警后,多少秒内不再重复告警(避免频繁告警)',
|
||||
confirm_on_duty_sec: '人员出现后,持续多少秒才确认在岗(避免短暂出现误判)',
|
||||
cooldown_seconds: '触发告警后,多少秒内不再重复告警(避免频繁告警)',
|
||||
cooldown_seconds: '触发告警后,多少秒内不再重复告警(用于周界入侵等算法)',
|
||||
confirm_seconds: '检测到目标后,持续多少秒才触发告警(避免瞬间误报)',
|
||||
working_hours: '仅在指定时间段内进行监控,留空表示24小时监控',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user