autocal: 新增单位与换算页(默认锁定)及轴页报警与事件日志

- 设备设置新增“单位与换算”页:显示各轴 UNITS、读回值、脉冲/mm 换算与核对状态;
  默认锁定,点击“修改”后才可编辑,应用前弹窗确认,旋转轴偏离标定值时额外警告
- 轴调试页:脉冲当量改为只读并提供入口;新增报警与事件日志(报警、使能、
  回零、读取失败、单位不符等)及单位核对摘要
- 新增 motion/unit_report.py、motion/events.py 及对应测试
This commit is contained in:
ykcheungab
2026-10-19 10:15:07 +08:00
parent d477a4d8b7
commit 570daae68f
4 changed files with 45 additions and 23 deletions
+2 -2
View File
@@ -942,8 +942,8 @@
"col_check": "Check",
"kind_linear": "Linear (mm)",
"kind_rotary": "Rotary (°)",
"scale_linear": "1 unit = {mm} mm; {per} units/mm",
"scale_rotary": "1 unit = {deg}°; {per} units/°",
"scale_linear": "{mm} mm/unit · {per}/mm",
"scale_rotary": "{deg}°/unit · {per}/°",
"status_ok": "Agree",
"status_unread": "Not read",
"status_mismatch": "Mismatch",