lct-39: пауза занятия с пульта, таймеры и очередь ДДС стоят на время простоя

This commit is contained in:
kaifarikman 2026-09-27 16:35:13 +03:00
commit b77d65c82e
23 changed files with 410 additions and 20 deletions

View file

@ -101,6 +101,7 @@ class ActiveSessionOut(BaseModel):
dds_work_overdue_cards: int
dds_statuses: dict[str, str]
dds_snapshot: StationSnapshot | None = None
paused: bool = False
def _out(session) -> SessionOut:
@ -262,6 +263,7 @@ async def active(
),
dds_statuses=latest_statuses,
dds_snapshot=station,
paused=state.paused,
))
return result