Доработка. Обмен с Щ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

@@ -88,8 +88,11 @@ func status_uf() -> void:
var status_kems:int = $ref_uf/ref_kassetav13/ref_A4_KEMS.state
var status_ems0:int = $ref_uf/ref_kassetav13/ref_A5_EMS.state
var status_ems1:int = $ref_uf/ref_kassetav13/ref_A6_EMS.state
var status_ip5:int = $ref_uf/ref_kassetav13/ref_A3_IP5B.state
var status_ip27:int = $ref_uf/ref_kassetav13/ref_A12_IP27B.state
if (status_yay == 1) and (status_bu == 1) and (status_kems == 1) and (status_ems0 == 1) and (status_ems1 == 1):
if (status_yay == 1) and (status_bu == 1) and (status_kems == 1) \
and (status_ems0 == 1) and (status_ems1 == 1) and (status_ip5 == 1) and (status_ip27 == 1):
$lbl_header2.text = "Прибор исправен"
$lbl_header2.modulate = Color(0,1,0,1)
else: