fix(aiot): 修正离岗检测参数标签和说明

- 添加 leave_countdown_sec(离岗倒计时)参数映射
- 修正 confirm_leave_sec 标签:离岗倒计时 → 离岗确认时间
- 明确三个参数的区别:
  1. 离岗确认时间(30秒):持续离开多久确认为离岗
  2. 离岗倒计时(300秒):确认离岗后倒计时多久触发告警 
  3. 告警冷却期(600秒):触发告警后多久内不再重复告警

- 在说明中标注"您要找的参数!"帮助用户识别

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-13 16:56:18 +08:00
parent 37af7ea117
commit bddae7367a

View File

@@ -45,7 +45,8 @@ const newListItem = ref('');
const paramNameMap: Record<string, string> = {
working_hours: '工作时间段',
confirm_on_duty_sec: '在岗确认时间(秒)',
confirm_leave_sec: '离岗倒计时(秒)',
confirm_leave_sec: '离岗确认时间(秒)',
leave_countdown_sec: '离岗倒计时(秒)',
cooldown_sec: '告警冷却期(秒)',
cooldown_seconds: '告警冷却期(秒)',
confirm_seconds: '触发确认时间(秒)',
@@ -58,7 +59,8 @@ const paramNameMap: Record<string, string> = {
// 参数说明映射
const paramDescMap: Record<string, string> = {
confirm_leave_sec: '人员离开后,持续多少秒才触发离岗告警(避免短暂离开误',
confirm_leave_sec: '人员离开后,持续多少秒确认为"离岗状态"(避免短暂离开误',
leave_countdown_sec: '确认离岗后,倒计时多少秒才触发告警(您要找的参数!)',
cooldown_sec: '触发告警后,多少秒内不再重复告警(避免频繁告警)',
confirm_on_duty_sec: '人员出现后,持续多少秒才确认在岗(避免短暂出现误判)',
cooldown_seconds: '触发告警后,多少秒内不再重复告警(避免频繁告警)',