plc_control/src
caoqianming b832d98196 fix(control): block manual commands during auto, fix engine stop_time=0 bug, add sim feedback
- validator: reject equipment start/stop when unit auto_enabled
- engine: fix stop_time_sec==0 causing infinite Stopped state (never starts)
- engine: call simulate_run_feedback after auto commands when SIMULATE_PLC=true
- command: extract simulate_run_feedback to shared module (was private in handler)
- web: disable Start/Stop buttons when unit auto is active; sync on WS runtime update

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 12:37:43 +08:00
..
control fix(control): block manual commands during auto, fix engine stop_time=0 bug, add sim feedback 2026-03-25 12:37:43 +08:00
handler fix(control): block manual commands during auto, fix engine stop_time=0 bug, add sim feedback 2026-03-25 12:37:43 +08:00
service feat(api): add GET /api/unit/{id}/detail with nested equipment and points 2026-03-25 08:37:09 +08:00
util feat(control): add unit and event foundation 2026-03-24 10:20:23 +08:00
config.rs feat(sim): simulate RUN signal feedback when SIMULATE_PLC=true 2026-03-25 11:08:38 +08:00
connection.rs fix(opcua): trigger reconnect on BadTimeout and tighten subscription params 2026-03-24 12:50:55 +08:00
db.rs feat: 软件第一个版本 2026-03-03 13:32:05 +08:00
event.rs feat(event): add business control events (fault, comm, auto, state change) 2026-03-24 14:46:25 +08:00
handler.rs feat(control): add unit and event foundation 2026-03-24 10:20:23 +08:00
main.rs feat(api): add GET /api/unit/{id}/detail with nested equipment and points 2026-03-25 08:37:09 +08:00
middleware.rs feat: 软件第一个版本 2026-03-03 13:32:05 +08:00
model.rs feat(api): add GET /api/unit/{id}/detail with nested equipment and points 2026-03-25 08:37:09 +08:00
service.rs feat(control): add unit and event foundation 2026-03-24 10:20:23 +08:00
telemetry.rs 优化数据序列化:时间戳使用本地时间格式,简化 DataValue 输出 2026-03-04 12:41:14 +08:00
util.rs feat: 添加通用的分页工具模块 2026-03-04 13:37:58 +08:00
websocket.rs feat(websocket): add UnitRuntimeChanged message type 2026-03-24 14:47:35 +08:00