From add8c014d2fd43236c6ca2665d71ff6440d251f4 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Mon, 7 Jul 2025 17:50:00 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/pribor-uf/pribor_uf.gd | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scenes/pribor-uf/pribor_uf.gd b/scenes/pribor-uf/pribor_uf.gd index 7eec3bf..5f10eb9 100644 --- a/scenes/pribor-uf/pribor_uf.gd +++ b/scenes/pribor-uf/pribor_uf.gd @@ -1,4 +1,4 @@ -extends "res://scenes/контроль/прибор.gd" +extends 'res://scenes/контроль/прибор.gd' enum STATE_VAL { NONE = 0, @@ -53,8 +53,8 @@ func Control_VK() -> void: for element in out_pci: out_pci_str += element - out_usb_str = out_usb_str.split("\n") - out_pci_str = out_pci_str.split("\n") + out_usb_str = out_usb_str.split('\n') + out_pci_str = out_pci_str.split('\n') var i: int = 0 @@ -93,10 +93,10 @@ func status_uf() -> void: 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) and (status_ip5 == 1) and (status_ip27 == 1): - $lbl_header2.text = "Прибор исправен" + 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: - $lbl_header2.text = "Прибор не исправен" + $lbl_header2.text = 'Прибор не исправен' $lbl_header2.modulate = Color(1,0,0,1) $lbl_header2.visible = true