This commit is contained in:
Jonas Bengtsson
2026-10-04 10:59:03 +02:00
parent c1d232581f
commit d55a8b4718
9 changed files with 314 additions and 39 deletions
+12 -7
View File
@@ -307,13 +307,13 @@ requirement ID for each item in parentheses.
`--web-port`, env `WAGO_SIM_WEB_USER/PASSWORD/READONLY/
NO_WEB/WEB_PORT`; login page + SPA shell.
- [x] M2: node overview page — DIN-rail strip with coupler block
(MS/NS/BF/SF LEDs), module bezels with article numbers plus the
kind+slot designation (`DI0`, `DO2`, `AI4`) in the header's
upper right corner, per-channel LEDs for DI/DO with the channel
number beneath, bar+numeric indicators for AI/AO with the channel
number outside the overflow/underflow limit LEDs, live values
via WebSocket (`/api/ws`, 10 Hz delta push), `GET /api/values`
snapshot (FR-10.2.2).
(MS/NS/BF/SF LEDs), module bezels with article numbers, the
kind+slot designation (`DI0`, `DO2`, `AI4`) in the module's
lower left corner below the indicators, per-channel LEDs for
DI/DO with the channel number beneath, bar+numeric indicators
for AI/AO with the channel number outside the overflow/underflow
limit LEDs, live values via WebSocket (`/api/ws`, 10 Hz delta
push), `GET /api/values` snapshot (FR-10.2.2).
- [x] M3: manipulation — DI/DO toggle (field side via
`set_digital_input_channel`, master side via internal
`write_bits`/`write_words` dispatch so mirrors/statistics stay
@@ -344,6 +344,11 @@ requirement ID for each item in parentheses.
module saves, export/import, and rebuilds; also fixes the bar
never filling (it set width instead of height on a vertical bar)
and the invisible numeric label (clipped by overflow: hidden).
Signed support (2026-10-04): range bounds and simulated values
may be negative (-65534–65535; stored as 16-bit two's
complement), for signed plant quantities. DI/DO channels render
in two rows (0–7 upper, 8–15 lower), mirroring two-deck WAGO
modules.
- [ ] M6: scenario run view + alias-ownership rejection (FR-10.2.6,
FR-10.2.9) — deferred.
- [x] Tests: 46 web-UI tests (`tests/test_webui.py`) via httpx