From 0a3658dc573706d4b244cb007027dc41f2a8514d Mon Sep 17 00:00:00 2001 From: 16337 <1633794139@qq.com> Date: Fri, 13 Feb 2026 16:59:25 +0800 Subject: [PATCH] =?UTF-8?q?refactor(aiot):=20=E5=88=A0=E9=99=A4=E7=A6=BB?= =?UTF-8?q?=E5=B2=97=E6=A3=80=E6=B5=8B=E7=9A=84cooldown=5Fsec=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 cooldown_sec 参数(状态机已保证必须回岗才能再次告警) - 保留 cooldown_seconds 用于其他算法(周界入侵等) - 简化参数配置,减少用户困惑 离岗检测现在只需配置3个关键参数: 1. 离岗确认时间(30秒) 2. 离岗倒计时(300秒)⭐ 3. 在岗确认时间(10秒) Co-Authored-By: Claude Opus 4.6 --- .../views/aiot/device/roi/components/AlgorithmParamEditor.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/web-antd/src/views/aiot/device/roi/components/AlgorithmParamEditor.vue b/apps/web-antd/src/views/aiot/device/roi/components/AlgorithmParamEditor.vue index 482470d88..3d5d801e8 100644 --- a/apps/web-antd/src/views/aiot/device/roi/components/AlgorithmParamEditor.vue +++ b/apps/web-antd/src/views/aiot/device/roi/components/AlgorithmParamEditor.vue @@ -47,7 +47,6 @@ const paramNameMap: Record = { 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 = { const paramDescMap: Record = { confirm_leave_sec: '人员离开后,持续多少秒确认为"离岗状态"(避免短暂离开误判)', leave_countdown_sec: '确认离岗后,倒计时多少秒才触发告警(您要找的参数!)', - cooldown_sec: '触发告警后,多少秒内不再重复告警(避免频繁告警)', confirm_on_duty_sec: '人员出现后,持续多少秒才确认在岗(避免短暂出现误判)', - cooldown_seconds: '触发告警后,多少秒内不再重复告警(避免频繁告警)', + cooldown_seconds: '触发告警后,多少秒内不再重复告警(用于周界入侵等算法)', confirm_seconds: '检测到目标后,持续多少秒才触发告警(避免瞬间误报)', working_hours: '仅在指定时间段内进行监控,留空表示24小时监控', };