plc_control/web/js
caoqianming ce8383e815 feat(ops): replace signal dots with pills, gate Start/Stop on REM/FLT
Signal indicators are now wider pill badges (40×20px rect) with the role
label (REM/RUN/FLT) embedded inside, replacing the 10px dot+label rows.

Equipment Start/Stop buttons are disabled when:
- auto control is active
- REM = 0 (device in local mode, not accepting remote commands)
- FLT = 1 (fault active)

Button state reacts in real time to WS signal updates via a per-equipment
syncBtns closure registered in state.opsUnitSyncFns.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 11:09:23 +08:00
..
api.js fix(toast): remove shake class before hiding to ensure animationend fires 2026-03-25 13:16:50 +08:00
app.js fix(events): load system events on page refresh in ops view 2026-03-26 10:41:27 +08:00
chart.js fix(chart): restore realtime updates and axes 2026-03-23 12:55:12 +08:00
docs.js fix(docs): widen API drawer and fix TOC scroll hijacking window 2026-03-25 14:41:17 +08:00
dom.js feat(control): batch start/stop auto control for all enabled units 2026-03-25 13:05:23 +08:00
equipment.js fix(frontend): pre-select active unit when opening new equipment modal 2026-03-24 16:35:33 +08:00
events.js feat(events): color-code event level badges by severity 2026-03-26 10:44:12 +08:00
index.js refactor(web): split index html into flat fragments 2026-03-23 14:14:19 +08:00
logs.js feat(ops): replace signal dots with pills, gate Start/Stop on REM/FLT 2026-03-26 11:09:23 +08:00
ops.js feat(ops): replace signal dots with pills, gate Start/Stop on REM/FLT 2026-03-26 11:09:23 +08:00
points.js fix(web): fix node count showing 2x by counting only details elements 2026-03-25 08:27:06 +08:00
roles.js refactor(control): align point roles and equipment kind 2026-03-24 13:17:53 +08:00
sources.js feat(web): reorganize equipment layout and point flows 2026-03-23 12:49:26 +08:00
state.js feat(ops): replace signal dots with pills, gate Start/Stop on REM/FLT 2026-03-26 11:09:23 +08:00
units.js fix(unit): block auto control start when fault is active or unacknowledged 2026-03-26 10:54:10 +08:00