plc_control/crates/app_operation_system/src
caoqianming 972938a8e6 Seed public segments and emit signal-conflict alarms
Extends ensure_default_templates to also seed the 5 公共段 (前端码车 /
前端放车 / 前端摆渡 / 窑尾摆渡 / 卸砖 / 回车) and their shared resource
declarations (transfer_front / transfer_tail / unload_position /
return_line / robot_arm) so operators have the full skeleton to bind
equipment + signals against.

Engine now runs a station signal-conflict check during the run-halt
phase: any station whose presence and vacancy are both true with Good
quality emits ops.alarm.signal_conflict + segment.fault_locked and
transitions the segment to Faulted. Closes the final P8 alarm type
from design doc §8.1.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 09:16:04 +08:00
..
control Seed public segments and emit signal-conflict alarms 2026-05-19 09:16:04 +08:00
handler Persist event subject_type/subject_id and add ops event timeline API 2026-05-19 08:57:40 +08:00
service Add operation-system config schema and CRUD API 2026-05-19 08:17:34 +08:00
app.rs Seed public segments and emit signal-conflict alarms 2026-05-19 09:16:04 +08:00
event.rs Persist event subject_type/subject_id and add ops event timeline API 2026-05-19 08:57:40 +08:00
handler.rs Persist event subject_type/subject_id and add ops event timeline API 2026-05-19 08:57:40 +08:00
lib.rs Seed dual-kiln segment templates behind OPS_SEED_TEMPLATES 2026-05-19 08:47:18 +08:00
main.rs feat(ops): add operation-system app skeleton 2026-04-16 12:59:31 +08:00
model.rs Add operation-system config schema and CRUD API 2026-05-19 08:17:34 +08:00
router.rs Persist event subject_type/subject_id and add ops event timeline API 2026-05-19 08:57:40 +08:00
seed.rs Seed public segments and emit signal-conflict alarms 2026-05-19 09:16:04 +08:00
service.rs Add operation-system config schema and CRUD API 2026-05-19 08:17:34 +08:00