Parent
Outcome
把当前 szlab_poly_plc 聚合的传感器组按物理堆栈/Warehouse 拆为独立 device package/class、独立 OPC client 与单数组 topic。
Blocked by
Scope
- 先登记物理堆栈清单;每个物理堆栈直接持有一个 Warehouse,并建立独立 device instance/client lifecycle。
- S3/S11 等同一物理 Warehouse 内多物料行保持一个设备/Warehouse 边界,不按业务角色伪拆 Authority。
- 为每个 Warehouse 固化 direct Sites、唯一非负
sort_order、数组位置和物理 OPC 地址映射。
- 若 PLC 仍提供多标量变量,只在包内 Adapter 聚合为一个逻辑数组;公开 topic 不泄漏 site_key/变量名。
- 从通用 PLC 的
stack_status/per-group topics 迁移消费者;历史接口需要保留时明确 deprecated,不再参与 OS Authority。
- 每个堆栈的连接、重连、读取失败和状态互不影响。
- 输出新包位置、完整文件树与 device→Warehouse→Site→sensor mapping 文档。
Gate
- 每个物理堆栈实例的资源树、array order 与地址 golden test;
- 至少两个堆栈并行的独立 client/故障隔离测试;
- mock OPC 正常、null、read failure、shape mismatch 与 reconnect 证据。
Parent
Outcome
把当前
szlab_poly_plc聚合的传感器组按物理堆栈/Warehouse 拆为独立 device package/class、独立 OPC client 与单数组 topic。Blocked by
Scope
sort_order、数组位置和物理 OPC 地址映射。stack_status/per-group topics 迁移消费者;历史接口需要保留时明确 deprecated,不再参与 OS Authority。Gate