diff --git a/data/кнопка-масштаб.png b/data/кнопка-масштаб.png index 2cce226..f614731 100644 Binary files a/data/кнопка-масштаб.png and b/data/кнопка-масштаб.png differ diff --git a/scenes/btn-scale/btn-scale.tscn b/scenes/btn-scale/btn-scale.tscn index 8508825..8950714 100644 --- a/scenes/btn-scale/btn-scale.tscn +++ b/scenes/btn-scale/btn-scale.tscn @@ -1,15 +1,14 @@ [gd_scene load_steps=2 format=3 uid="uid://0uqi1ghf7sma"] -[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_ymtay"] -load_path = "res://.godot/imported/кнопка-масштаб.png-506c26462e59a71e6707c554c495504e.ctex" +[ext_resource type="Texture2D" uid="uid://c1maea6yhd3k7" path="res://data/кнопка-масштаб.png" id="1_alf62"] [node name="btn_scale" type="TextureButton"] self_modulate = Color(1, 1, 1, 0.509804) -offset_right = 152.0 -offset_bottom = 18.0 +offset_right = 100.0 +offset_bottom = 20.0 tooltip_text = "Измененяет масштаб" action_mode = 0 -texture_normal = SubResource("CompressedTexture2D_ymtay") +texture_normal = ExtResource("1_alf62") ignore_texture_size = true stretch_mode = 0 metadata/prefix = "Детализация:" @@ -19,6 +18,6 @@ metadata/zooms = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] [node name="lbl" type="Label" parent="."] layout_mode = 0 offset_top = -18.0 -offset_right = 152.0 -offset_bottom = 1.0 +offset_right = 100.0 +offset_bottom = 2.0 vertical_alignment = 1 diff --git a/scenes/button-flat/button-flat.tscn b/scenes/button-flat/button-flat.tscn index a481d39..72c7f5b 100644 --- a/scenes/button-flat/button-flat.tscn +++ b/scenes/button-flat/button-flat.tscn @@ -5,16 +5,6 @@ [sub_resource type="StyleBoxEmpty" id="1"] -[sub_resource type="StyleBoxEmpty" id="6"] - -[sub_resource type="StyleBoxEmpty" id="2"] - -[sub_resource type="StyleBoxEmpty" id="3"] - -[sub_resource type="StyleBoxEmpty" id="5"] - -[sub_resource type="StyleBoxEmpty" id="4"] - [sub_resource type="Shader" id="Shader_2bftm"] code = "shader_type canvas_item; @@ -92,6 +82,16 @@ extends Sprite2D get: return material.get('shader_parameter/disabled') " +[sub_resource type="StyleBoxEmpty" id="6"] + +[sub_resource type="StyleBoxEmpty" id="2"] + +[sub_resource type="StyleBoxEmpty" id="3"] + +[sub_resource type="StyleBoxEmpty" id="5"] + +[sub_resource type="StyleBoxEmpty" id="4"] + [node name="container" type="PanelContainer"] offset_right = 20.0 offset_bottom = 20.0 @@ -99,6 +99,14 @@ theme_override_styles/panel = SubResource("1") script = ExtResource("1_ui6sg") toggle_mode = true +[node name="back" type="Sprite2D" parent="."] +material = SubResource("ShaderMaterial_hhdyc") +scale = Vector2(20, 20) +texture = SubResource("PlaceholderTexture2D_6nup5") +centered = false +script = SubResource("GDScript_uyl5d") +speed = 0.0 + [node name="state" type="NinePatchRect" parent="."] layout_mode = 2 texture = ExtResource("2_0cn5u") @@ -121,14 +129,6 @@ theme_override_styles/focus = SubResource("4") toggle_mode = true clip_text = true -[node name="back" type="Sprite2D" parent="."] -material = SubResource("ShaderMaterial_hhdyc") -scale = Vector2(20, 20) -texture = SubResource("PlaceholderTexture2D_6nup5") -centered = false -script = SubResource("GDScript_uyl5d") -speed = 0.0 - [connection signal="resized" from="." to="." method="_on_resized"] -[connection signal="toggled" from="button" to="." method="_on_button_toggled"] [connection signal="visibility_changed" from="back" to="back" method="_on_visibility_changed"] +[connection signal="toggled" from="button" to="." method="_on_button_toggled"] diff --git a/scenes/pribor-prd-k/kasseta-fs-kd.tscn b/scenes/pribor-prd-k/kasseta-fs-kd.tscn new file mode 100644 index 0000000..8462ec6 --- /dev/null +++ b/scenes/pribor-prd-k/kasseta-fs-kd.tscn @@ -0,0 +1,75 @@ +[gd_scene load_steps=4 format=3 uid="uid://bmagw8nd0ulhj"] + +[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_1jljp"] +[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_01mea"] +[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_kqnvt"] + +[node name="kasseta_fs_kd" type="NinePatchRect"] +offset_right = 310.0 +offset_bottom = 190.0 +texture = ExtResource("1_1jljp") +patch_margin_left = 16 +patch_margin_top = 16 +patch_margin_right = 16 +patch_margin_bottom = 16 +script = ExtResource("2_01mea") +metadata/Fname = "" + +[node name="lbl_fname" type="Label" parent="."] +self_modulate = Color(1, 1, 1, 0.62) +layout_mode = 0 +offset_left = 5.0 +offset_top = 7.0 +offset_right = 303.0 +offset_bottom = 33.0 +text = "Кассета" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="ref_A2" parent="." instance=ExtResource("3_kqnvt")] +offset_left = 5.0 +offset_top = 33.0 +offset_right = 55.0 +offset_bottom = 183.0 +fname = "Модуль ФС" +rname = "A1" + +[node name="ref_A3" parent="." instance=ExtResource("3_kqnvt")] +offset_left = 55.0 +offset_top = 33.0 +offset_right = 105.0 +offset_bottom = 183.0 +fname = "Блок ФС-1" +rname = "A4" + +[node name="ref_A4" parent="." instance=ExtResource("3_kqnvt")] +offset_left = 105.0 +offset_top = 33.0 +offset_right = 155.0 +offset_bottom = 183.0 +fname = "Модуль ФС" +rname = "A2" + +[node name="ref_A6" parent="." instance=ExtResource("3_kqnvt")] +offset_left = 155.0 +offset_top = 33.0 +offset_right = 205.0 +offset_bottom = 183.0 +fname = "Блок ФС-6" +rname = "A4" + +[node name="ref_A5" parent="." instance=ExtResource("3_kqnvt")] +offset_left = 205.0 +offset_top = 33.0 +offset_right = 255.0 +offset_bottom = 183.0 +fname = "Модуль ФС" +rname = "A3" + +[node name="ref_A7" parent="." instance=ExtResource("3_kqnvt")] +offset_left = 255.0 +offset_top = 33.0 +offset_right = 305.0 +offset_bottom = 183.0 +fname = "Блок ФС-2" +rname = "A6" diff --git a/scenes/pribor-prd-k/kasseta-p-1.tscn b/scenes/pribor-prd-k/kasseta-p-1.tscn new file mode 100644 index 0000000..d3ed7e9 --- /dev/null +++ b/scenes/pribor-prd-k/kasseta-p-1.tscn @@ -0,0 +1,50 @@ +[gd_scene load_steps=4 format=3 uid="uid://cg2ecoyms7xy2"] + +[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_sbi2k"] +[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_7ydqi"] +[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_gg14a"] + +[node name="kasseta_p_1" type="NinePatchRect"] +offset_right = 165.0 +offset_bottom = 190.0 +texture = ExtResource("1_sbi2k") +patch_margin_left = 16 +patch_margin_top = 16 +patch_margin_right = 16 +patch_margin_bottom = 16 +script = ExtResource("2_7ydqi") + +[node name="ref_A26" parent="." instance=ExtResource("3_gg14a")] +offset_left = 7.0 +offset_top = 30.0 +offset_right = 57.0 +offset_bottom = 180.0 +fname = "ИП12-50" +rname = "A26" + +[node name="ref_A23" parent="." instance=ExtResource("3_gg14a")] +offset_left = 57.0 +offset_top = 30.0 +offset_right = 107.0 +offset_bottom = 180.0 +fname = "ИП9-50" +rname = "A23" + +[node name="ref_A24" parent="." instance=ExtResource("3_gg14a")] +offset_left = 107.0 +offset_top = 30.0 +offset_right = 157.0 +offset_bottom = 180.0 +fname = "ИП9-50" +rname = "A24" + +[node name="lbl_fname" type="Label" parent="."] +self_modulate = Color(1, 1, 1, 0.62) +layout_mode = 0 +offset_left = 5.0 +offset_top = 5.0 +offset_right = 157.0 +offset_bottom = 30.0 +text = "Кассета" +horizontal_alignment = 1 +vertical_alignment = 1 diff --git a/scenes/pribor-prd-k/kasseta-p-2.tscn b/scenes/pribor-prd-k/kasseta-p-2.tscn new file mode 100644 index 0000000..3fd5759 --- /dev/null +++ b/scenes/pribor-prd-k/kasseta-p-2.tscn @@ -0,0 +1,41 @@ +[gd_scene load_steps=4 format=3 uid="uid://dq31j24gv5vi4"] + +[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_jghyg"] +[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_mdnod"] +[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_4a27g"] + +[node name="kasseta_p_2" type="NinePatchRect"] +offset_right = 120.0 +offset_bottom = 190.0 +texture = ExtResource("1_jghyg") +patch_margin_left = 16 +patch_margin_top = 16 +patch_margin_right = 16 +patch_margin_bottom = 16 +script = ExtResource("2_mdnod") + +[node name="ref_A26" parent="." instance=ExtResource("3_4a27g")] +offset_left = 10.0 +offset_top = 30.0 +offset_right = 60.0 +offset_bottom = 180.0 +fname = "ИП12-50" +rname = "A25" + +[node name="ref_A23" parent="." instance=ExtResource("3_4a27g")] +offset_left = 60.0 +offset_top = 30.0 +offset_right = 110.0 +offset_bottom = 180.0 +fname = "ИП9-50" +rname = "A22" + +[node name="lbl_fname" type="Label" parent="."] +self_modulate = Color(1, 1, 1, 0.62) +layout_mode = 0 +offset_left = 5.0 +offset_top = 5.0 +offset_right = 105.0 +offset_bottom = 30.0 +horizontal_alignment = 1 +vertical_alignment = 1 diff --git a/scenes/pribor-prd-k/kasseta-u-5.tscn b/scenes/pribor-prd-k/kasseta-u-5.tscn new file mode 100644 index 0000000..331b107 --- /dev/null +++ b/scenes/pribor-prd-k/kasseta-u-5.tscn @@ -0,0 +1,74 @@ +[gd_scene load_steps=4 format=3 uid="uid://3yi2fc54tkei"] + +[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_bnifj"] +[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_6hp1m"] +[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_picsk"] + +[node name="kasseta_u5" type="NinePatchRect"] +offset_right = 310.0 +offset_bottom = 190.0 +texture = ExtResource("1_bnifj") +patch_margin_left = 16 +patch_margin_top = 16 +patch_margin_right = 16 +patch_margin_bottom = 16 +script = ExtResource("2_6hp1m") + +[node name="lbl_fname" type="Label" parent="."] +self_modulate = Color(1, 1, 1, 0.62) +layout_mode = 0 +offset_left = 5.0 +offset_top = 7.0 +offset_right = 305.0 +offset_bottom = 35.0 +text = "Кассета" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="ref_A31" parent="." instance=ExtResource("3_picsk")] +offset_left = 5.0 +offset_top = 32.0 +offset_right = 55.0 +offset_bottom = 182.0 +fname = "ИП5-25" +rname = "A31" + +[node name="ref_A37" parent="." instance=ExtResource("3_picsk")] +offset_left = 55.0 +offset_top = 32.0 +offset_right = 105.0 +offset_bottom = 182.0 +fname = "ЯУ-07Б" +rname = "A37" + +[node name="ref_A33" parent="." instance=ExtResource("3_picsk")] +offset_left = 105.0 +offset_top = 32.0 +offset_right = 155.0 +offset_bottom = 182.0 +fname = "ЭМС-Г" +rname = "A33" + +[node name="ref_A34" parent="." instance=ExtResource("3_picsk")] +offset_left = 155.0 +offset_top = 32.0 +offset_right = 205.0 +offset_bottom = 182.0 +fname = "УГ" +rname = "A34" + +[node name="ref_A35" parent="." instance=ExtResource("3_picsk")] +offset_left = 205.0 +offset_top = 32.0 +offset_right = 255.0 +offset_bottom = 182.0 +fname = "УКП" +rname = "A35" + +[node name="ref_A36" parent="." instance=ExtResource("3_picsk")] +offset_left = 254.0 +offset_top = 32.0 +offset_right = 304.0 +offset_bottom = 182.0 +fname = "УКП" +rname = "A36" diff --git a/scenes/pribor-prd-k/pribor-prd-k.tscn b/scenes/pribor-prd-k/pribor-prd-k.tscn index 58617fa..d68e041 100644 --- a/scenes/pribor-prd-k/pribor-prd-k.tscn +++ b/scenes/pribor-prd-k/pribor-prd-k.tscn @@ -1,853 +1,230 @@ -[gd_scene load_steps=7 format=3 uid="uid://m5s87q7m66lj"] +[gd_scene load_steps=9 format=3 uid="uid://m5s87q7m66lj"] +[ext_resource type="Script" path="res://scenes/контроль/прибор.gd" id="1_7kjrl"] [ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/element_h.tscn" id="1_8dmgr"] [ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="2_14h25"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_gp8lw"] -[ext_resource type="PackedScene" uid="uid://dyjtmfm4u58mu" path="res://scenes/контроль/indicator_h.tscn" id="4_v1lf4"] -[ext_resource type="Texture2D" uid="uid://dnreyfh3cd1k2" path="res://data/состояние-исправности-1.png" id="5_pbg7k"] +[ext_resource type="PackedScene" uid="uid://bk1655p4e8y4u" path="res://scenes/pribor-prd-n/kasseta-u-5.tscn" id="3_7orfk"] +[ext_resource type="PackedScene" uid="uid://bkxblfoj7ejv0" path="res://scenes/контроль/um1535.tscn" id="6_fmhtx"] +[ext_resource type="PackedScene" uid="uid://cg2ecoyms7xy2" path="res://scenes/pribor-prd-k/kasseta-p-1.tscn" id="7_cjjs2"] +[ext_resource type="PackedScene" uid="uid://bmagw8nd0ulhj" path="res://scenes/pribor-prd-k/kasseta-fs-kd.tscn" id="7_ia27q"] +[ext_resource type="PackedScene" uid="uid://dq31j24gv5vi4" path="res://scenes/pribor-prd-k/kasseta-p-2.tscn" id="8_6fdp7"] -[sub_resource type="GDScript" id="GDScript_wd8f0"] -script/source = "extends Control - -func set_header_text(header_text: String): $lbl_header.text = header_text -" - -[node name="pribor_prd_n" type="Control"] +[node name="pribor_prd_k" type="Control"] layout_mode = 3 anchors_preset = 0 offset_left = 15.0 offset_top = 30.0 offset_right = 15.0 offset_bottom = 30.0 -script = SubResource("GDScript_wd8f0") - -[node name="ref_A13L" parent="." instance=ExtResource("1_8dmgr")] -layout_mode = 2 -offset_top = 230.0 -offset_right = 160.0 -offset_bottom = 280.0 -fname = "УМ1535Б" -rname = "A13" - -[node name="ref_A13R" parent="." instance=ExtResource("1_8dmgr")] -layout_mode = 2 -offset_left = 490.0 -offset_top = 230.0 -offset_right = 650.0 -offset_bottom = 280.0 -fname = "УМ1535Б" -rname = "A7" - -[node name="ref_A14L" parent="." instance=ExtResource("1_8dmgr")] -layout_mode = 2 -offset_top = 300.0 -offset_right = 160.0 -offset_bottom = 350.0 -fname = "УМ1535Б" -rname = "A14" - -[node name="ref_A14R" parent="." instance=ExtResource("1_8dmgr")] -layout_mode = 2 -offset_left = 490.0 -offset_top = 300.0 -offset_right = 650.0 -offset_bottom = 350.0 -fname = "УМ1535Б" -rname = "A8" - -[node name="ref_A15L" parent="." instance=ExtResource("1_8dmgr")] -layout_mode = 2 -offset_top = 400.0 -offset_right = 160.0 -offset_bottom = 450.0 -fname = "УМ1535Б" -rname = "A15" - -[node name="ref_A15R" parent="." instance=ExtResource("1_8dmgr")] -layout_mode = 2 -offset_left = 490.0 -offset_top = 400.0 -offset_right = 650.0 -offset_bottom = 450.0 -fname = "УМ1535Б" -rname = "A9" - -[node name="ref_A16L" parent="." instance=ExtResource("1_8dmgr")] -layout_mode = 2 -offset_top = 475.0 -offset_right = 160.0 -offset_bottom = 525.0 -fname = "УМ1535Б" -rname = "A16" - -[node name="ref_A16R" parent="." instance=ExtResource("1_8dmgr")] -layout_mode = 2 -offset_left = 490.0 -offset_top = 475.0 -offset_right = 650.0 -offset_bottom = 525.0 -fname = "УМ1535Б" -rname = "A10" - -[node name="ref_A17L" parent="." instance=ExtResource("1_8dmgr")] -layout_mode = 2 -offset_top = 575.0 -offset_right = 160.0 -offset_bottom = 625.0 -fname = "УМ1535Б" -rname = "A17" - -[node name="ref_A17R" parent="." instance=ExtResource("1_8dmgr")] -layout_mode = 2 -offset_left = 490.0 -offset_top = 575.0 -offset_right = 650.0 -offset_bottom = 625.0 -fname = "УМ1535Б" -rname = "A11" - -[node name="ref_A18L" parent="." instance=ExtResource("1_8dmgr")] -layout_mode = 2 -offset_top = 650.0 -offset_right = 160.0 -offset_bottom = 700.0 -fname = "УМ1535Б" -rname = "A18" - -[node name="ref_A18R" parent="." instance=ExtResource("1_8dmgr")] -layout_mode = 2 -offset_left = 490.0 -offset_top = 650.0 -offset_right = 650.0 -offset_bottom = 700.0 -fname = "УМ1535Б" -rname = "A12" - -[node name="ref_A23L" parent="." instance=ExtResource("1_8dmgr")] -layout_mode = 2 -offset_top = 750.0 -offset_right = 160.0 -offset_bottom = 910.0 -fname = "MAA2000" -rname = "A27" - -[node name="ref_A23R" parent="." instance=ExtResource("1_8dmgr")] -layout_mode = 2 -offset_left = 490.0 -offset_top = 750.0 -offset_right = 650.0 -offset_bottom = 910.0 -fname = "MAA2000" -rname = "A28" - -[node name="ref_ZZ0" type="NinePatchRect" parent="."] -layout_mode = 0 -offset_left = 170.0 -offset_top = 229.0 -offset_right = 480.0 -offset_bottom = 389.0 -texture = ExtResource("2_14h25") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="ref_A1" parent="ref_ZZ0" instance=ExtResource("3_gp8lw")] -offset_left = 5.0 -offset_top = 5.0 -offset_right = 55.0 -offset_bottom = 155.0 -fname = "ИП5-25" -rname = "A24" - -[node name="ref_A2" parent="ref_ZZ0" instance=ExtResource("3_gp8lw")] -offset_left = 55.0 -offset_top = 5.0 -offset_right = 105.0 -offset_bottom = 155.0 -fname = "ЯУ-07Б" -rname = "A30" - -[node name="ref_A3" parent="ref_ZZ0" instance=ExtResource("3_gp8lw")] -offset_left = 105.0 -offset_top = 5.0 -offset_right = 155.0 -offset_bottom = 155.0 -fname = "ЭМС-Г" -rname = "A26" - -[node name="ref_A4" parent="ref_ZZ0" instance=ExtResource("3_gp8lw")] -offset_left = 155.0 -offset_top = 5.0 -offset_right = 205.0 -offset_bottom = 155.0 -fname = "УГ" -rname = "A27" - -[node name="ref_A5" parent="ref_ZZ0" instance=ExtResource("3_gp8lw")] -offset_left = 205.0 -offset_top = 5.0 -offset_right = 255.0 -offset_bottom = 155.0 -fname = "УКП" -rname = "A28" - -[node name="ref_A6" parent="ref_ZZ0" instance=ExtResource("3_gp8lw")] -offset_left = 255.0 -offset_top = 4.0 -offset_right = 305.0 -offset_bottom = 154.0 -fname = "УКП" -rname = "A29" - -[node name="ref_ZZ1" type="NinePatchRect" parent="."] -layout_mode = 0 -offset_left = 170.0 -offset_top = 400.0 -offset_right = 480.0 -offset_bottom = 560.0 -texture = ExtResource("2_14h25") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="ref_A1" parent="ref_ZZ1" instance=ExtResource("3_gp8lw")] -offset_left = 55.0 -offset_top = 5.0 -offset_right = 105.0 -offset_bottom = 155.0 -fname = "Блок ФС-1" -rname = "A4" - -[node name="ref_A5" parent="ref_ZZ1" instance=ExtResource("3_gp8lw")] -offset_left = 5.0 -offset_top = 5.0 -offset_right = 55.0 -offset_bottom = 155.0 -fname = "Модуль ФС" -rname = "A1" - -[node name="ref_A2" parent="ref_ZZ1" instance=ExtResource("3_gp8lw")] -offset_left = 105.0 -offset_top = 5.0 -offset_right = 155.0 -offset_bottom = 155.0 -fname = "Модуль ФС" -rname = "A2" - -[node name="ref_A3" parent="ref_ZZ1" instance=ExtResource("3_gp8lw")] -offset_left = 155.0 -offset_top = 5.0 -offset_right = 205.0 -offset_bottom = 155.0 -fname = "Блок ФС-6" -rname = "A5" - -[node name="ref_A4" parent="ref_ZZ1" instance=ExtResource("3_gp8lw")] -offset_left = 205.0 -offset_top = 5.0 -offset_right = 255.0 -offset_bottom = 155.0 -fname = "Модуль ФС" -rname = "A3" - -[node name="ref_A6" parent="ref_ZZ1" instance=ExtResource("3_gp8lw")] -offset_left = 253.0 -offset_top = 5.0 -offset_right = 303.0 -offset_bottom = 155.0 -fname = "Блок ФС-2" -rname = "A6" - -[node name="ref_ZZ2" type="NinePatchRect" parent="."] -layout_mode = 0 -offset_left = 170.0 -offset_top = 575.0 -offset_right = 335.0 -offset_bottom = 735.0 -texture = ExtResource("2_14h25") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="ref_A21" parent="ref_ZZ2" instance=ExtResource("3_gp8lw")] -offset_left = 8.0 -offset_top = 5.0 -offset_right = 58.0 -offset_bottom = 155.0 -fname = "ИП9-50" -rname = "A23" - -[node name="ref_A20" parent="ref_ZZ2" instance=ExtResource("3_gp8lw")] -offset_left = 58.0 -offset_top = 5.0 -offset_right = 108.0 -offset_bottom = 155.0 -fname = "ИП9-50" -rname = "A24" - -[node name="ref_A19" parent="ref_ZZ2" instance=ExtResource("3_gp8lw")] -offset_left = 108.0 -offset_top = 5.0 -offset_right = 158.0 -offset_bottom = 155.0 -fname = "ИП12-50" -rname = "A26" - -[node name="ref_ZZ6" type="NinePatchRect" parent="."] -layout_mode = 0 -offset_left = 368.0 -offset_top = 575.0 -offset_right = 480.0 -offset_bottom = 735.0 -texture = ExtResource("2_14h25") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="ref_A21" parent="ref_ZZ6" instance=ExtResource("3_gp8lw")] -offset_left = 6.0 -offset_top = 5.0 -offset_right = 56.0 -offset_bottom = 155.0 -fname = "ИП9-50" -rname = "A22" - -[node name="ref_A20" parent="ref_ZZ6" instance=ExtResource("3_gp8lw")] -offset_left = 56.0 -offset_top = 5.0 -offset_right = 106.0 -offset_bottom = 155.0 -fname = "ИП12-50" -rname = "A25" - -[node name="ref_ZZ3" type="NinePatchRect" parent="."] -layout_mode = 0 -offset_left = 170.0 -offset_top = 750.0 -offset_right = 480.0 -offset_bottom = 910.0 -texture = ExtResource("2_14h25") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="Label" type="Label" parent="ref_ZZ3"] -self_modulate = Color(0.996078, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 12.0 -offset_top = 10.0 -offset_right = 297.0 -offset_bottom = 150.0 -text = "Панель -предохранителей" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="ref_ZZ4" type="NinePatchRect" parent="."] -layout_mode = 0 -offset_left = 660.0 -offset_top = 230.0 -offset_right = 880.0 -offset_bottom = 560.0 -texture = ExtResource("2_14h25") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="indicator_h1" parent="ref_ZZ4" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 55.0 -offset_right = 162.0 -offset_bottom = 75.0 - -[node name="indicator_h2" parent="ref_ZZ4" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 75.0 -offset_right = 162.0 -offset_bottom = 95.0 - -[node name="indicator_h3" parent="ref_ZZ4" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 95.0 -offset_right = 162.0 -offset_bottom = 115.0 - -[node name="indicator_h4" parent="ref_ZZ4" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 115.0 -offset_right = 162.0 -offset_bottom = 135.0 - -[node name="indicator_h5" parent="ref_ZZ4" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 135.0 -offset_right = 162.0 -offset_bottom = 155.0 - -[node name="indicator_h6" parent="ref_ZZ4" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 155.0 -offset_right = 162.0 -offset_bottom = 175.0 - -[node name="indicator_h7" parent="ref_ZZ4" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 175.0 -offset_right = 162.0 -offset_bottom = 195.0 - -[node name="indicator_h8" parent="ref_ZZ4" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 195.0 -offset_right = 162.0 -offset_bottom = 215.0 - -[node name="indicator_h9" parent="ref_ZZ4" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 215.0 -offset_right = 162.0 -offset_bottom = 235.0 - -[node name="indicator_h10" parent="ref_ZZ4" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 235.0 -offset_right = 162.0 -offset_bottom = 255.0 - -[node name="indicator_h11" parent="ref_ZZ4" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 255.0 -offset_right = 162.0 -offset_bottom = 275.0 - -[node name="indicator_h12" parent="ref_ZZ4" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 275.0 -offset_right = 162.0 -offset_bottom = 295.0 - -[node name="lbl_A1" type="Label" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 63.0 -offset_right = 205.0 -offset_bottom = 89.0 -theme_override_font_sizes/font_size = 22 -text = "A13" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A2" type="Label" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 102.0 -offset_right = 205.0 -offset_bottom = 128.0 -theme_override_font_sizes/font_size = 22 -text = "A14" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A3" type="Label" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 142.0 -offset_right = 205.0 -offset_bottom = 168.0 -theme_override_font_sizes/font_size = 22 -text = "A15" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A4" type="Label" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 182.0 -offset_right = 205.0 -offset_bottom = 208.0 -theme_override_font_sizes/font_size = 22 -text = "A16" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A5" type="Label" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 222.0 -offset_right = 205.0 -offset_bottom = 248.0 -theme_override_font_sizes/font_size = 22 -text = "A17" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A6" type="Label" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 262.0 -offset_right = 205.0 -offset_bottom = 288.0 -theme_override_font_sizes/font_size = 22 -text = "A18" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_rname" type="Label" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 175.0 -offset_top = 6.0 -offset_right = 215.0 -offset_bottom = 32.0 -theme_override_font_sizes/font_size = 22 -text = "A6" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_fname" type="Label" parent="ref_ZZ4"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 85.0 -offset_top = 6.0 -offset_right = 129.0 -offset_bottom = 32.0 -theme_override_font_sizes/font_size = 17 -text = "ДОУ-2" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_tmin" type="Label" parent="ref_ZZ4"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 10.0 -offset_top = 292.0 -offset_right = 45.0 -offset_bottom = 312.0 -theme_override_font_sizes/font_size = 17 -text = "-40" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_tmax" type="Label" parent="ref_ZZ4"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 147.0 -offset_top = 292.0 -offset_right = 196.0 -offset_bottom = 312.0 -theme_override_font_sizes/font_size = 17 -text = "-60° C" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_pmin" type="Label" parent="ref_ZZ4"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 7.0 -offset_top = 33.0 -offset_right = 27.0 -offset_bottom = 53.0 -theme_override_font_sizes/font_size = 17 -text = "0" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_pmax" type="Label" parent="ref_ZZ4"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 137.0 -offset_top = 33.0 -offset_right = 186.0 -offset_bottom = 53.0 -theme_override_font_sizes/font_size = 17 -text = "100%" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="txr_state" type="TextureRect" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 12.0 -offset_top = 9.0 -offset_right = 236.0 -offset_bottom = 233.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("5_pbg7k") - -[node name="ref_ZZ5" type="NinePatchRect" parent="."] -layout_mode = 0 -offset_left = 660.0 -offset_top = 575.0 -offset_right = 880.0 -offset_bottom = 910.0 -texture = ExtResource("2_14h25") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="indicator_h1" parent="ref_ZZ5" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 55.0 -offset_right = 162.0 -offset_bottom = 75.0 - -[node name="indicator_h2" parent="ref_ZZ5" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 75.0 -offset_right = 162.0 -offset_bottom = 95.0 - -[node name="indicator_h3" parent="ref_ZZ5" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 95.0 -offset_right = 162.0 -offset_bottom = 115.0 - -[node name="indicator_h4" parent="ref_ZZ5" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 115.0 -offset_right = 162.0 -offset_bottom = 135.0 - -[node name="indicator_h5" parent="ref_ZZ5" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 135.0 -offset_right = 162.0 -offset_bottom = 155.0 - -[node name="indicator_h6" parent="ref_ZZ5" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 155.0 -offset_right = 162.0 -offset_bottom = 175.0 - -[node name="indicator_h7" parent="ref_ZZ5" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 175.0 -offset_right = 162.0 -offset_bottom = 195.0 - -[node name="indicator_h8" parent="ref_ZZ5" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 195.0 -offset_right = 162.0 -offset_bottom = 215.0 - -[node name="indicator_h9" parent="ref_ZZ5" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 215.0 -offset_right = 162.0 -offset_bottom = 235.0 - -[node name="indicator_h10" parent="ref_ZZ5" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 235.0 -offset_right = 162.0 -offset_bottom = 255.0 - -[node name="indicator_h11" parent="ref_ZZ5" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 255.0 -offset_right = 162.0 -offset_bottom = 275.0 - -[node name="indicator_h12" parent="ref_ZZ5" instance=ExtResource("4_v1lf4")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 275.0 -offset_right = 162.0 -offset_bottom = 295.0 - -[node name="lbl_A1" type="Label" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 63.0 -offset_right = 205.0 -offset_bottom = 89.0 -theme_override_font_sizes/font_size = 22 -text = "A7" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A2" type="Label" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 102.0 -offset_right = 205.0 -offset_bottom = 128.0 -theme_override_font_sizes/font_size = 22 -text = "A8" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A3" type="Label" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 142.0 -offset_right = 205.0 -offset_bottom = 168.0 -theme_override_font_sizes/font_size = 22 -text = "A9" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A4" type="Label" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 182.0 -offset_right = 205.0 -offset_bottom = 208.0 -theme_override_font_sizes/font_size = 22 -text = "A10" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A5" type="Label" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 222.0 -offset_right = 205.0 -offset_bottom = 248.0 -theme_override_font_sizes/font_size = 22 -text = "A11" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A6" type="Label" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 262.0 -offset_right = 205.0 -offset_bottom = 288.0 -theme_override_font_sizes/font_size = 22 -text = "A12" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_rname" type="Label" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 175.0 -offset_top = 6.0 -offset_right = 215.0 -offset_bottom = 32.0 -theme_override_font_sizes/font_size = 22 -text = "A5" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_fname" type="Label" parent="ref_ZZ5"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 85.0 -offset_top = 6.0 -offset_right = 129.0 -offset_bottom = 32.0 -theme_override_font_sizes/font_size = 17 -text = "ДОУ-3" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_tmin" type="Label" parent="ref_ZZ5"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 10.0 -offset_top = 292.0 -offset_right = 45.0 -offset_bottom = 312.0 -theme_override_font_sizes/font_size = 17 -text = "-40" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_tmax" type="Label" parent="ref_ZZ5"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 147.0 -offset_top = 292.0 -offset_right = 196.0 -offset_bottom = 312.0 -theme_override_font_sizes/font_size = 17 -text = "-60° C" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_pmin" type="Label" parent="ref_ZZ5"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 7.0 -offset_top = 33.0 -offset_right = 27.0 -offset_bottom = 53.0 -theme_override_font_sizes/font_size = 17 -text = "0" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_pmax" type="Label" parent="ref_ZZ5"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 137.0 -offset_top = 33.0 -offset_right = 186.0 -offset_bottom = 53.0 -theme_override_font_sizes/font_size = 17 -text = "100%" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="txr_state" type="TextureRect" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 12.0 -offset_top = 9.0 -offset_right = 236.0 -offset_bottom = 233.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("5_pbg7k") +script = ExtResource("1_7kjrl") [node name="lbl_header" type="Label" parent="."] layout_mode = 0 -offset_top = 195.0 -offset_right = 875.0 -offset_bottom = 221.0 +offset_left = 20.0 +offset_top = 210.0 +offset_right = 640.0 +offset_bottom = 236.0 theme_override_font_sizes/font_size = 22 text = "Контроль исправности прибора ПРД-К" horizontal_alignment = 1 vertical_alignment = 1 -[node name="lbl_dev_warning" type="Label" parent="."] -self_modulate = Color(0.835294, 0.141176, 0.286275, 1) +[node name="maa2000_A22" parent="." instance=ExtResource("1_8dmgr")] layout_mode = 0 -offset_top = 910.0 -offset_right = 880.0 -offset_bottom = 929.0 -text = "** Позиционные обозначения требуют уточнения **" +offset_left = 485.0 +offset_top = 877.0 +offset_right = 645.0 +offset_bottom = 942.0 +fname = "MAA2000" +rname = "A22" + +[node name="dou2_A5" parent="." instance=ExtResource("1_8dmgr")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 812.0 +offset_right = 645.0 +offset_bottom = 877.0 +fname = "ДОУ-6" +rname = "A7" + +[node name="maa2000_A23" parent="." instance=ExtResource("1_8dmgr")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 877.0 +offset_right = 175.0 +offset_bottom = 942.0 +fname = "MAA2000" +rname = "A23" + +[node name="dou2_A6" parent="." instance=ExtResource("1_8dmgr")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 812.0 +offset_right = 175.0 +offset_bottom = 877.0 +fname = "ДОУ-7" +rname = "A8" + +[node name="ref_ZZ3" type="NinePatchRect" parent="."] +layout_mode = 0 +offset_left = 175.0 +offset_top = 812.0 +offset_right = 485.0 +offset_bottom = 942.0 +texture = ExtResource("2_14h25") +patch_margin_left = 16 +patch_margin_top = 16 +patch_margin_right = 16 +patch_margin_bottom = 16 + +[node name="label" type="Label" parent="ref_ZZ3"] +self_modulate = Color(0.996078, 1, 1, 0.627451) +layout_mode = 0 +offset_left = 10.0 +offset_top = 8.0 +offset_right = 302.0 +offset_bottom = 120.0 +text = "Панель +предохранителей" horizontal_alignment = 1 vertical_alignment = 1 + +[node name="um1535_A7" parent="." instance=ExtResource("6_fmhtx")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 242.0 +offset_right = 645.0 +offset_bottom = 337.0 +fname = "УМ1535Б" +rname = "A10" + +[node name="um1535_A8" parent="." instance=ExtResource("6_fmhtx")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 337.0 +offset_right = 645.0 +offset_bottom = 432.0 +fname = "УМ1535Б" +rname = "A11" + +[node name="um1535_A9" parent="." instance=ExtResource("6_fmhtx")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 432.0 +offset_right = 645.0 +offset_bottom = 527.0 +fname = "УМ1535Б" +rname = "A12" + +[node name="um1535_A10" parent="." instance=ExtResource("6_fmhtx")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 527.0 +offset_right = 645.0 +offset_bottom = 622.0 +fname = "УМ1535Б" +rname = "A13" + +[node name="um1535_A11" parent="." instance=ExtResource("6_fmhtx")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 622.0 +offset_right = 645.0 +offset_bottom = 717.0 +fname = "УМ1535Б" +rname = "A14" + +[node name="um1535_A12" parent="." instance=ExtResource("6_fmhtx")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 717.0 +offset_right = 645.0 +offset_bottom = 812.0 +fname = "УМ1535Б" +rname = "A15" + +[node name="um1535_A13" parent="." instance=ExtResource("6_fmhtx")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 242.0 +offset_right = 175.0 +offset_bottom = 337.0 +fname = "УМ1535Б" +rname = "A16" + +[node name="um1535_A14" parent="." instance=ExtResource("6_fmhtx")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 337.0 +offset_right = 175.0 +offset_bottom = 432.0 +fname = "УМ1535Б" +rname = "A17" + +[node name="um1535_A15" parent="." instance=ExtResource("6_fmhtx")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 432.0 +offset_right = 175.0 +offset_bottom = 527.0 +fname = "УМ1535Б" +rname = "A18" + +[node name="um1535_A16" parent="." instance=ExtResource("6_fmhtx")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 527.0 +offset_right = 175.0 +offset_bottom = 622.0 +fname = "УМ1535Б" +rname = "A19" + +[node name="um1535_A17" parent="." instance=ExtResource("6_fmhtx")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 622.0 +offset_right = 175.0 +offset_bottom = 717.0 +fname = "УМ1535Б" +rname = "A20" + +[node name="um1535_A18" parent="." instance=ExtResource("6_fmhtx")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 717.0 +offset_right = 175.0 +offset_bottom = 812.0 +fname = "УМ1535Б" +rname = "A21" + +[node name="kasseta_u5" parent="." instance=ExtResource("3_7orfk")] +layout_mode = 0 +offset_left = 175.0 +offset_top = 242.0 +offset_right = 485.0 +offset_bottom = 432.0 +fname = "Кассета У5" + +[node name="kasseta_fs_kd" parent="." instance=ExtResource("7_ia27q")] +layout_mode = 0 +offset_left = 175.0 +offset_top = 432.0 +offset_right = 485.0 +offset_bottom = 622.0 +fname = "Кассета ФС-КД" + +[node name="kasseta_p_1" parent="." instance=ExtResource("7_cjjs2")] +layout_mode = 0 +offset_left = 175.0 +offset_top = 622.0 +offset_right = 340.0 +offset_bottom = 812.0 +fname = "Кассета П-1" + +[node name="kasseta_p_2" parent="." instance=ExtResource("8_6fdp7")] +layout_mode = 0 +offset_left = 365.0 +offset_top = 622.0 +offset_right = 485.0 +offset_bottom = 812.0 +fname = "Кассета П-2" diff --git a/scenes/pribor-prd-n/kasseta-fs-nd.tscn b/scenes/pribor-prd-n/kasseta-fs-nd.tscn index 75398d6..de453b9 100644 --- a/scenes/pribor-prd-n/kasseta-fs-nd.tscn +++ b/scenes/pribor-prd-n/kasseta-fs-nd.tscn @@ -5,10 +5,8 @@ [ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="2_mkgdh"] [node name="kasseta_fs_nd" type="NinePatchRect"] -offset_left = 170.0 -offset_top = 409.0 -offset_right = 480.0 -offset_bottom = 606.0 +offset_right = 310.0 +offset_bottom = 190.0 texture = ExtResource("1_wgdti") patch_margin_left = 16 patch_margin_top = 16 @@ -23,39 +21,39 @@ layout_mode = 0 offset_left = 5.0 offset_top = 7.0 offset_right = 303.0 -offset_bottom = 42.0 +offset_bottom = 33.0 text = "Кассета" horizontal_alignment = 1 vertical_alignment = 1 [node name="ref_A2" parent="." instance=ExtResource("2_mkgdh")] offset_left = 55.0 -offset_top = 42.0 +offset_top = 32.0 offset_right = 105.0 -offset_bottom = 192.0 +offset_bottom = 182.0 fname = "Модуль ФС" rname = "A1" [node name="ref_A3" parent="." instance=ExtResource("2_mkgdh")] offset_left = 105.0 -offset_top = 42.0 +offset_top = 32.0 offset_right = 155.0 -offset_bottom = 192.0 +offset_bottom = 182.0 fname = "Блок ФС-2" rname = "A3" [node name="ref_A4" parent="." instance=ExtResource("2_mkgdh")] offset_left = 155.0 -offset_top = 42.0 +offset_top = 32.0 offset_right = 205.0 -offset_bottom = 192.0 +offset_bottom = 182.0 fname = "Модуль ФС" rname = "A2" [node name="ref_A6" parent="." instance=ExtResource("2_mkgdh")] offset_left = 205.0 -offset_top = 42.0 +offset_top = 32.0 offset_right = 255.0 -offset_bottom = 192.0 +offset_bottom = 182.0 fname = "Блок ФС-3" rname = "A4" diff --git a/scenes/pribor-prd-n/kasseta_p_1.tscn b/scenes/pribor-prd-n/kasseta-p-1.tscn similarity index 65% rename from scenes/pribor-prd-n/kasseta_p_1.tscn rename to scenes/pribor-prd-n/kasseta-p-1.tscn index ca52dda..3fcb4eb 100644 --- a/scenes/pribor-prd-n/kasseta_p_1.tscn +++ b/scenes/pribor-prd-n/kasseta-p-1.tscn @@ -1,22 +1,20 @@ [gd_scene load_steps=4 format=3 uid="uid://dbxdb7lo7kofv"] -[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_hf2ni"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="2_ermdn"] -[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_imbsh"] +[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_suecd"] +[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_q7stg"] +[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_kkuhl"] [node name="kasseta_p_1" type="NinePatchRect"] -offset_left = 170.0 -offset_top = 609.0 -offset_right = 480.0 -offset_bottom = 794.0 -texture = ExtResource("1_hf2ni") +offset_right = 310.0 +offset_bottom = 190.0 +texture = ExtResource("1_suecd") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -script = ExtResource("2_imbsh") +script = ExtResource("2_q7stg") -[node name="ref_A26" parent="." instance=ExtResource("2_ermdn")] +[node name="ref_A26" parent="." instance=ExtResource("3_kkuhl")] offset_left = 105.0 offset_top = 30.0 offset_right = 155.0 @@ -24,7 +22,7 @@ offset_bottom = 180.0 fname = "ИП12-50" rname = "A26" -[node name="ref_A23" parent="." instance=ExtResource("2_ermdn")] +[node name="ref_A23" parent="." instance=ExtResource("3_kkuhl")] offset_left = 155.0 offset_top = 30.0 offset_right = 205.0 @@ -32,7 +30,7 @@ offset_bottom = 180.0 fname = "ИП9-50" rname = "A23" -[node name="ref_A24" parent="." instance=ExtResource("2_ermdn")] +[node name="ref_A24" parent="." instance=ExtResource("3_kkuhl")] offset_left = 205.0 offset_top = 30.0 offset_right = 255.0 @@ -41,7 +39,9 @@ fname = "ИП9-50" rname = "A24" [node name="lbl_fname" type="Label" parent="."] +self_modulate = Color(1, 1, 1, 0.62) layout_mode = 0 +offset_left = 5.0 offset_top = 5.0 offset_right = 305.0 offset_bottom = 30.0 diff --git a/scenes/pribor-prd-n/kasseta-u-5.tscn b/scenes/pribor-prd-n/kasseta-u-5.tscn index 1e06c5b..bf13e58 100644 --- a/scenes/pribor-prd-n/kasseta-u-5.tscn +++ b/scenes/pribor-prd-n/kasseta-u-5.tscn @@ -5,22 +5,14 @@ [ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_51mna"] [node name="kasseta_u5" type="NinePatchRect"] -anchors_preset = -1 -anchor_left = 0.106 -anchor_top = 0.191 -anchor_right = 0.106 -anchor_bottom = 0.191 -offset_left = 0.399994 -offset_top = -0.200012 -offset_right = 310.4 -offset_bottom = 204.8 +offset_right = 310.0 +offset_bottom = 190.0 texture = ExtResource("1_b7mhj") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 script = ExtResource("2_6e76f") -fname = "Кассета" [node name="lbl_fname" type="Label" parent="."] self_modulate = Color(1, 1, 1, 0.62) @@ -35,48 +27,48 @@ vertical_alignment = 1 [node name="ref_A31" parent="." instance=ExtResource("3_51mna")] offset_left = 5.0 -offset_top = 48.0 +offset_top = 32.0 offset_right = 55.0 -offset_bottom = 198.0 +offset_bottom = 182.0 fname = "ИП5-25" rname = "A31" [node name="ref_A37" parent="." instance=ExtResource("3_51mna")] offset_left = 55.0 -offset_top = 48.0 +offset_top = 32.0 offset_right = 105.0 -offset_bottom = 198.0 +offset_bottom = 182.0 fname = "ЯУ-07Б" rname = "A37" [node name="ref_A33" parent="." instance=ExtResource("3_51mna")] offset_left = 105.0 -offset_top = 48.0 +offset_top = 32.0 offset_right = 155.0 -offset_bottom = 198.0 +offset_bottom = 182.0 fname = "ЭМС-Г" rname = "A33" [node name="ref_A34" parent="." instance=ExtResource("3_51mna")] offset_left = 155.0 -offset_top = 48.0 +offset_top = 32.0 offset_right = 205.0 -offset_bottom = 198.0 +offset_bottom = 182.0 fname = "УГ" rname = "A34" [node name="ref_A35" parent="." instance=ExtResource("3_51mna")] offset_left = 205.0 -offset_top = 48.0 +offset_top = 32.0 offset_right = 255.0 -offset_bottom = 198.0 +offset_bottom = 182.0 fname = "УКП" rname = "A35" [node name="ref_A36" parent="." instance=ExtResource("3_51mna")] offset_left = 254.0 -offset_top = 47.0 +offset_top = 32.0 offset_right = 304.0 -offset_bottom = 197.0 +offset_bottom = 182.0 fname = "УКП" rname = "A36" diff --git a/scenes/pribor-prd-n/pribor-prd-n.tscn b/scenes/pribor-prd-n/pribor-prd-n.tscn index fcba7e7..5489f6e 100644 --- a/scenes/pribor-prd-n/pribor-prd-n.tscn +++ b/scenes/pribor-prd-n/pribor-prd-n.tscn @@ -1,34 +1,12 @@ [gd_scene load_steps=8 format=3 uid="uid://dnuexoef2nnv5"] +[ext_resource type="Script" path="res://scenes/контроль/прибор.gd" id="1_mcea3"] [ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/element_h.tscn" id="2_lpj3d"] [ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="4_i1no5"] [ext_resource type="PackedScene" uid="uid://bk1655p4e8y4u" path="res://scenes/pribor-prd-n/kasseta-u-5.tscn" id="5_ej152"] -[ext_resource type="Texture2D" uid="uid://dnreyfh3cd1k2" path="res://data/состояние-исправности-1.png" id="5_n0aaa"] -[ext_resource type="PackedScene" uid="uid://dyjtmfm4u58mu" path="res://scenes/контроль/indicator_h.tscn" id="8_q1orh"] - -[sub_resource type="GDScript" id="GDScript_wd8f0"] -script/source = "@tool - -extends Control - - -@export var fname: String: - set(v): - fname = v - - -@export var rname: String: - set(v): - rname = v - - -func set_header_text(header_text: String): - $lbl_header.text = header_text -" - -[sub_resource type="GDScript" id="GDScript_auqpj"] -script/source = "extends NinePatchRect -" +[ext_resource type="PackedScene" uid="uid://cd5sue1e8iyrv" path="res://scenes/pribor-prd-n/kasseta-fs-nd.tscn" id="6_1p3pi"] +[ext_resource type="PackedScene" uid="uid://dbxdb7lo7kofv" path="res://scenes/pribor-prd-n/kasseta-p-1.tscn" id="7_klldp"] +[ext_resource type="PackedScene" uid="uid://bkxblfoj7ejv0" path="res://scenes/контроль/um1535.tscn" id="8_u7eqo"] [node name="pribor_prd_n" type="Control"] layout_mode = 3 @@ -37,651 +15,207 @@ offset_left = 15.0 offset_top = 30.0 offset_right = 15.0 offset_bottom = 30.0 -script = SubResource("GDScript_wd8f0") +script = ExtResource("1_mcea3") -[node name="ref_A13" parent="." instance=ExtResource("2_lpj3d")] +[node name="maa2000_A22" parent="." instance=ExtResource("2_lpj3d")] layout_mode = 2 -offset_top = 230.0 -offset_right = 160.0 -offset_bottom = 280.0 -fname = "УМ1535А" -rname = "A13" - -[node name="ref_A7" parent="." instance=ExtResource("2_lpj3d")] -layout_mode = 2 -offset_left = 490.0 -offset_top = 230.0 -offset_right = 650.0 -offset_bottom = 280.0 -fname = "УМ1535А" -rname = "A7" - -[node name="ref_A14" parent="." instance=ExtResource("2_lpj3d")] -layout_mode = 2 -offset_top = 300.0 -offset_right = 160.0 -offset_bottom = 350.0 -fname = "УМ1535А" -rname = "A14" - -[node name="ref_A8" parent="." instance=ExtResource("2_lpj3d")] -layout_mode = 2 -offset_left = 490.0 -offset_top = 300.0 -offset_right = 650.0 -offset_bottom = 350.0 -fname = "УМ1535А" -rname = "A8" - -[node name="ref_A15" parent="." instance=ExtResource("2_lpj3d")] -layout_mode = 2 -offset_top = 446.0 -offset_right = 160.0 -offset_bottom = 496.0 -fname = "УМ1535А" -rname = "A15" - -[node name="ref_A9" parent="." instance=ExtResource("2_lpj3d")] -layout_mode = 2 -offset_left = 490.0 -offset_top = 446.0 -offset_right = 650.0 -offset_bottom = 496.0 -fname = "УМ1535А" -rname = "A9" - -[node name="ref_A16" parent="." instance=ExtResource("2_lpj3d")] -layout_mode = 2 -offset_top = 521.0 -offset_right = 160.0 -offset_bottom = 571.0 -fname = "УМ1535А" -rname = "A16" - -[node name="ref_A10" parent="." instance=ExtResource("2_lpj3d")] -layout_mode = 2 -offset_left = 490.0 -offset_top = 521.0 -offset_right = 650.0 -offset_bottom = 571.0 -fname = "УМ1535А" -rname = "A10" - -[node name="ref_A17" parent="." instance=ExtResource("2_lpj3d")] -layout_mode = 2 -offset_top = 621.0 -offset_right = 160.0 -offset_bottom = 671.0 -fname = "УМ1535А" -rname = "A17" - -[node name="ref_A11" parent="." instance=ExtResource("2_lpj3d")] -layout_mode = 2 -offset_left = 490.0 -offset_top = 621.0 -offset_right = 650.0 -offset_bottom = 671.0 -fname = "УМ1535А" -rname = "A11" - -[node name="ref_A18" parent="." instance=ExtResource("2_lpj3d")] -layout_mode = 2 -offset_top = 696.0 -offset_right = 160.0 -offset_bottom = 746.0 -fname = "УМ1535А" -rname = "A18" - -[node name="ref_A12" parent="." instance=ExtResource("2_lpj3d")] -layout_mode = 2 -offset_left = 490.0 -offset_top = 696.0 -offset_right = 650.0 -offset_bottom = 746.0 -fname = "УМ1535А" -rname = "A12" - -[node name="ref_A22" parent="." instance=ExtResource("2_lpj3d")] -layout_mode = 2 -offset_top = 796.0 -offset_right = 160.0 -offset_bottom = 956.0 +offset_left = 485.0 +offset_top = 877.0 +offset_right = 645.0 +offset_bottom = 942.0 fname = "MAA2000" rname = "A22" -[node name="ref_A23" parent="." instance=ExtResource("2_lpj3d")] +[node name="dou2_A5" parent="." instance=ExtResource("2_lpj3d")] layout_mode = 2 -offset_left = 490.0 -offset_top = 796.0 -offset_right = 650.0 -offset_bottom = 956.0 +offset_left = 485.0 +offset_top = 812.0 +offset_right = 645.0 +offset_bottom = 877.0 +fname = "ДОУ-2" +rname = "A5" + +[node name="maa2000_A23" parent="." instance=ExtResource("2_lpj3d")] +layout_mode = 2 +offset_left = 15.0 +offset_top = 877.0 +offset_right = 175.0 +offset_bottom = 942.0 fname = "MAA2000" rname = "A23" +[node name="dou2_A6" parent="." instance=ExtResource("2_lpj3d")] +layout_mode = 2 +offset_left = 15.0 +offset_top = 812.0 +offset_right = 175.0 +offset_bottom = 877.0 +fname = "ДОУ-3" +rname = "A6" + [node name="ref_ZZ3" type="NinePatchRect" parent="."] layout_mode = 0 -offset_left = 170.0 -offset_top = 796.0 -offset_right = 480.0 -offset_bottom = 956.0 +offset_left = 175.0 +offset_top = 812.0 +offset_right = 485.0 +offset_bottom = 942.0 texture = ExtResource("4_i1no5") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -script = SubResource("GDScript_auqpj") [node name="label" type="Label" parent="ref_ZZ3"] self_modulate = Color(0.996078, 1, 1, 0.627451) layout_mode = 0 -offset_left = 12.0 -offset_top = 10.0 -offset_right = 297.0 -offset_bottom = 150.0 +offset_left = 10.0 +offset_top = 8.0 +offset_right = 302.0 +offset_bottom = 120.0 text = "Панель предохранителей" horizontal_alignment = 1 vertical_alignment = 1 -[node name="ref_ZZ4" type="NinePatchRect" parent="."] -layout_mode = 0 -offset_left = 660.0 -offset_top = 230.0 -offset_right = 880.0 -offset_bottom = 560.0 -texture = ExtResource("4_i1no5") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="indicator_h1" parent="ref_ZZ4" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 55.0 -offset_right = 162.0 -offset_bottom = 75.0 - -[node name="indicator_h2" parent="ref_ZZ4" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 75.0 -offset_right = 162.0 -offset_bottom = 95.0 - -[node name="indicator_h3" parent="ref_ZZ4" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 95.0 -offset_right = 162.0 -offset_bottom = 115.0 - -[node name="indicator_h4" parent="ref_ZZ4" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 115.0 -offset_right = 162.0 -offset_bottom = 135.0 - -[node name="indicator_h5" parent="ref_ZZ4" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 135.0 -offset_right = 162.0 -offset_bottom = 155.0 - -[node name="indicator_h6" parent="ref_ZZ4" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 155.0 -offset_right = 162.0 -offset_bottom = 175.0 - -[node name="indicator_h7" parent="ref_ZZ4" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 175.0 -offset_right = 162.0 -offset_bottom = 195.0 - -[node name="indicator_h8" parent="ref_ZZ4" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 195.0 -offset_right = 162.0 -offset_bottom = 215.0 - -[node name="indicator_h9" parent="ref_ZZ4" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 215.0 -offset_right = 162.0 -offset_bottom = 235.0 - -[node name="indicator_h10" parent="ref_ZZ4" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 235.0 -offset_right = 162.0 -offset_bottom = 255.0 - -[node name="indicator_h11" parent="ref_ZZ4" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 255.0 -offset_right = 162.0 -offset_bottom = 275.0 - -[node name="indicator_h12" parent="ref_ZZ4" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 275.0 -offset_right = 162.0 -offset_bottom = 295.0 - -[node name="lbl_A1" type="Label" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 63.0 -offset_right = 205.0 -offset_bottom = 89.0 -theme_override_font_sizes/font_size = 22 -text = "A7 -" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A2" type="Label" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 102.0 -offset_right = 205.0 -offset_bottom = 128.0 -theme_override_font_sizes/font_size = 22 -text = "A8" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A3" type="Label" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 142.0 -offset_right = 205.0 -offset_bottom = 168.0 -theme_override_font_sizes/font_size = 22 -text = "A9" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A4" type="Label" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 182.0 -offset_right = 205.0 -offset_bottom = 208.0 -theme_override_font_sizes/font_size = 22 -text = "A10" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A5" type="Label" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 222.0 -offset_right = 205.0 -offset_bottom = 248.0 -theme_override_font_sizes/font_size = 22 -text = "A11" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A6" type="Label" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 262.0 -offset_right = 205.0 -offset_bottom = 288.0 -theme_override_font_sizes/font_size = 22 -text = "A12" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_rname" type="Label" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 175.0 -offset_top = 6.0 -offset_right = 215.0 -offset_bottom = 32.0 -theme_override_font_sizes/font_size = 22 -text = "A5" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_fname" type="Label" parent="ref_ZZ4"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 85.0 -offset_top = 6.0 -offset_right = 129.0 -offset_bottom = 32.0 -theme_override_font_sizes/font_size = 17 -text = "ДОУ-2" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_tmin" type="Label" parent="ref_ZZ4"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 10.0 -offset_top = 292.0 -offset_right = 45.0 -offset_bottom = 312.0 -theme_override_font_sizes/font_size = 17 -text = "-40" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_tmax" type="Label" parent="ref_ZZ4"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 147.0 -offset_top = 292.0 -offset_right = 196.0 -offset_bottom = 312.0 -theme_override_font_sizes/font_size = 17 -text = "-60° C" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_pmin" type="Label" parent="ref_ZZ4"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 7.0 -offset_top = 33.0 -offset_right = 27.0 -offset_bottom = 53.0 -theme_override_font_sizes/font_size = 17 -text = "0" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_pmax" type="Label" parent="ref_ZZ4"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 137.0 -offset_top = 33.0 -offset_right = 186.0 -offset_bottom = 53.0 -theme_override_font_sizes/font_size = 17 -text = "100%" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="txr_state" type="TextureRect" parent="ref_ZZ4"] -layout_mode = 0 -offset_left = 12.0 -offset_top = 9.0 -offset_right = 236.0 -offset_bottom = 233.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("5_n0aaa") - -[node name="ref_ZZ5" type="NinePatchRect" parent="."] -layout_mode = 0 -offset_left = 660.0 -offset_top = 575.0 -offset_right = 880.0 -offset_bottom = 910.0 -texture = ExtResource("4_i1no5") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="indicator_h1" parent="ref_ZZ5" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 55.0 -offset_right = 162.0 -offset_bottom = 75.0 - -[node name="indicator_h2" parent="ref_ZZ5" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 75.0 -offset_right = 162.0 -offset_bottom = 95.0 - -[node name="indicator_h3" parent="ref_ZZ5" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 95.0 -offset_right = 162.0 -offset_bottom = 115.0 - -[node name="indicator_h4" parent="ref_ZZ5" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 115.0 -offset_right = 162.0 -offset_bottom = 135.0 - -[node name="indicator_h5" parent="ref_ZZ5" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 135.0 -offset_right = 162.0 -offset_bottom = 155.0 - -[node name="indicator_h6" parent="ref_ZZ5" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 155.0 -offset_right = 162.0 -offset_bottom = 175.0 - -[node name="indicator_h7" parent="ref_ZZ5" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 175.0 -offset_right = 162.0 -offset_bottom = 195.0 - -[node name="indicator_h8" parent="ref_ZZ5" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 195.0 -offset_right = 162.0 -offset_bottom = 215.0 - -[node name="indicator_h9" parent="ref_ZZ5" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 215.0 -offset_right = 162.0 -offset_bottom = 235.0 - -[node name="indicator_h10" parent="ref_ZZ5" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 235.0 -offset_right = 162.0 -offset_bottom = 255.0 - -[node name="indicator_h11" parent="ref_ZZ5" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 255.0 -offset_right = 162.0 -offset_bottom = 275.0 - -[node name="indicator_h12" parent="ref_ZZ5" instance=ExtResource("8_q1orh")] -layout_mode = 0 -offset_left = 12.0 -offset_top = 275.0 -offset_right = 162.0 -offset_bottom = 295.0 - -[node name="lbl_A1" type="Label" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 63.0 -offset_right = 205.0 -offset_bottom = 89.0 -theme_override_font_sizes/font_size = 22 -text = "A13" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A2" type="Label" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 102.0 -offset_right = 205.0 -offset_bottom = 128.0 -theme_override_font_sizes/font_size = 22 -text = "A14" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A3" type="Label" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 142.0 -offset_right = 205.0 -offset_bottom = 168.0 -theme_override_font_sizes/font_size = 22 -text = "A15" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A4" type="Label" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 182.0 -offset_right = 205.0 -offset_bottom = 208.0 -theme_override_font_sizes/font_size = 22 -text = "A16" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A5" type="Label" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 222.0 -offset_right = 205.0 -offset_bottom = 248.0 -theme_override_font_sizes/font_size = 22 -text = "A17" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_A6" type="Label" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 165.0 -offset_top = 262.0 -offset_right = 205.0 -offset_bottom = 288.0 -theme_override_font_sizes/font_size = 22 -text = "A18" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_rname" type="Label" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 175.0 -offset_top = 6.0 -offset_right = 215.0 -offset_bottom = 32.0 -theme_override_font_sizes/font_size = 22 -text = "A6" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_fname" type="Label" parent="ref_ZZ5"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 85.0 -offset_top = 6.0 -offset_right = 129.0 -offset_bottom = 32.0 -theme_override_font_sizes/font_size = 17 -text = "ДОУ-3" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_tmin" type="Label" parent="ref_ZZ5"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 10.0 -offset_top = 292.0 -offset_right = 45.0 -offset_bottom = 312.0 -theme_override_font_sizes/font_size = 17 -text = "-40" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_tmax" type="Label" parent="ref_ZZ5"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 147.0 -offset_top = 292.0 -offset_right = 196.0 -offset_bottom = 312.0 -theme_override_font_sizes/font_size = 17 -text = "-60° C" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_pmin" type="Label" parent="ref_ZZ5"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 7.0 -offset_top = 33.0 -offset_right = 27.0 -offset_bottom = 53.0 -theme_override_font_sizes/font_size = 17 -text = "0" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="lbl_pmax" type="Label" parent="ref_ZZ5"] -self_modulate = Color(1, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 137.0 -offset_top = 33.0 -offset_right = 186.0 -offset_bottom = 53.0 -theme_override_font_sizes/font_size = 17 -text = "100%" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="txr_state" type="TextureRect" parent="ref_ZZ5"] -layout_mode = 0 -offset_left = 12.0 -offset_top = 9.0 -offset_right = 236.0 -offset_bottom = 233.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("5_n0aaa") - [node name="lbl_header" type="Label" parent="."] layout_mode = 0 -offset_top = 195.0 -offset_right = 875.0 -offset_bottom = 221.0 +offset_left = 20.0 +offset_top = 214.0 +offset_right = 640.0 +offset_bottom = 245.0 theme_override_font_sizes/font_size = 22 text = "Контроль исправности прибора ПРД-Н" horizontal_alignment = 1 vertical_alignment = 1 -[node name="kasseta_u5" parent="." instance=ExtResource("5_ej152")] -layout_mode = 1 +[node name="kasseta_U5" parent="." instance=ExtResource("5_ej152")] +layout_mode = 0 offset_left = 175.0 -offset_top = 235.0 +offset_top = 242.0 offset_right = 485.0 -offset_bottom = 440.0 -fname = "КассетаЦЕЕП" +offset_bottom = 432.0 +fname = "Кассета У5" + +[node name="kasseta_FS_ND" parent="." instance=ExtResource("6_1p3pi")] +layout_mode = 0 +offset_left = 175.0 +offset_top = 432.0 +offset_right = 485.0 +offset_bottom = 622.0 +fname = "Кассета ФС-НД" + +[node name="kasseta_P_1" parent="." instance=ExtResource("7_klldp")] +layout_mode = 0 +offset_left = 175.0 +offset_top = 622.0 +offset_right = 485.0 +offset_bottom = 812.0 +fname = "Кассета П-1" + +[node name="um1535_A7" parent="." instance=ExtResource("8_u7eqo")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 242.0 +offset_right = 645.0 +offset_bottom = 337.0 +fname = "УМ1535А" +rname = "A7" + +[node name="um1535_A8" parent="." instance=ExtResource("8_u7eqo")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 337.0 +offset_right = 645.0 +offset_bottom = 432.0 +fname = "УМ1535А" +rname = "A8" + +[node name="um1535_A9" parent="." instance=ExtResource("8_u7eqo")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 432.0 +offset_right = 645.0 +offset_bottom = 527.0 +fname = "УМ1535А" +rname = "A9" + +[node name="um1535_A10" parent="." instance=ExtResource("8_u7eqo")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 527.0 +offset_right = 645.0 +offset_bottom = 622.0 +fname = "УМ1535А" +rname = "A10" + +[node name="um1535_A11" parent="." instance=ExtResource("8_u7eqo")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 622.0 +offset_right = 645.0 +offset_bottom = 717.0 +fname = "УМ1535А" +rname = "A11" + +[node name="um1535_A12" parent="." instance=ExtResource("8_u7eqo")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 717.0 +offset_right = 645.0 +offset_bottom = 812.0 +fname = "УМ1535А" +rname = "A11" + +[node name="um1535_A13" parent="." instance=ExtResource("8_u7eqo")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 242.0 +offset_right = 175.0 +offset_bottom = 337.0 +fname = "УМ1535А" +rname = "A13" + +[node name="um1535_A14" parent="." instance=ExtResource("8_u7eqo")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 337.0 +offset_right = 175.0 +offset_bottom = 432.0 +fname = "УМ1535А" +rname = "A14" + +[node name="um1535_A15" parent="." instance=ExtResource("8_u7eqo")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 432.0 +offset_right = 175.0 +offset_bottom = 527.0 +fname = "УМ1535А" +rname = "A15" + +[node name="um1535_A16" parent="." instance=ExtResource("8_u7eqo")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 527.0 +offset_right = 175.0 +offset_bottom = 622.0 +fname = "УМ1535А" +rname = "A16" + +[node name="um1535_A17" parent="." instance=ExtResource("8_u7eqo")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 622.0 +offset_right = 175.0 +offset_bottom = 717.0 +fname = "УМ1535А" +rname = "A17" + +[node name="um1535_A18" parent="." instance=ExtResource("8_u7eqo")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 717.0 +offset_right = 175.0 +offset_bottom = 812.0 +fname = "УМ1535А" +rname = "A18" diff --git a/scenes/tabs-switch/tab-switch.tscn b/scenes/tabs-switch/tab-switch.tscn index f94bf87..2e15156 100644 --- a/scenes/tabs-switch/tab-switch.tscn +++ b/scenes/tabs-switch/tab-switch.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=7 format=3 uid="uid://3slb0i3pvowc"] +[gd_scene load_steps=10 format=3 uid="uid://3slb0i3pvowc"] [ext_resource type="Script" path="res://scenes/tabs-switch/tab-switch.gd" id="1_fg0vd"] [ext_resource type="PackedScene" uid="uid://b276iygic5itk" path="res://scenes/работа/работа.tscn" id="2_u7p16"] @@ -6,28 +6,54 @@ [ext_resource type="PackedScene" uid="uid://trt0q8th3bn2" path="res://scenes/журнал/журнал.tscn" id="4_cu5k8"] [ext_resource type="PackedScene" uid="uid://dab6loryocc73" path="res://scenes/эмс/эмс.tscn" id="5_u71bh"] [ext_resource type="PackedScene" uid="uid://bnptm4rlp60dq" path="res://scenes/настройки/настройки.tscn" id="6_i8iv3"] +[ext_resource type="FontFile" uid="uid://clrxfflc1wrhj" path="res://data/main-font.tres" id="7_i7l8n"] -[node name="tab_switch" type="TabContainer"] +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_fe3e1"] + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o1r22"] + +[node name="Panel" type="Panel"] +offset_right = 1600.0 +offset_bottom = 1200.0 +theme_override_styles/panel = SubResource("StyleBoxEmpty_fe3e1") + +[node name="tab_switch" type="TabContainer" parent="."] +layout_mode = 0 offset_right = 1600.0 offset_bottom = 1200.0 tooltip_text = "Переключает режимы работы программы" script = ExtResource("1_fg0vd") -[node name="Работа" parent="." instance=ExtResource("2_u7p16")] +[node name="Работа" parent="tab_switch" instance=ExtResource("2_u7p16")] layout_mode = 2 -[node name="Контроль" parent="." instance=ExtResource("3_txp0s")] +[node name="Контроль" parent="tab_switch" instance=ExtResource("3_txp0s")] visible = false layout_mode = 2 -[node name="Журнал" parent="." instance=ExtResource("4_cu5k8")] +[node name="Журнал" parent="tab_switch" instance=ExtResource("4_cu5k8")] visible = false layout_mode = 2 -[node name="ЭМС" parent="." instance=ExtResource("5_u71bh")] +[node name="ЭМС" parent="tab_switch" instance=ExtResource("5_u71bh")] visible = false layout_mode = 2 -[node name="Настройки" parent="." instance=ExtResource("6_i8iv3")] +[node name="Настройки" parent="tab_switch" instance=ExtResource("6_i8iv3")] visible = false layout_mode = 2 + +[node name="lbl_ready" type="Label" parent="."] +layout_mode = 0 +offset_left = 1503.0 +offset_right = 1600.0 +offset_bottom = 27.0 +tooltip_text = "Готовность аппаратуры к работе" +mouse_filter = 0 +theme_override_colors/font_color = Color(0, 0, 0, 1) +theme_override_fonts/font = ExtResource("7_i7l8n") +theme_override_font_sizes/font_size = 14 +theme_override_styles/normal = SubResource("StyleBoxFlat_o1r22") +text = "Исправно" +horizontal_alignment = 1 +vertical_alignment = 1 diff --git a/scenes/контроль/element_h.tscn b/scenes/контроль/element_h.tscn index e6bce8e..ce4eb4d 100644 --- a/scenes/контроль/element_h.tscn +++ b/scenes/контроль/element_h.tscn @@ -34,6 +34,11 @@ extends PanelContainer v %= textures.size() state = v $margin/vbox/grid/state.texture = textures[v] + + +@export var alignment: int: + set(v): + $margin/vbox.alignment = v " [sub_resource type="GDScript" id="GDScript_45hqb"] diff --git a/scenes/контроль/um1535.tscn b/scenes/контроль/um1535.tscn new file mode 100644 index 0000000..cd25c0e --- /dev/null +++ b/scenes/контроль/um1535.tscn @@ -0,0 +1,156 @@ +[gd_scene load_steps=9 format=3 uid="uid://bkxblfoj7ejv0"] + +[ext_resource type="Texture2D" uid="uid://c6nve6f8sfyj2" path="res://data/состояние-исправности-0.png" id="1_xcvfs"] +[ext_resource type="Texture2D" uid="uid://dnreyfh3cd1k2" path="res://data/состояние-исправности-1.png" id="2_ad1dj"] +[ext_resource type="Texture2D" uid="uid://c6booa8753u5t" path="res://data/состояние-исправности-2.png" id="3_vxg7f"] +[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="4_1bnn6"] +[ext_resource type="PackedScene" uid="uid://dyjtmfm4u58mu" path="res://scenes/контроль/indicator_h.tscn" id="5_3i5am"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_3nd2u"] + +[sub_resource type="GDScript" id="GDScript_oj3k3"] +script/source = "@tool + +extends PanelContainer + + +@export var textures: Array + + +@export var fname: String: + set(v): + fname = v + $margin/vbox/grid/fname.text = v + + +@export var rname: String: + set(v): + rname = v + $margin/vbox/grid/rname.text = v + + +@export var state: int: + set(v): + v = 0 if v < 0 else v + v %= textures.size() + state = v + $margin/vbox/grid/state.texture = textures[v] + + +@export var alignment: int: + set(v): + $margin/vbox.alignment = v +" + +[sub_resource type="GDScript" id="GDScript_45hqb"] +script/source = "@tool + +extends MarginContainer + + +func _enter_tree() -> void: + margins = [8, 8, 8, 8] + + +@export var margins: Array: + set(vals): + add_theme_constant_override('margin_top', vals[0]) + add_theme_constant_override('margin_left', vals[1]) + add_theme_constant_override('margin_bottom', vals[2]) + add_theme_constant_override('margin_right', vals[3]) + get: + var vals = [0, 0, 0, 0] + vals[0] = get_theme_constant('margin_top') + vals[1] = get_theme_constant('margin_left') + vals[2] = get_theme_constant('margin_bottom') + vals[3] = get_theme_constant('margin_right') + return vals + + +" + +[node name="um1535" type="PanelContainer"] +editor_description = "Элемент замены из ЗИП" +offset_right = 160.0 +offset_bottom = 88.0 +theme_override_styles/panel = SubResource("StyleBoxEmpty_3nd2u") +script = SubResource("GDScript_oj3k3") +textures = [ExtResource("1_xcvfs"), ExtResource("2_ad1dj"), ExtResource("3_vxg7f")] +metadata/ref_des = "" +metadata/dec_num = "" + +[node name="rect" type="NinePatchRect" parent="."] +layout_mode = 2 +texture = ExtResource("4_1bnn6") +draw_center = false +region_rect = Rect2(0, 0, 63, 63) +patch_margin_left = 17 +patch_margin_top = 17 +patch_margin_right = 17 +patch_margin_bottom = 15 + +[node name="margin" type="MarginContainer" parent="."] +layout_mode = 2 +theme_override_constants/margin_left = 8 +theme_override_constants/margin_top = 8 +theme_override_constants/margin_right = 8 +theme_override_constants/margin_bottom = 8 +script = SubResource("GDScript_45hqb") +margins = [8, 8, 8, 8] + +[node name="vbox" type="VBoxContainer" parent="margin"] +layout_mode = 2 + +[node name="grid" type="GridContainer" parent="margin/vbox"] +layout_mode = 2 +columns = 3 + +[node name="state" type="TextureRect" parent="margin/vbox/grid"] +custom_minimum_size = Vector2(24, 24) +layout_mode = 2 +size_flags_horizontal = 2 +size_flags_vertical = 6 +texture = ExtResource("1_xcvfs") +expand_mode = 1 + +[node name="fname" type="Label" parent="margin/vbox/grid"] +self_modulate = Color(1, 1, 1, 0.627451) +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 6 +theme_override_font_sizes/font_size = 17 +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="rname" type="Label" parent="margin/vbox/grid"] +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 6 +theme_override_font_sizes/font_size = 22 +horizontal_alignment = 2 +vertical_alignment = 1 + +[node name="GridContainer" type="GridContainer" parent="margin/vbox"] +layout_mode = 2 +size_flags_vertical = 6 +columns = 2 + +[node name="Label" type="Label" parent="margin/vbox/GridContainer"] +self_modulate = Color(1, 1, 1, 0.63) +layout_mode = 2 +text = "℃" + +[node name="indicator_p" parent="margin/vbox/GridContainer" instance=ExtResource("5_3i5am")] +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 3 + +[node name="Label2" type="Label" parent="margin/vbox/GridContainer"] +self_modulate = Color(1, 1, 1, 0.63) +layout_mode = 2 +text = " W" + +[node name="indicator_t" parent="margin/vbox/GridContainer" instance=ExtResource("5_3i5am")] +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 3 diff --git a/scenes/контроль/кассета.gd b/scenes/контроль/кассета.gd index bb5b5c9..fb83827 100644 --- a/scenes/контроль/кассета.gd +++ b/scenes/контроль/кассета.gd @@ -2,12 +2,14 @@ extends NinePatchRect +""" +Для кассет +""" + @export var fname: String: set(v): fname = v - print_debug('\"%s\"' % self.name) - var ch = get_node_or_null('lbl_fname') - if ch: ch.text = v + $lbl_fname.text = v @export var rname: String: diff --git a/scenes/контроль/контроль.gd b/scenes/контроль/контроль.gd index 6933cfc..43f8c3e 100644 --- a/scenes/контроль/контроль.gd +++ b/scenes/контроль/контроль.gd @@ -1,5 +1,9 @@ extends Panel +""" +Режим контроль +""" + const PRIBORS_RES = \ { 'pribor_afsp_l': ['res://scenes/pribor-afsp-l/pribor-afsp.tscn', 'Контроль исправности прибора АФСП левый'], diff --git a/scenes/контроль/прибор.gd b/scenes/контроль/прибор.gd new file mode 100644 index 0000000..481541e --- /dev/null +++ b/scenes/контроль/прибор.gd @@ -0,0 +1,21 @@ +@tool + +extends Control + +""" +Для приборов +""" + +@export var fname: String: + set(v): + fname = v + + +@export var rname: String: + set(v): + rname = v + + +func set_header_text(header_text: String): + $lbl_header.text = header_text + diff --git a/scenes/настройки/настройки.tscn b/scenes/настройки/настройки.tscn index 6293a8c..b7f4d86 100644 --- a/scenes/настройки/настройки.tscn +++ b/scenes/настройки/настройки.tscn @@ -267,4 +267,24 @@ text = "Адрес сервера карт" horizontal_alignment = 1 vertical_alignment = 1 +[node name="Label19" type="Label" parent="."] +offset_left = 487.0 +offset_top = 150.0 +offset_right = 775.0 +offset_bottom = 257.0 +size_flags_horizontal = 3 +size_flags_vertical = 3 +text = "Кнопка «Подавление». +Отключить отображение этой кнопки, +что бы тип помех применялся сразу." + +[node name="CheckButton18" type="CheckButton" parent="."] +offset_left = 802.0 +offset_top = 148.0 +offset_right = 846.0 +offset_bottom = 172.0 +size_flags_horizontal = 6 +size_flags_vertical = 6 +button_pressed = true + [connection signal="text_changed" from="edt_mapaddr" to="edt_mapaddr" method="_on_text_changed"] diff --git a/scenes/работа/работа.tscn b/scenes/работа/работа.tscn index 0b335d2..d793d2d 100644 --- a/scenes/работа/работа.tscn +++ b/scenes/работа/работа.tscn @@ -34,7 +34,11 @@ strob_max_width = 90.0 strob_min_band = 0.1 strob_min_width = 5.0 metadata/_edit_vertical_guides_ = [] -metadata/_edit_lock_ = true + +[node name="canvas" parent="." instance=ExtResource("11_b6su4")] + +[node name="tilemap" parent="." instance=ExtResource("10_gtwyg")] +material = SubResource("ShaderMaterial_4p7y1") [node name="grd_side" parent="." instance=ExtResource("3_s2j0e")] layout_mode = 0 @@ -44,15 +48,14 @@ offset_right = 1594.0 offset_bottom = 1170.0 metadata/_edit_lock_ = true -[node name="tilemap" parent="." instance=ExtResource("10_gtwyg")] -material = SubResource("ShaderMaterial_4p7y1") - [node name="grd_btns" parent="." instance=ExtResource("5_2jnbs")] layout_mode = 0 offset_left = 10.0 offset_top = 1116.0 offset_right = 1106.0 offset_bottom = 1170.0 +tooltip_text = "Кнопки выбора типа помехи" +mouse_filter = 0 metadata/_edit_lock_ = true [node name="count_all_pad" parent="." instance=ExtResource("6_e3re7")] @@ -106,24 +109,32 @@ text = "Автомат" [node name="btn_view" parent="." instance=ExtResource("8_k0iv2")] layout_mode = 2 -offset_left = 874.0 -offset_top = 1023.0 -offset_right = 948.0 -offset_bottom = 1056.0 +offset_left = 11.0 +offset_top = 913.0 +offset_right = 111.0 +offset_bottom = 953.0 size_flags_horizontal = 3 size_flags_vertical = 3 text = "Вид" +[node name="btn_view2" parent="." instance=ExtResource("8_k0iv2")] +layout_mode = 2 +offset_left = 954.0 +offset_top = 1060.0 +offset_right = 1106.0 +offset_bottom = 1112.0 +size_flags_horizontal = 3 +size_flags_vertical = 3 +text = "Подавление" + [node name="btn_zoom" parent="." instance=ExtResource("9_oey3x")] layout_mode = 0 -offset_left = 952.0 -offset_top = 1038.0 -offset_right = 1104.0 -offset_bottom = 1056.0 +offset_left = 12.0 +offset_top = 986.0 +offset_right = 112.0 +offset_bottom = 1006.0 metadata/zoom = 4 -[node name="canvas" parent="." instance=ExtResource("11_b6su4")] - [node name="btns_select" type="GridContainer" parent="."] layout_mode = 0 offset_left = 1034.0