plc_control/crates
caoqianming 1c646dfaa7 Extract event persistence primitive to platform core
Move the INSERT + WebSocket broadcast mechanism out of the feeder app
and into plc_platform_core as pub record_event(pool, ws, EventInsert).
The event table schema is owned by core, so writing to it is a platform
capability — apps (feeder, future ops) should only decide what to emit,
not how to persist it. Also replaces the 7-tuple in core's
persist_and_broadcast with the named EventInsert struct for readability.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-21 20:04:25 +08:00
..
app_feeder_distributor Extract event persistence primitive to platform core 2026-04-21 20:04:25 +08:00
app_operation_system Clean feeder core dependency boundaries 2026-04-21 16:22:11 +08:00
plc_platform_core Extract event persistence primitive to platform core 2026-04-21 20:04:25 +08:00