feat: реагирование смежных служб в карточке ДДС и вводная «бригада просит смежников»

This commit is contained in:
gglamer 2026-09-28 18:02:03 +00:00
commit de624d09f0
19 changed files with 1139 additions and 21 deletions

View file

@ -103,9 +103,16 @@ def full_state() -> SessionState:
text="Выехали", at=AT)],
phone_lines=[PhoneLineRecord(service="01", crew=crew, speaker="crew",
text="Выехали", at=AT)],
phone_pending=PhoneCallPending(service="01", crew=crew, phase="arrived"),
phone_pending=PhoneCallPending(service="01", crew=crew, phase="arrived",
incoming=True, adjacent_service="Мособлгаз"),
reply_text="Бригада направлена",
reply_log=[(AT, "Бригада направлена")],
adjacent_started_at=AT,
adjacent_next_index=1,
crew_request_at=AT,
adjacent_reply_at=AT,
adjacent_reply_claimed=True,
adjacent_call_at=AT,
)
desk = DdsDesk(
scenarios=[first, second],