Commit f13c3e7
committed
refactor: extract device registry and protocol from canvas.py
Move the master device list (206 entries) and category sets
(phidget, nonSerial, nonTemp, special, binary devices) from
canvas.py into a standalone device_registry module.
Define RoasterProtocol and ScaleProtocol in device_protocol.py
to document the implicit interface that 30+ machine drivers
already implement.
All 2252 existing tests pass. Zero behavior change.1 parent 7579f78 commit f13c3e7
4 files changed
Lines changed: 514 additions & 402 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
0 commit comments