Доработка. Кнопка показа схемы и снятие выбора прибора

This commit is contained in:
kira-a-k
2025-11-24 20:01:44 +03:00
parent d51c16b98e
commit de876c9a76
41 changed files with 2184 additions and 2771 deletions

View File

@@ -100,7 +100,7 @@ func status_uf() -> void:
$lbl_header2.text = 'Прибор исправен'
$lbl_header2.modulate = Color.GREEN
else:
$lbl_header2.text = 'Прибор неисправен'
$lbl_header2.text = 'Прибор не исправен'
$lbl_header2.modulate = Color.RED
$lbl_header2.visible = true

View File

@@ -7,16 +7,14 @@
[node name="pribor_uf" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_left = -121.0
offset_right = -121.0
script = ExtResource("1_7gtpa")
[node name="ref_uf" type="NinePatchRect" parent="."]
layout_mode = 0
offset_left = 244.0
offset_top = 128.0
offset_right = 765.0
offset_bottom = 836.0
offset_left = 187.0
offset_top = 247.0
offset_right = 708.0
offset_bottom = 955.0
texture = ExtResource("2_ho0da")
patch_margin_left = 16
patch_margin_top = 16
@@ -144,25 +142,19 @@ offset_bottom = 35.0
text = "Кассета В-13"
[node name="lbl_header2" type="Label" parent="."]
visible = false
layout_mode = 0
offset_left = 252.0
offset_top = 1009.0
offset_right = 757.0
offset_bottom = 1064.0
offset_left = 199.0
offset_top = 974.0
offset_right = 704.0
offset_bottom = 1000.0
theme_override_font_sizes/font_size = 22
text = "Состояние неизвестно..."
text = "Прибор не исправен
"
horizontal_alignment = 1
vertical_alignment = 1
[node name="timer" type="Timer" parent="."]
autostart = true
[node name="line" type="Line2D" parent="."]
position = Vector2(195, 950)
scale = Vector2(1.03548, 1)
points = PackedVector2Array(-8, 0, 61.8069, 0, 608, 0)
width = 2.0
default_color = Color(1, 1, 1, 0.352941)
metadata/_edit_lock_ = true
[connection signal="timeout" from="timer" to="." method="on_timer" binds= [&"уарэп-эмс"]]