Доработка. Обмен с Щ3, таймер переподключения. В контроле УФ добавлены источники питания, как индикатор неисправности прибора.

This commit is contained in:
MaD_CaT
2025-01-29 08:50:45 +03:00
parent c717ace9b5
commit f2a86ada32
7 changed files with 32 additions and 14 deletions

View File

@@ -51,7 +51,7 @@ class Sch3 extends unit.Unit:
## [param tick] - Текущщее время в мс.[br]
func parse(message: Dictionary, tick: int) -> bool:
rx_tick = tick
if not online:
if not online and (message['code'] != 'exception'):
online = true
emit_signal('line_changed', self)
if message.has('code') and message.has('data'):