chore: 解决 stash pop 与 device-link 合并冲突并收回本地 WIP

保留 ConnectionHub(deviceLink 导入/ECAT 自启/pmHold 幂等)与主线
WIP(断线清指标、AUTO_POLL=false、boot_ecat 等)。
This commit is contained in:
cbb
2026-09-16 12:31:39 +08:00
parent 0c772f5924
commit e98950cde2
12 changed files with 1026 additions and 248 deletions
+5 -1
View File
@@ -286,8 +286,12 @@ export async function pollStatus() {
window.applyDeviceBusyRuntimeState('设备忙', '设备忙(OTA 后台运行中),等待回 IDLE', '设备忙');
updateConnectionUi(true, '设备忙');
} else {
// 设备已回 IDLE:连接胶囊显示未连接,但失败进度保留
// 设备已回 IDLE:连接胶囊显示未连接,但失败进度保留;
// 实时指标同样清空,避免残留断线前温度/电压
updateConnectionUi(false, '未连接');
if (typeof window.clearLiveMetricsOnDisconnect === 'function') {
window.clearLiveMetricsOnDisconnect();
}
}
} else if (window.otaSessionState === window.OtaSessionState.UPLOADING) {
window.applyUploadingRuntimeState();