修改通知

This commit is contained in:
lnk
2026-04-24 16:22:15 +08:00
parent ea176eceaf
commit 54b0d68c24
3 changed files with 10 additions and 6 deletions

View File

@@ -2849,6 +2849,10 @@ static int get_cloud_type_by_state(int type)
case DeviceState::SET_RIGHTTIME_2: return 1113; // 主动对时
case DeviceState::SET_CTRL: return 1114; // 控制/重启
case DeviceState::SET_PREUPGRADE: return 1115; // 升级预校验
case DeviceState::SEND_FILE: return 1116; // 文件上送
case DeviceState::DEL_FILE: return 1117; // 文件删除
case DeviceState::SEND_MENU: return 1118; // 目录创建
case DeviceState::DEL_MENU: return 1119; // 目录删除
default:
return type; // 其他未映射的,保持原值,避免影响现有逻辑