feat: complete dual-seat whole-vehicle orchestration
This commit is contained in:
@@ -411,7 +411,7 @@
|
||||
|| Boolean(bridge.bus?.opened)
|
||||
|| (bridge.online && bridge.bus_traffic);
|
||||
const layers = [
|
||||
["1", "ZCANPRO桥接", bridge.online ? "正常" : "离线", bridge.online ? "OK" : "UNKNOWN"],
|
||||
["1", "CAN Runtime", bridge.online ? "正常" : "离线", bridge.online ? "OK" : "UNKNOWN"],
|
||||
["2", "CAN设备 / 通道", adapterOnline ? "设备与通道已打开" : "未连接", adapterOnline ? "OK" : "UNKNOWN"],
|
||||
["3", "总线实时流量", bridge.bus_traffic ? "正常" : "未检测", bridge.bus_traffic ? "OK" : "WARN"],
|
||||
["4", "座椅ECU协议", bridge.protocol_online ? "0x301~0x305在线" : "未检测", bridge.protocol_online ? "OK" : "UNKNOWN"],
|
||||
@@ -461,8 +461,8 @@
|
||||
$("#repairConnectionText").textContent = bridge.online ? "CAN 桥接在线" : manager.message || "CAN 桥接离线";
|
||||
$(".v2-repair-footer").classList.toggle("offline", !bridge.online);
|
||||
const benchOption = $('#repairExecutionMode option[value="bench"]');
|
||||
if (benchOption) benchOption.disabled = !integration.zcanpro_configured;
|
||||
if (executionMode === "bench" && !integration.zcanpro_configured) {
|
||||
if (benchOption) benchOption.disabled = !integration.can_runtime_configured;
|
||||
if (executionMode === "bench" && !integration.can_runtime_configured) {
|
||||
executionMode = "shadow";
|
||||
$("#repairExecutionMode").value = "shadow";
|
||||
sessionStorage.setItem(MODE_KEY, executionMode);
|
||||
|
||||
Reference in New Issue
Block a user