plc_control/crates/app_feeder_distributor
caoqianming 19ace9c2be Move feeder unit model out of platform core
Lifts ControlUnit, UnitRuntime/State, ControlRuntimeStore and unit CRUD
into app_feeder_distributor; their feeder-specific semantics
(DistributorRunning state, run_time/stop_time/acc_time/bl_time pacing)
violated the shared-core invariant.

WsMessage drops the UnitRuntimeChanged variant in favor of a generic
AppEvent(AppWsEvent) carrying {app, event_type, data}. Feeder emits
"feeder"/"unit_runtime_changed"; the web client dispatches by app
namespace, leaving core free of business types. The equipment handler
keeps its friendly unit-exists check by issuing an inline EXISTS query
instead of pulling the unit service.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 21:38:52 +08:00
..
src Move feeder unit model out of platform core 2026-05-18 21:38:52 +08:00
tests Move feeder unit model out of platform core 2026-05-18 21:38:52 +08:00
Cargo.toml feat(feeder): create dedicated feeder distributor app crate 2026-04-16 12:38:58 +08:00