feat(motor): 支持 WiFi 与 EtherCAT 双链路传输
- 抽象电机传输层,WiFi 与 EtherCAT 实现分离,解码、状态面板、波形和命令序列共用 - 新增 EtherCAT 后端反向代理与自动拉起,解决跨端口 CORS 与预检失败问题 - 刷新速度按链路独立存储,支持 EtherCAT 低延迟读取与 WiFi 稳定轮询 - 更新电机页链路选择、不支持页签置灰样式、README 说明及相关测试脚本
This commit is contained in:
@@ -376,6 +376,12 @@ label { display: block; }
|
||||
}
|
||||
.tab-btn:hover { color: var(--fg); }
|
||||
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
|
||||
/* 当前链路不支持的页签(如 EtherCAT 下的电机 OTA):置灰但保留可见,
|
||||
悬浮 title 说明怎么才能用 —— 直接隐藏会让人以为功能被删了。 */
|
||||
.tab-btn.tab-disabled {
|
||||
color: var(--fg-dim, #666); cursor: not-allowed; opacity: .55;
|
||||
}
|
||||
.tab-btn.tab-disabled:hover { color: var(--fg-dim, #666); }
|
||||
.tab-content { flex: 1; overflow-y: auto; min-height: 0; padding: var(--sp-4); }
|
||||
.tab-page { display: none; }
|
||||
.tab-page.active { display: block; }
|
||||
|
||||
Reference in New Issue
Block a user