diff --git a/scenes/pribor-afsp-l/pribor-afsp.tscn b/scenes/pribor-afsp-l/pribor-afsp.tscn index 94d8b44..5ba1ff0 100644 --- a/scenes/pribor-afsp-l/pribor-afsp.tscn +++ b/scenes/pribor-afsp-l/pribor-afsp.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=3 format=3 uid="uid://cpsbybk4r6t8d"] -[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_3iky6"] -[ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/element_h.tscn" id="2_ypesx"] +[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_u001h"] +[ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/element_h.tscn" id="2_jr174"] [node name="pribor_UF" type="Node2D"] @@ -10,7 +10,7 @@ offset_left = 25.0 offset_top = 121.0 offset_right = 378.0 offset_bottom = 1128.0 -texture = ExtResource("1_3iky6") +texture = ExtResource("1_u001h") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 @@ -22,13 +22,13 @@ offset_left = 32.0 offset_top = 70.0 offset_right = 332.0 offset_bottom = 454.0 -texture = ExtResource("1_3iky6") +texture = ExtResource("1_u001h") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="ref_mshu1" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu1" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 211.0 @@ -37,7 +37,7 @@ offset_bottom = 253.0 fname = "МШУ" rname = "А5" -[node name="ref_mshu2" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu2" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 89.0 @@ -46,7 +46,7 @@ offset_bottom = 131.0 fname = "МШУ" rname = "А2" -[node name="ref_mshu3" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu3" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 130.0 @@ -55,7 +55,7 @@ offset_bottom = 172.0 fname = "МШУ" rname = "А3" -[node name="ref_mshu4" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu4" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 171.0 @@ -64,7 +64,7 @@ offset_bottom = 213.0 fname = "МШУ" rname = "А4" -[node name="ref_mshu5" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu5" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 252.0 @@ -73,7 +73,7 @@ offset_bottom = 294.0 fname = "МШУ" rname = "А6" -[node name="ref_mshu6" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu6" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 48.0 @@ -82,7 +82,7 @@ offset_bottom = 90.0 fname = "МШУ" rname = "А1" -[node name="ref_mshu7" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu7" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 291.0 @@ -91,7 +91,7 @@ offset_bottom = 333.0 fname = "МШУ" rname = "А7" -[node name="ref_mshu8" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu8" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 334.0 @@ -114,7 +114,7 @@ offset_left = 32.0 offset_top = 458.0 offset_right = 332.0 offset_bottom = 600.0 -texture = ExtResource("1_3iky6") +texture = ExtResource("1_u001h") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 @@ -128,7 +128,7 @@ offset_right = 167.0 offset_bottom = 40.0 text = "БПЧ" -[node name="ref_og" parent="ref_A1_lpa/ref_bpch" instance=ExtResource("2_ypesx")] +[node name="ref_og" parent="ref_A1_lpa/ref_bpch" instance=ExtResource("2_jr174")] layout_mode = 2 offset_left = 20.0 offset_top = 36.0 @@ -137,7 +137,7 @@ offset_bottom = 78.0 fname = "Модуль ОГ" rname = "А23" -[node name="ref_geterodin" parent="ref_A1_lpa/ref_bpch" instance=ExtResource("2_ypesx")] +[node name="ref_geterodin" parent="ref_A1_lpa/ref_bpch" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 85.0 @@ -152,13 +152,13 @@ offset_left = 33.0 offset_top = 605.0 offset_right = 333.0 offset_bottom = 989.0 -texture = ExtResource("1_3iky6") +texture = ExtResource("1_u001h") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="ref_mshu9" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu9" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 48.0 @@ -167,7 +167,7 @@ offset_bottom = 90.0 fname = "МШУ" rname = "А9" -[node name="ref_mshu10" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu10" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 89.0 @@ -176,7 +176,7 @@ offset_bottom = 131.0 fname = "МШУ" rname = "А10" -[node name="ref_mshu11" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu11" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 130.0 @@ -185,7 +185,7 @@ offset_bottom = 172.0 fname = "МШУ" rname = "А11" -[node name="ref_mshu12" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu12" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 171.0 @@ -194,7 +194,7 @@ offset_bottom = 213.0 fname = "МШУ" rname = "А12" -[node name="ref_mshu13" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu13" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 211.0 @@ -203,7 +203,7 @@ offset_bottom = 253.0 fname = "МШУ" rname = "А13" -[node name="ref_mshu14" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu14" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 252.0 @@ -212,7 +212,7 @@ offset_bottom = 294.0 fname = "МШУ" rname = "А14" -[node name="ref_mshu15" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu15" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 291.0 @@ -221,7 +221,7 @@ offset_bottom = 333.0 fname = "МШУ" rname = "А15" -[node name="ref_mshu16" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu16" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 334.0 @@ -259,7 +259,7 @@ offset_left = 414.0 offset_top = 121.0 offset_right = 767.0 offset_bottom = 1128.0 -texture = ExtResource("1_3iky6") +texture = ExtResource("1_u001h") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 @@ -271,13 +271,13 @@ offset_left = 32.0 offset_top = 70.0 offset_right = 332.0 offset_bottom = 454.0 -texture = ExtResource("1_3iky6") +texture = ExtResource("1_u001h") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="ref_mshu1" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu1" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 211.0 @@ -286,7 +286,7 @@ offset_bottom = 253.0 fname = "МШУ" rname = "А5" -[node name="ref_mshu2" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu2" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 89.0 @@ -295,7 +295,7 @@ offset_bottom = 131.0 fname = "МШУ" rname = "А2" -[node name="ref_mshu3" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu3" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 130.0 @@ -304,7 +304,7 @@ offset_bottom = 172.0 fname = "МШУ" rname = "А3" -[node name="ref_mshu4" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu4" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 171.0 @@ -313,7 +313,7 @@ offset_bottom = 213.0 fname = "МШУ" rname = "А4" -[node name="ref_mshu5" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu5" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 252.0 @@ -322,7 +322,7 @@ offset_bottom = 294.0 fname = "МШУ" rname = "А6" -[node name="ref_mshu6" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu6" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 48.0 @@ -331,7 +331,7 @@ offset_bottom = 90.0 fname = "МШУ" rname = "А1" -[node name="ref_mshu7" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu7" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 291.0 @@ -340,7 +340,7 @@ offset_bottom = 333.0 fname = "МШУ" rname = "А7" -[node name="ref_mshu8" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_ypesx")] +[node name="ref_mshu8" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 334.0 @@ -363,7 +363,7 @@ offset_left = 32.0 offset_top = 458.0 offset_right = 332.0 offset_bottom = 600.0 -texture = ExtResource("1_3iky6") +texture = ExtResource("1_u001h") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 @@ -377,7 +377,7 @@ offset_right = 167.0 offset_bottom = 40.0 text = "БПЧ" -[node name="ref_og" parent="ref_A2_lpa/ref_bpch" instance=ExtResource("2_ypesx")] +[node name="ref_og" parent="ref_A2_lpa/ref_bpch" instance=ExtResource("2_jr174")] layout_mode = 2 offset_left = 20.0 offset_top = 36.0 @@ -386,7 +386,7 @@ offset_bottom = 78.0 fname = "Модуль ОГ" rname = "А23" -[node name="ref_geterodin" parent="ref_A2_lpa/ref_bpch" instance=ExtResource("2_ypesx")] +[node name="ref_geterodin" parent="ref_A2_lpa/ref_bpch" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 85.0 @@ -401,13 +401,13 @@ offset_left = 33.0 offset_top = 605.0 offset_right = 333.0 offset_bottom = 989.0 -texture = ExtResource("1_3iky6") +texture = ExtResource("1_u001h") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="ref_mshu9" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu9" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 48.0 @@ -416,7 +416,7 @@ offset_bottom = 90.0 fname = "МШУ" rname = "А9" -[node name="ref_mshu10" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu10" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 89.0 @@ -425,7 +425,7 @@ offset_bottom = 131.0 fname = "МШУ" rname = "А10" -[node name="ref_mshu11" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu11" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 130.0 @@ -434,7 +434,7 @@ offset_bottom = 172.0 fname = "МШУ" rname = "А11" -[node name="ref_mshu12" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu12" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 171.0 @@ -443,7 +443,7 @@ offset_bottom = 213.0 fname = "МШУ" rname = "А12" -[node name="ref_mshu13" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu13" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 211.0 @@ -452,7 +452,7 @@ offset_bottom = 253.0 fname = "МШУ" rname = "А13" -[node name="ref_mshu14" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu14" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 252.0 @@ -461,7 +461,7 @@ offset_bottom = 294.0 fname = "МШУ" rname = "А14" -[node name="ref_mshu15" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu15" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 291.0 @@ -470,7 +470,7 @@ offset_bottom = 333.0 fname = "МШУ" rname = "А15" -[node name="ref_mshu16" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_ypesx")] +[node name="ref_mshu16" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] layout_mode = 0 offset_left = 20.0 offset_top = 334.0 diff --git a/scenes/pribor-afsp-r/pribor-afsp.tscn b/scenes/pribor-afsp-r/pribor-afsp.tscn index 0276865..bbb9190 100644 --- a/scenes/pribor-afsp-r/pribor-afsp.tscn +++ b/scenes/pribor-afsp-r/pribor-afsp.tscn @@ -14,6 +14,7 @@ theme_override_font_sizes/font_size = 22 text = "Контроль исправности прибора АФС-П Правый борт" horizontal_alignment = 1 vertical_alignment = 1 +metadata/_edit_use_anchors_ = true [node name="ref_A1_lpa" type="NinePatchRect" parent="."] editor_description = "Мнемосхема прибора АФСП пра борта" @@ -26,6 +27,7 @@ patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +metadata/_edit_use_anchors_ = true [node name="ref_block_la1" type="NinePatchRect" parent="ref_A1_lpa"] layout_mode = 0 @@ -38,6 +40,7 @@ patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +metadata/_edit_use_anchors_ = true [node name="ref_mshu1" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -47,6 +50,7 @@ offset_right = 280.0 offset_bottom = 253.0 fname = "МШУ" rname = "А5" +metadata/_edit_use_anchors_ = true [node name="ref_mshu2" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -56,6 +60,7 @@ offset_right = 280.0 offset_bottom = 131.0 fname = "МШУ" rname = "А2" +metadata/_edit_use_anchors_ = true [node name="ref_mshu3" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -65,6 +70,7 @@ offset_right = 280.0 offset_bottom = 172.0 fname = "МШУ" rname = "А3" +metadata/_edit_use_anchors_ = true [node name="ref_mshu4" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -74,6 +80,7 @@ offset_right = 280.0 offset_bottom = 213.0 fname = "МШУ" rname = "А4" +metadata/_edit_use_anchors_ = true [node name="ref_mshu5" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -83,6 +90,7 @@ offset_right = 280.0 offset_bottom = 294.0 fname = "МШУ" rname = "А6" +metadata/_edit_use_anchors_ = true [node name="ref_mshu6" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -92,6 +100,7 @@ offset_right = 280.0 offset_bottom = 90.0 fname = "МШУ" rname = "А1" +metadata/_edit_use_anchors_ = true [node name="ref_mshu7" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -101,6 +110,7 @@ offset_right = 280.0 offset_bottom = 333.0 fname = "МШУ" rname = "А7" +metadata/_edit_use_anchors_ = true [node name="ref_mshu8" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -110,6 +120,7 @@ offset_right = 280.0 offset_bottom = 376.0 fname = "МШУ" rname = "А8" +metadata/_edit_use_anchors_ = true [node name="lbl_la" type="Label" parent="ref_A1_lpa/ref_block_la1"] layout_mode = 0 @@ -118,6 +129,7 @@ offset_top = 17.0 offset_right = 200.0 offset_bottom = 41.0 text = "Модули ЛА6А45" +metadata/_edit_use_anchors_ = true [node name="ref_bpch" type="NinePatchRect" parent="ref_A1_lpa"] layout_mode = 0 @@ -130,6 +142,7 @@ patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +metadata/_edit_use_anchors_ = true [node name="lbl_bpch" type="Label" parent="ref_A1_lpa/ref_bpch"] layout_mode = 0 @@ -138,6 +151,7 @@ offset_top = 16.0 offset_right = 167.0 offset_bottom = 40.0 text = "БПЧ" +metadata/_edit_use_anchors_ = true [node name="ref_og" parent="ref_A1_lpa/ref_bpch" instance=ExtResource("2_gl6qy")] layout_mode = 2 @@ -147,6 +161,7 @@ offset_right = 280.0 offset_bottom = 78.0 fname = "Модуль ОГ" rname = "А23" +metadata/_edit_use_anchors_ = true [node name="ref_geterodin" parent="ref_A1_lpa/ref_bpch" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -156,6 +171,7 @@ offset_right = 280.0 offset_bottom = 127.0 fname = "Гетеродин" rname = "А10" +metadata/_edit_use_anchors_ = true [node name="ref_block_la2" type="NinePatchRect" parent="ref_A1_lpa"] layout_mode = 0 @@ -168,6 +184,7 @@ patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +metadata/_edit_use_anchors_ = true [node name="ref_mshu9" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -177,6 +194,7 @@ offset_right = 280.0 offset_bottom = 90.0 fname = "МШУ" rname = "А9" +metadata/_edit_use_anchors_ = true [node name="ref_mshu10" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -186,6 +204,7 @@ offset_right = 280.0 offset_bottom = 131.0 fname = "МШУ" rname = "А10" +metadata/_edit_use_anchors_ = true [node name="ref_mshu11" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -195,6 +214,7 @@ offset_right = 280.0 offset_bottom = 172.0 fname = "МШУ" rname = "А11" +metadata/_edit_use_anchors_ = true [node name="ref_mshu12" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -204,6 +224,7 @@ offset_right = 280.0 offset_bottom = 213.0 fname = "МШУ" rname = "А12" +metadata/_edit_use_anchors_ = true [node name="ref_mshu13" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -213,6 +234,7 @@ offset_right = 280.0 offset_bottom = 253.0 fname = "МШУ" rname = "А13" +metadata/_edit_use_anchors_ = true [node name="ref_mshu14" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -222,6 +244,7 @@ offset_right = 280.0 offset_bottom = 294.0 fname = "МШУ" rname = "А14" +metadata/_edit_use_anchors_ = true [node name="ref_mshu15" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -231,6 +254,7 @@ offset_right = 280.0 offset_bottom = 333.0 fname = "МШУ" rname = "А15" +metadata/_edit_use_anchors_ = true [node name="ref_mshu16" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -240,6 +264,7 @@ offset_right = 280.0 offset_bottom = 376.0 fname = "МШУ" rname = "А16" +metadata/_edit_use_anchors_ = true [node name="lbl_la" type="Label" parent="ref_A1_lpa/ref_block_la2"] layout_mode = 0 @@ -248,6 +273,7 @@ offset_top = 17.0 offset_right = 200.0 offset_bottom = 41.0 text = "Модули ЛА6А45" +metadata/_edit_use_anchors_ = true [node name="lbl_lpa" type="Label" parent="ref_A1_lpa"] layout_mode = 0 @@ -256,6 +282,7 @@ offset_top = 28.0 offset_right = 197.0 offset_bottom = 52.0 text = "ЛПА" +metadata/_edit_use_anchors_ = true [node name="lbl_A" type="Label" parent="ref_A1_lpa"] layout_mode = 0 @@ -264,6 +291,7 @@ offset_top = 16.0 offset_right = 330.0 offset_bottom = 40.0 text = "A1" +metadata/_edit_use_anchors_ = true [node name="ref_A2_lpa" type="NinePatchRect" parent="."] editor_description = "Мнемосхема прибора АФСП пра борта" @@ -276,6 +304,7 @@ patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +metadata/_edit_use_anchors_ = true [node name="ref_block_la1" type="NinePatchRect" parent="ref_A2_lpa"] layout_mode = 0 @@ -288,6 +317,7 @@ patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +metadata/_edit_use_anchors_ = true [node name="ref_mshu1" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -297,6 +327,7 @@ offset_right = 280.0 offset_bottom = 253.0 fname = "МШУ" rname = "А5" +metadata/_edit_use_anchors_ = true [node name="ref_mshu2" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -306,6 +337,7 @@ offset_right = 280.0 offset_bottom = 131.0 fname = "МШУ" rname = "А2" +metadata/_edit_use_anchors_ = true [node name="ref_mshu3" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -315,6 +347,7 @@ offset_right = 280.0 offset_bottom = 172.0 fname = "МШУ" rname = "А3" +metadata/_edit_use_anchors_ = true [node name="ref_mshu4" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -324,6 +357,7 @@ offset_right = 280.0 offset_bottom = 213.0 fname = "МШУ" rname = "А4" +metadata/_edit_use_anchors_ = true [node name="ref_mshu5" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -333,6 +367,7 @@ offset_right = 280.0 offset_bottom = 294.0 fname = "МШУ" rname = "А6" +metadata/_edit_use_anchors_ = true [node name="ref_mshu6" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -342,6 +377,7 @@ offset_right = 280.0 offset_bottom = 90.0 fname = "МШУ" rname = "А1" +metadata/_edit_use_anchors_ = true [node name="ref_mshu7" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -351,6 +387,7 @@ offset_right = 280.0 offset_bottom = 333.0 fname = "МШУ" rname = "А7" +metadata/_edit_use_anchors_ = true [node name="ref_mshu8" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -360,6 +397,7 @@ offset_right = 280.0 offset_bottom = 376.0 fname = "МШУ" rname = "А8" +metadata/_edit_use_anchors_ = true [node name="lbl_la" type="Label" parent="ref_A2_lpa/ref_block_la1"] layout_mode = 0 @@ -368,6 +406,7 @@ offset_top = 17.0 offset_right = 200.0 offset_bottom = 41.0 text = "Модули ЛА6А45" +metadata/_edit_use_anchors_ = true [node name="ref_bpch" type="NinePatchRect" parent="ref_A2_lpa"] layout_mode = 0 @@ -380,6 +419,7 @@ patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +metadata/_edit_use_anchors_ = true [node name="lbl_bpch" type="Label" parent="ref_A2_lpa/ref_bpch"] layout_mode = 0 @@ -388,6 +428,7 @@ offset_top = 16.0 offset_right = 167.0 offset_bottom = 40.0 text = "БПЧ" +metadata/_edit_use_anchors_ = true [node name="ref_og" parent="ref_A2_lpa/ref_bpch" instance=ExtResource("2_gl6qy")] layout_mode = 2 @@ -397,6 +438,7 @@ offset_right = 280.0 offset_bottom = 78.0 fname = "Модуль ОГ" rname = "А23" +metadata/_edit_use_anchors_ = true [node name="ref_geterodin" parent="ref_A2_lpa/ref_bpch" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -406,6 +448,7 @@ offset_right = 280.0 offset_bottom = 127.0 fname = "Гетеродин" rname = "А10" +metadata/_edit_use_anchors_ = true [node name="ref_block_la2" type="NinePatchRect" parent="ref_A2_lpa"] layout_mode = 0 @@ -418,6 +461,7 @@ patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +metadata/_edit_use_anchors_ = true [node name="ref_mshu9" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -427,6 +471,7 @@ offset_right = 280.0 offset_bottom = 90.0 fname = "МШУ" rname = "А9" +metadata/_edit_use_anchors_ = true [node name="ref_mshu10" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -436,6 +481,7 @@ offset_right = 280.0 offset_bottom = 131.0 fname = "МШУ" rname = "А10" +metadata/_edit_use_anchors_ = true [node name="ref_mshu11" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -445,6 +491,7 @@ offset_right = 280.0 offset_bottom = 172.0 fname = "МШУ" rname = "А11" +metadata/_edit_use_anchors_ = true [node name="ref_mshu12" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -454,6 +501,7 @@ offset_right = 280.0 offset_bottom = 213.0 fname = "МШУ" rname = "А12" +metadata/_edit_use_anchors_ = true [node name="ref_mshu13" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -463,6 +511,7 @@ offset_right = 280.0 offset_bottom = 253.0 fname = "МШУ" rname = "А13" +metadata/_edit_use_anchors_ = true [node name="ref_mshu14" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -472,6 +521,7 @@ offset_right = 280.0 offset_bottom = 294.0 fname = "МШУ" rname = "А14" +metadata/_edit_use_anchors_ = true [node name="ref_mshu15" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -481,6 +531,7 @@ offset_right = 280.0 offset_bottom = 333.0 fname = "МШУ" rname = "А15" +metadata/_edit_use_anchors_ = true [node name="ref_mshu16" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_gl6qy")] layout_mode = 0 @@ -490,6 +541,7 @@ offset_right = 280.0 offset_bottom = 376.0 fname = "МШУ" rname = "А16" +metadata/_edit_use_anchors_ = true [node name="lbl_la" type="Label" parent="ref_A2_lpa/ref_block_la2"] layout_mode = 0 @@ -498,6 +550,7 @@ offset_top = 17.0 offset_right = 200.0 offset_bottom = 41.0 text = "Модули ЛА6А45" +metadata/_edit_use_anchors_ = true [node name="lbl_lpa" type="Label" parent="ref_A2_lpa"] layout_mode = 0 @@ -506,6 +559,7 @@ offset_top = 28.0 offset_right = 197.0 offset_bottom = 52.0 text = "ЛПА" +metadata/_edit_use_anchors_ = true [node name="lbl_A" type="Label" parent="ref_A2_lpa"] layout_mode = 0 @@ -515,3 +569,4 @@ offset_right = 330.0 offset_bottom = 40.0 text = "A2 " +metadata/_edit_use_anchors_ = true diff --git a/scenes/pribor-prd-k-1/pribor-prd-k-1.tscn b/scenes/pribor-prd-k-1/pribor-prd-k-1.tscn deleted file mode 100644 index d8a2eeb..0000000 --- a/scenes/pribor-prd-k-1/pribor-prd-k-1.tscn +++ /dev/null @@ -1,6 +0,0 @@ -[gd_scene format=3 uid="uid://c3tn1awam3tfe"] - -[node name="pribor_UF" type="Node2D"] - -[node name="test_label" type="Label" parent="."] -text = "Здесь будет схема прибора ПРД-К 1" diff --git a/scenes/pribor-prd-k-2/pribor-prd-k-2.tscn b/scenes/pribor-prd-k-2/pribor-prd-k-2.tscn deleted file mode 100644 index d033477..0000000 --- a/scenes/pribor-prd-k-2/pribor-prd-k-2.tscn +++ /dev/null @@ -1,6 +0,0 @@ -[gd_scene format=3 uid="uid://cmspxgjtpawm4"] - -[node name="pribor_UF" type="Node2D"] - -[node name="test_label" type="Label" parent="."] -text = "Здесь будет схема прибора ПРД-К 2" diff --git a/scenes/pribor-prd-k-3/pribor-prd-k-3.tscn b/scenes/pribor-prd-k-3/pribor-prd-k-3.tscn deleted file mode 100644 index 1533af8..0000000 --- a/scenes/pribor-prd-k-3/pribor-prd-k-3.tscn +++ /dev/null @@ -1,6 +0,0 @@ -[gd_scene format=3 uid="uid://k2k1eas57xkn"] - -[node name="pribor_UF" type="Node2D"] - -[node name="test_label" type="Label" parent="."] -text = "Здесь будет схема прибора ПРД-К 3" diff --git a/scenes/pribor-prd-k-4/pribor-prd-k-4.tscn b/scenes/pribor-prd-k-4/pribor-prd-k-4.tscn deleted file mode 100644 index a7633fc..0000000 --- a/scenes/pribor-prd-k-4/pribor-prd-k-4.tscn +++ /dev/null @@ -1,6 +0,0 @@ -[gd_scene format=3 uid="uid://8t6pfkjeujc8"] - -[node name="pribor_UF" type="Node2D"] - -[node name="test_label" type="Label" parent="."] -text = "Здесь будет схема прибора ПРД-К 4" diff --git a/scenes/pribor-prd-n-1/pribor-prd-n-1.tscn b/scenes/pribor-prd-k/pribor-prd-k.tscn similarity index 76% rename from scenes/pribor-prd-n-1/pribor-prd-n-1.tscn rename to scenes/pribor-prd-k/pribor-prd-k.tscn index cc9e2ac..58617fa 100644 --- a/scenes/pribor-prd-n-1/pribor-prd-n-1.tscn +++ b/scenes/pribor-prd-k/pribor-prd-k.tscn @@ -1,137 +1,144 @@ -[gd_scene load_steps=6 format=3 uid="uid://dnuexoef2nnv5"] +[gd_scene load_steps=7 format=3 uid="uid://m5s87q7m66lj"] -[ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/element_h.tscn" id="2_lpj3d"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_2shxq"] -[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="4_i1no5"] -[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"] +[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"] -[node name="pribor_prd_n_1" type="Control"] +[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"] 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("2_lpj3d")] +[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 = "Ячейка" +fname = "УМ1535Б" rname = "A13" -[node name="ref_A13R" parent="." instance=ExtResource("2_lpj3d")] +[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 = "Ячейка" -rname = "A13" +fname = "УМ1535Б" +rname = "A7" -[node name="ref_A14L" parent="." instance=ExtResource("2_lpj3d")] +[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 = "Ячейка" +fname = "УМ1535Б" rname = "A14" -[node name="ref_A14R" parent="." instance=ExtResource("2_lpj3d")] +[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 = "Ячейка" -rname = "A14" +fname = "УМ1535Б" +rname = "A8" -[node name="ref_A15L" parent="." instance=ExtResource("2_lpj3d")] +[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 = "Ячейка" +fname = "УМ1535Б" rname = "A15" -[node name="ref_A15R" parent="." instance=ExtResource("2_lpj3d")] +[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 = "Ячейка" -rname = "A15" +fname = "УМ1535Б" +rname = "A9" -[node name="ref_A16L" parent="." instance=ExtResource("2_lpj3d")] +[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 = "Ячейка" +fname = "УМ1535Б" rname = "A16" -[node name="ref_A16R" parent="." instance=ExtResource("2_lpj3d")] +[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 = "Ячейка" -rname = "A16" +fname = "УМ1535Б" +rname = "A10" -[node name="ref_A17L" parent="." instance=ExtResource("2_lpj3d")] +[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 = "Ячейка" +fname = "УМ1535Б" rname = "A17" -[node name="ref_A17R" parent="." instance=ExtResource("2_lpj3d")] +[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 = "Ячейка" -rname = "A17" +fname = "УМ1535Б" +rname = "A11" -[node name="ref_A18L" parent="." instance=ExtResource("2_lpj3d")] +[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 = "Ячейка" +fname = "УМ1535Б" rname = "A18" -[node name="ref_A18R" parent="." instance=ExtResource("2_lpj3d")] +[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 = "Ячейка" -rname = "A18" +fname = "УМ1535Б" +rname = "A12" -[node name="ref_A23L" parent="." instance=ExtResource("2_lpj3d")] +[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 = "A23" +rname = "A27" -[node name="ref_A23R" parent="." instance=ExtResource("2_lpj3d")] +[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 = "A23" +rname = "A28" [node name="ref_ZZ0" type="NinePatchRect" parent="."] layout_mode = 0 @@ -139,59 +146,59 @@ offset_left = 170.0 offset_top = 229.0 offset_right = 480.0 offset_bottom = 389.0 -texture = ExtResource("4_i1no5") +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_2shxq")] +[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 = "A1" +rname = "A24" -[node name="ref_A2" parent="ref_ZZ0" instance=ExtResource("3_2shxq")] +[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 = "A2" +rname = "A30" -[node name="ref_A3" parent="ref_ZZ0" instance=ExtResource("3_2shxq")] +[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 = "A3" +rname = "A26" -[node name="ref_A4" parent="ref_ZZ0" instance=ExtResource("3_2shxq")] +[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 = "A4" +rname = "A27" -[node name="ref_A5" parent="ref_ZZ0" instance=ExtResource("3_2shxq")] +[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 = "A5" +rname = "A28" -[node name="ref_A6" parent="ref_ZZ0" instance=ExtResource("3_2shxq")] +[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 = "A6" +rname = "A29" [node name="ref_ZZ1" type="NinePatchRect" parent="."] layout_mode = 0 @@ -199,75 +206,123 @@ offset_left = 170.0 offset_top = 400.0 offset_right = 480.0 offset_bottom = 560.0 -texture = ExtResource("4_i1no5") +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_2shxq")] +[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_2shxq")] +[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_2shxq")] +[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 -rname = "A3" +fname = "Блок ФС-6" +rname = "A5" -[node name="ref_A4" parent="ref_ZZ1" instance=ExtResource("3_2shxq")] +[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 -rname = "A4" +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 = 480.0 +offset_right = 335.0 offset_bottom = 735.0 -texture = ExtResource("4_i1no5") +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_2shxq")] -offset_left = 105.0 +[node name="ref_A21" parent="ref_ZZ2" instance=ExtResource("3_gp8lw")] +offset_left = 8.0 offset_top = 5.0 -offset_right = 155.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 = "A1" +rname = "A26" -[node name="ref_A20" parent="ref_ZZ2" instance=ExtResource("3_2shxq")] -offset_left = 155.0 +[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 = 205.0 +offset_right = 56.0 offset_bottom = 155.0 fname = "ИП9-50" -rname = "A2" +rname = "A22" -[node name="ref_A19" parent="ref_ZZ2" instance=ExtResource("3_2shxq")] -offset_left = 205.0 +[node name="ref_A20" parent="ref_ZZ6" instance=ExtResource("3_gp8lw")] +offset_left = 56.0 offset_top = 5.0 -offset_right = 255.0 +offset_right = 106.0 offset_bottom = 155.0 -fname = "ИП9-50" -rname = "A3" +fname = "ИП12-50" +rname = "A25" [node name="ref_ZZ3" type="NinePatchRect" parent="."] layout_mode = 0 @@ -275,7 +330,7 @@ offset_left = 170.0 offset_top = 750.0 offset_right = 480.0 offset_bottom = 910.0 -texture = ExtResource("4_i1no5") +texture = ExtResource("2_14h25") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 @@ -287,7 +342,7 @@ layout_mode = 0 offset_left = 12.0 offset_top = 10.0 offset_right = 297.0 -offset_bottom = 145.0 +offset_bottom = 150.0 text = "Панель предохранителей" horizontal_alignment = 1 @@ -299,90 +354,90 @@ offset_left = 660.0 offset_top = 230.0 offset_right = 880.0 offset_bottom = 560.0 -texture = ExtResource("4_i1no5") +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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[node name="indicator_h12" parent="ref_ZZ4" instance=ExtResource("4_v1lf4")] layout_mode = 0 offset_left = 12.0 offset_top = 275.0 @@ -396,7 +451,7 @@ offset_top = 63.0 offset_right = 205.0 offset_bottom = 89.0 theme_override_font_sizes/font_size = 22 -text = "A1" +text = "A13" horizontal_alignment = 1 vertical_alignment = 1 @@ -407,7 +462,7 @@ offset_top = 102.0 offset_right = 205.0 offset_bottom = 128.0 theme_override_font_sizes/font_size = 22 -text = "A2" +text = "A14" horizontal_alignment = 1 vertical_alignment = 1 @@ -418,7 +473,7 @@ offset_top = 142.0 offset_right = 205.0 offset_bottom = 168.0 theme_override_font_sizes/font_size = 22 -text = "A3" +text = "A15" horizontal_alignment = 1 vertical_alignment = 1 @@ -429,7 +484,7 @@ offset_top = 182.0 offset_right = 205.0 offset_bottom = 208.0 theme_override_font_sizes/font_size = 22 -text = "A4" +text = "A16" horizontal_alignment = 1 vertical_alignment = 1 @@ -440,7 +495,7 @@ offset_top = 222.0 offset_right = 205.0 offset_bottom = 248.0 theme_override_font_sizes/font_size = 22 -text = "A5" +text = "A17" horizontal_alignment = 1 vertical_alignment = 1 @@ -451,7 +506,7 @@ offset_top = 262.0 offset_right = 205.0 offset_bottom = 288.0 theme_override_font_sizes/font_size = 22 -text = "A6" +text = "A18" horizontal_alignment = 1 vertical_alignment = 1 @@ -462,7 +517,7 @@ offset_top = 6.0 offset_right = 215.0 offset_bottom = 32.0 theme_override_font_sizes/font_size = 22 -text = "A5" +text = "A6" horizontal_alignment = 1 vertical_alignment = 1 @@ -533,7 +588,7 @@ offset_top = 9.0 offset_right = 236.0 offset_bottom = 233.0 scale = Vector2(0.1, 0.1) -texture = ExtResource("5_n0aaa") +texture = ExtResource("5_pbg7k") [node name="ref_ZZ5" type="NinePatchRect" parent="."] layout_mode = 0 @@ -541,90 +596,90 @@ offset_left = 660.0 offset_top = 575.0 offset_right = 880.0 offset_bottom = 910.0 -texture = ExtResource("4_i1no5") +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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[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("8_q1orh")] +[node name="indicator_h12" parent="ref_ZZ5" instance=ExtResource("4_v1lf4")] layout_mode = 0 offset_left = 12.0 offset_top = 275.0 @@ -638,7 +693,7 @@ offset_top = 63.0 offset_right = 205.0 offset_bottom = 89.0 theme_override_font_sizes/font_size = 22 -text = "A1" +text = "A7" horizontal_alignment = 1 vertical_alignment = 1 @@ -649,7 +704,7 @@ offset_top = 102.0 offset_right = 205.0 offset_bottom = 128.0 theme_override_font_sizes/font_size = 22 -text = "A2" +text = "A8" horizontal_alignment = 1 vertical_alignment = 1 @@ -660,7 +715,7 @@ offset_top = 142.0 offset_right = 205.0 offset_bottom = 168.0 theme_override_font_sizes/font_size = 22 -text = "A3" +text = "A9" horizontal_alignment = 1 vertical_alignment = 1 @@ -671,7 +726,7 @@ offset_top = 182.0 offset_right = 205.0 offset_bottom = 208.0 theme_override_font_sizes/font_size = 22 -text = "A4" +text = "A10" horizontal_alignment = 1 vertical_alignment = 1 @@ -682,7 +737,7 @@ offset_top = 222.0 offset_right = 205.0 offset_bottom = 248.0 theme_override_font_sizes/font_size = 22 -text = "A5" +text = "A11" horizontal_alignment = 1 vertical_alignment = 1 @@ -693,7 +748,7 @@ offset_top = 262.0 offset_right = 205.0 offset_bottom = 288.0 theme_override_font_sizes/font_size = 22 -text = "A6" +text = "A12" horizontal_alignment = 1 vertical_alignment = 1 @@ -704,7 +759,7 @@ offset_top = 6.0 offset_right = 215.0 offset_bottom = 32.0 theme_override_font_sizes/font_size = 22 -text = "A6" +text = "A5" horizontal_alignment = 1 vertical_alignment = 1 @@ -775,7 +830,7 @@ offset_top = 9.0 offset_right = 236.0 offset_bottom = 233.0 scale = Vector2(0.1, 0.1) -texture = ExtResource("5_n0aaa") +texture = ExtResource("5_pbg7k") [node name="lbl_header" type="Label" parent="."] layout_mode = 0 @@ -783,7 +838,7 @@ offset_top = 195.0 offset_right = 875.0 offset_bottom = 221.0 theme_override_font_sizes/font_size = 22 -text = "Контроль исправности прибора ПРД-Н1" +text = "Контроль исправности прибора ПРД-К" horizontal_alignment = 1 vertical_alignment = 1 @@ -791,7 +846,7 @@ vertical_alignment = 1 self_modulate = Color(0.835294, 0.141176, 0.286275, 1) layout_mode = 0 offset_top = 910.0 -offset_right = 875.0 +offset_right = 880.0 offset_bottom = 929.0 text = "** Позиционные обозначения требуют уточнения **" horizontal_alignment = 1 diff --git a/scenes/pribor-prd-n-2/pribor-prd-n-2.tscn b/scenes/pribor-prd-n-2/pribor-prd-n-2.tscn deleted file mode 100644 index be841a1..0000000 --- a/scenes/pribor-prd-n-2/pribor-prd-n-2.tscn +++ /dev/null @@ -1,6 +0,0 @@ -[gd_scene format=3 uid="uid://blwydjs6hkxg0"] - -[node name="pribor_UF" type="Node2D"] - -[node name="test_label" type="Label" parent="."] -text = "Здесь будет схема прибора ПРД-Н 2" diff --git a/scenes/pribor-prd-n-3/pribor-prd-n-3.tscn b/scenes/pribor-prd-n-3/pribor-prd-n-3.tscn deleted file mode 100644 index da94b88..0000000 --- a/scenes/pribor-prd-n-3/pribor-prd-n-3.tscn +++ /dev/null @@ -1,6 +0,0 @@ -[gd_scene format=3 uid="uid://bjepce3jbg60y"] - -[node name="pribor_UF" type="Node2D"] - -[node name="test_label" type="Label" parent="."] -text = "Здесь будет схема прибора ПРД-Н 3" diff --git a/scenes/pribor-prd-n-4/pribor-prd-n-4.tscn b/scenes/pribor-prd-n-4/pribor-prd-n-4.tscn deleted file mode 100644 index 8f42571..0000000 --- a/scenes/pribor-prd-n-4/pribor-prd-n-4.tscn +++ /dev/null @@ -1,6 +0,0 @@ -[gd_scene format=3 uid="uid://bbouhbiuqm8sn"] - -[node name="pribor_UF" type="Node2D"] - -[node name="test_label" type="Label" parent="."] -text = "Здесь будет схема прибора ПРД-Н 4" diff --git a/scenes/pribor-prd-n/kasseta-fs-nd.tscn b/scenes/pribor-prd-n/kasseta-fs-nd.tscn new file mode 100644 index 0000000..75398d6 --- /dev/null +++ b/scenes/pribor-prd-n/kasseta-fs-nd.tscn @@ -0,0 +1,61 @@ +[gd_scene load_steps=4 format=3 uid="uid://cd5sue1e8iyrv"] + +[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_wgdti"] +[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_lxiqt"] +[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 +texture = ExtResource("1_wgdti") +patch_margin_left = 16 +patch_margin_top = 16 +patch_margin_right = 16 +patch_margin_bottom = 16 +script = ExtResource("2_lxiqt") +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 = 42.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_right = 105.0 +offset_bottom = 192.0 +fname = "Модуль ФС" +rname = "A1" + +[node name="ref_A3" parent="." instance=ExtResource("2_mkgdh")] +offset_left = 105.0 +offset_top = 42.0 +offset_right = 155.0 +offset_bottom = 192.0 +fname = "Блок ФС-2" +rname = "A3" + +[node name="ref_A4" parent="." instance=ExtResource("2_mkgdh")] +offset_left = 155.0 +offset_top = 42.0 +offset_right = 205.0 +offset_bottom = 192.0 +fname = "Модуль ФС" +rname = "A2" + +[node name="ref_A6" parent="." instance=ExtResource("2_mkgdh")] +offset_left = 205.0 +offset_top = 42.0 +offset_right = 255.0 +offset_bottom = 192.0 +fname = "Блок ФС-3" +rname = "A4" diff --git a/scenes/pribor-prd-n/kasseta-u-5.tscn b/scenes/pribor-prd-n/kasseta-u-5.tscn new file mode 100644 index 0000000..1e06c5b --- /dev/null +++ b/scenes/pribor-prd-n/kasseta-u-5.tscn @@ -0,0 +1,82 @@ +[gd_scene load_steps=4 format=3 uid="uid://bk1655p4e8y4u"] + +[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_b7mhj"] +[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_6e76f"] +[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 +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) +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_51mna")] +offset_left = 5.0 +offset_top = 48.0 +offset_right = 55.0 +offset_bottom = 198.0 +fname = "ИП5-25" +rname = "A31" + +[node name="ref_A37" parent="." instance=ExtResource("3_51mna")] +offset_left = 55.0 +offset_top = 48.0 +offset_right = 105.0 +offset_bottom = 198.0 +fname = "ЯУ-07Б" +rname = "A37" + +[node name="ref_A33" parent="." instance=ExtResource("3_51mna")] +offset_left = 105.0 +offset_top = 48.0 +offset_right = 155.0 +offset_bottom = 198.0 +fname = "ЭМС-Г" +rname = "A33" + +[node name="ref_A34" parent="." instance=ExtResource("3_51mna")] +offset_left = 155.0 +offset_top = 48.0 +offset_right = 205.0 +offset_bottom = 198.0 +fname = "УГ" +rname = "A34" + +[node name="ref_A35" parent="." instance=ExtResource("3_51mna")] +offset_left = 205.0 +offset_top = 48.0 +offset_right = 255.0 +offset_bottom = 198.0 +fname = "УКП" +rname = "A35" + +[node name="ref_A36" parent="." instance=ExtResource("3_51mna")] +offset_left = 254.0 +offset_top = 47.0 +offset_right = 304.0 +offset_bottom = 197.0 +fname = "УКП" +rname = "A36" diff --git a/scenes/pribor-prd-n/kasseta_p_1.tscn b/scenes/pribor-prd-n/kasseta_p_1.tscn new file mode 100644 index 0000000..ca52dda --- /dev/null +++ b/scenes/pribor-prd-n/kasseta_p_1.tscn @@ -0,0 +1,50 @@ +[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"] + +[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") +patch_margin_left = 16 +patch_margin_top = 16 +patch_margin_right = 16 +patch_margin_bottom = 16 +script = ExtResource("2_imbsh") + +[node name="ref_A26" parent="." instance=ExtResource("2_ermdn")] +offset_left = 105.0 +offset_top = 30.0 +offset_right = 155.0 +offset_bottom = 180.0 +fname = "ИП12-50" +rname = "A26" + +[node name="ref_A23" parent="." instance=ExtResource("2_ermdn")] +offset_left = 155.0 +offset_top = 30.0 +offset_right = 205.0 +offset_bottom = 180.0 +fname = "ИП9-50" +rname = "A23" + +[node name="ref_A24" parent="." instance=ExtResource("2_ermdn")] +offset_left = 205.0 +offset_top = 30.0 +offset_right = 255.0 +offset_bottom = 180.0 +fname = "ИП9-50" +rname = "A24" + +[node name="lbl_fname" type="Label" parent="."] +layout_mode = 0 +offset_top = 5.0 +offset_right = 305.0 +offset_bottom = 30.0 +text = "Кассета" +horizontal_alignment = 1 +vertical_alignment = 1 diff --git a/scenes/pribor-prd-n/pribor-prd-n.tscn b/scenes/pribor-prd-n/pribor-prd-n.tscn new file mode 100644 index 0000000..fcba7e7 --- /dev/null +++ b/scenes/pribor-prd-n/pribor-prd-n.tscn @@ -0,0 +1,687 @@ +[gd_scene load_steps=8 format=3 uid="uid://dnuexoef2nnv5"] + +[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 +" + +[node name="pribor_prd_n" 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_A13" 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 +fname = "MAA2000" +rname = "A22" + +[node name="ref_A23" parent="." instance=ExtResource("2_lpj3d")] +layout_mode = 2 +offset_left = 490.0 +offset_top = 796.0 +offset_right = 650.0 +offset_bottom = 956.0 +fname = "MAA2000" +rname = "A23" + +[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 +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 +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 +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 +offset_left = 175.0 +offset_top = 235.0 +offset_right = 485.0 +offset_bottom = 440.0 +fname = "КассетаЦЕЕП" diff --git a/scenes/контроль/element_v.tscn b/scenes/контроль/element_v.tscn index f11ca09..cc94501 100644 --- a/scenes/контроль/element_v.tscn +++ b/scenes/контроль/element_v.tscn @@ -91,9 +91,9 @@ vertical_alignment = 1 [node name="lbl_fname" type="Label" parent="."] self_modulate = Color(1, 1, 1, 0.627451) layout_mode = 0 -offset_top = 102.0 -offset_right = 54.0 -offset_bottom = 152.0 +offset_top = 123.0 +offset_right = 94.0 +offset_bottom = 173.0 rotation = -1.5708 theme_override_font_sizes/font_size = 17 text = "Ячейка" diff --git a/scenes/контроль/кассета.gd b/scenes/контроль/кассета.gd new file mode 100644 index 0000000..bb5b5c9 --- /dev/null +++ b/scenes/контроль/кассета.gd @@ -0,0 +1,15 @@ +@tool + +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 + + +@export var rname: String: + set(v): + rname = v diff --git a/scenes/контроль/контроль.gd b/scenes/контроль/контроль.gd index 1fe6240..6933cfc 100644 --- a/scenes/контроль/контроль.gd +++ b/scenes/контроль/контроль.gd @@ -1,38 +1,44 @@ extends Panel const PRIBORS_RES = \ - {'pribor_uf': 'res://scenes/pribor-uf/pribor-uf.tscn', - 'pribor_rtr': 'res://scenes/pribor-rtr/pribor-rtr.tscn', - 'pribor_afsp_l': 'res://scenes/pribor-afsp.tscn', - 'pribor_afsp_r': 'res://scenes/pribor-afsp.tscn', - 'pribor_uyep': 'res://scenes/pribor-uyep/pribor-uyep.tscn', - 'pribor_prd_v_1': 'res://scenes/pribor-prd-v-1/pribor-prd-v-1.tscn', - 'pribor_prd_n_1': 'res://scenes/pribor-prd-n-1/pribor-prd-n-1.tscn', - 'pribor_prd_k_1': 'res://scenes/pribor-prd-k-1/pribor-prd-k-1.tscn', - 'pribor_prd_v_2': 'res://scenes/pribor-prd-v-2/pribor-prd-v-2.tscn', - 'pribor_prd_n_2': 'res://scenes/pribor-prd-n-2/pribor-prd-n-2.tscn', - 'pribor_prd_k_2': 'res://scenes/pribor-prd-k-2/pribor-prd-k-2.tscn', - 'pribor_prd_v_3': 'res://scenes/pribor-prd-v-3/pribor-prd-v-3.tscn', - 'pribor_prd_n_3': 'res://scenes/pribor-prd-n-3/pribor-prd-n-3.tscn', - 'pribor_prd_k_3': 'res://scenes/pribor-prd-k-3/pribor-prd-k-3.tscn', - 'pribor_prd_v_4': 'res://scenes/pribor-prd-v-4/pribor-prd-v-4.tscn', - 'pribor_prd_n_4': 'res://scenes/pribor-prd-n-4/pribor-prd-n-4.tscn', - 'pribor_prd_k_4': 'res://scenes/pribor-prd-k-4/pribor-prd-k-4.tscn'} + { + 'pribor_afsp_l': ['res://scenes/pribor-afsp-l/pribor-afsp.tscn', 'Контроль исправности прибора АФСП левый'], + 'pribor_afsp_r': ['res://scenes/pribor-afsp-r/pribor-afsp.tscn', 'Контроль исправности прибора АФСП правый'], + 'pribor_prd_k_1': ['res://scenes/pribor-prd-k/pribor-prd-k.tscn', 'Контроль исправности прибора ПРД-К 1'], + 'pribor_prd_k_2': ['res://scenes/pribor-prd-k/pribor-prd-k.tscn', 'Контроль исправности прибора ПРД-К 2'], + 'pribor_prd_k_3': ['res://scenes/pribor-prd-k/pribor-prd-k.tscn', 'Контроль исправности прибора ПРД-К 3'], + 'pribor_prd_k_4': ['res://scenes/pribor-prd-k/pribor-prd-k.tscn', 'Контроль исправности прибора ПРД-К 4'], + 'pribor_prd_n_1': ['res://scenes/pribor-prd-n/pribor-prd-n.tscn', 'Контроль исправности прибора ПРД-Н 1'], + 'pribor_prd_n_2': ['res://scenes/pribor-prd-n/pribor-prd-n.tscn', 'Контроль исправности прибора ПРД-Н 2'], + 'pribor_prd_n_3': ['res://scenes/pribor-prd-n/pribor-prd-n.tscn', 'Контроль исправности прибора ПРД-Н 3'], + 'pribor_prd_n_4': ['res://scenes/pribor-prd-n/pribor-prd-n.tscn', 'Контроль исправности прибора ПРД-Н 4'], + 'pribor_prd_v_1': ['res://scenes/pribor-prd-v-1/pribor-prd-v-1.tscn', 'Контроль исправности прибора ПРД-В 1'], + 'pribor_prd_v_2': ['res://scenes/pribor-prd-v-2/pribor-prd-v-2.tscn', 'Контроль исправности прибора ПРД-В 2'], + 'pribor_prd_v_3': ['res://scenes/pribor-prd-v-3/pribor-prd-v-3.tscn', 'Контроль исправности прибора ПРД-В 3'], + 'pribor_prd_v_4': ['res://scenes/pribor-prd-v-4/pribor-prd-v-4.tscn', 'Контроль исправности прибора ПРД-В 4'], + 'pribor_rtr': ['res://scenes/pribor-rtr/pribor-rtr.tscn', 'Контроль исправности прибора РТР'], + 'pribor_uf': ['res://scenes/pribor-uf/pribor-uf.tscn', 'Контроль исправности прибора УФ'], + 'pribor_uyep': ['res://scenes/pribor-uyep/pribor-uyep.tscn', 'Контроль исправности прибора УЭП'], + } func _ready(): for k in PRIBORS_RES: var pribor_node = get_node(k) - var pribor_sch_path = PRIBORS_RES[k] - pribor_node.connect('button_up', Callable(self, 'on_pribor_press').bind(pribor_sch_path)) + assert(pribor_node) + var pribor_path = PRIBORS_RES[k][0] + var header_text = PRIBORS_RES[k][1] + pribor_node.connect('button_down', Callable(self, 'on_pribor_press').bind(pribor_path, header_text)) + log.info('Модуль контроля работы готов') -func on_pribor_press(pribor_path): +func on_pribor_press(pribor_path, header_text): clear_obj($mnemo_container) var pribor_obj = load(pribor_path) assert(pribor_obj) var pribor = pribor_obj.instantiate() assert(pribor) + pribor.set_header_text(header_text) $mnemo_container.add_child(pribor) diff --git a/scenes/контроль/контроль.tscn b/scenes/контроль/контроль.tscn index a01e288..ef2ac0f 100644 --- a/scenes/контроль/контроль.tscn +++ b/scenes/контроль/контроль.tscn @@ -21,31 +21,48 @@ metadata/_edit_lock_ = true [node name="pribor_uf" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 1220.0 -offset_top = 539.0 -offset_right = 1301.0 -offset_bottom = 719.0 +offset_left = 1206.0 +offset_top = 502.0 +offset_right = 1287.0 +offset_bottom = 682.0 size_flags_horizontal = 15 size_flags_vertical = 15 texture_normal = ExtResource("2_0nvm1") -stretch_mode = 4 + +[node name="label" type="Label" parent="pribor_uf"] +layout_mode = 0 +offset_left = 3.0 +offset_top = -19.0 +offset_right = 79.0 +text = "УФ" +horizontal_alignment = 1 +vertical_alignment = 1 [node name="pribor_rtr" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 1220.0 -offset_top = 359.0 -offset_right = 1313.0 -offset_bottom = 515.0 +offset_left = 1197.0 +offset_top = 298.0 +offset_right = 1290.0 +offset_bottom = 454.0 size_flags_horizontal = 15 size_flags_vertical = 15 texture_normal = ExtResource("3_hhadv") stretch_mode = 4 +[node name="label" type="Label" parent="pribor_rtr"] +layout_mode = 0 +offset_left = 6.0 +offset_top = -19.0 +offset_right = 89.0 +text = "РТР" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_afsp_l" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 1043.0 +offset_left = 1020.0 offset_top = 300.0 -offset_right = 1876.0 +offset_right = 1853.0 offset_bottom = 940.0 scale = Vector2(0.2, 0.2) size_flags_horizontal = 15 @@ -53,11 +70,22 @@ size_flags_vertical = 15 texture_normal = ExtResource("4_l0nc7") stretch_mode = 4 +[node name="label" type="Label" parent="pribor_afsp_l"] +layout_mode = 0 +offset_left = 20.0 +offset_top = -95.0 +offset_right = 198.0 +offset_bottom = -76.0 +scale = Vector2(4.478, 5) +text = "АФСП левый борт" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_afsp_r" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 1320.0 +offset_left = 1305.0 offset_top = 300.0 -offset_right = 2153.0 +offset_right = 2138.0 offset_bottom = 940.0 scale = Vector2(0.2, 0.2) size_flags_horizontal = 15 @@ -65,91 +93,169 @@ size_flags_vertical = 15 texture_normal = ExtResource("4_l0nc7") stretch_mode = 4 +[node name="label" type="Label" parent="pribor_afsp_r"] +layout_mode = 0 +offset_left = -20.0 +offset_top = -95.0 +offset_right = 168.0 +offset_bottom = -76.0 +scale = Vector2(4.65, 5) +text = "АФСП правый борт" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_uyep" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 1220.0 +offset_left = 1194.0 offset_top = 739.0 -offset_right = 1313.0 +offset_right = 1287.0 offset_bottom = 925.0 +scale = Vector2(1.07179, 0.98464) size_flags_horizontal = 15 size_flags_vertical = 15 texture_normal = ExtResource("5_kvnex") stretch_mode = 4 +[node name="label" type="Label" parent="pribor_uyep"] +layout_mode = 0 +offset_left = 29.8566 +offset_top = -21.3276 +offset_right = 69.8566 +offset_bottom = -2.32759 +text = "УЭП" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_prd_v_2" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 960.0 +offset_left = 931.0 offset_top = 319.0 -offset_right = 1037.0 +offset_right = 1008.0 offset_bottom = 435.0 size_flags_horizontal = 15 size_flags_vertical = 15 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 +[node name="label" type="Label" parent="pribor_prd_v_2"] +layout_mode = 0 +offset_left = 14.0 +offset_top = -19.0 +offset_right = 66.0 +text = "ПРД В2" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_prd_n_2" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 960.0 +offset_left = 931.0 offset_top = 479.0 -offset_right = 1037.0 +offset_right = 1008.0 offset_bottom = 595.0 size_flags_horizontal = 15 size_flags_vertical = 15 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 +[node name="label" type="Label" parent="pribor_prd_n_2"] +layout_mode = 0 +offset_left = 13.0 +offset_top = -19.0 +offset_right = 65.0 +text = "ПРД Н2" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_prd_k_2" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 1080.0 +offset_left = 1057.0 offset_top = 479.0 -offset_right = 1157.0 +offset_right = 1134.0 offset_bottom = 595.0 size_flags_horizontal = 15 size_flags_vertical = 15 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 +[node name="label" type="Label" parent="pribor_prd_k_2"] +layout_mode = 0 +offset_left = 14.0 +offset_top = -19.0 +offset_right = 66.0 +text = "ПРД К2" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_prd_v_3" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 1500.0 -offset_top = 799.0 -offset_right = 1577.0 -offset_bottom = 915.0 +offset_left = 1364.0 +offset_top = 797.0 +offset_right = 1441.0 +offset_bottom = 913.0 size_flags_horizontal = 15 size_flags_vertical = 15 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 flip_h = true +[node name="label" type="Label" parent="pribor_prd_v_3"] +layout_mode = 0 +offset_left = 13.0 +offset_top = -20.0 +offset_right = 65.0 +offset_bottom = -1.0 +text = "ПРД В3" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_prd_n_3" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 1380.0 -offset_top = 619.0 -offset_right = 1457.0 -offset_bottom = 735.0 +offset_left = 1486.0 +offset_top = 637.0 +offset_right = 1563.0 +offset_bottom = 753.0 size_flags_horizontal = 15 size_flags_vertical = 15 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 flip_h = true +[node name="label" type="Label" parent="pribor_prd_n_3"] +layout_mode = 0 +offset_left = 12.0 +offset_top = -19.0 +offset_right = 64.0 +text = "ПРД Н3" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_prd_k_3" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 1500.0 -offset_top = 639.0 -offset_right = 1577.0 -offset_bottom = 755.0 +offset_left = 1363.0 +offset_top = 637.0 +offset_right = 1440.0 +offset_bottom = 753.0 size_flags_horizontal = 15 size_flags_vertical = 15 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 flip_h = true +[node name="label" type="Label" parent="pribor_prd_k_3"] +layout_mode = 0 +offset_left = 13.0 +offset_top = -20.0 +offset_right = 65.0 +offset_bottom = -1.0 +text = "ПРД К3" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_prd_v_1" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 1500.0 +offset_left = 1485.0 offset_top = 319.0 -offset_right = 1577.0 +offset_right = 1562.0 offset_bottom = 435.0 size_flags_horizontal = 15 size_flags_vertical = 15 @@ -157,81 +263,136 @@ texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 flip_h = true +[node name="label" type="Label" parent="pribor_prd_v_1"] +layout_mode = 0 +offset_left = 10.0 +offset_top = -19.0 +offset_right = 50.0 +text = "ПРД В1" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_prd_n_1" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 1380.0 -offset_top = 479.0 -offset_right = 1457.0 -offset_bottom = 595.0 +offset_left = 1483.0 +offset_top = 478.0 +offset_right = 1560.0 +offset_bottom = 594.0 size_flags_horizontal = 15 size_flags_vertical = 15 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 flip_h = true +[node name="label" type="Label" parent="pribor_prd_n_1"] +layout_mode = 0 +offset_left = 12.0 +offset_top = -19.0 +offset_right = 64.0 +text = "ПРД Н1" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_prd_k_1" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 1500.0 -offset_top = 479.0 -offset_right = 1577.0 -offset_bottom = 595.0 +offset_left = 1357.0 +offset_top = 478.0 +offset_right = 1434.0 +offset_bottom = 594.0 size_flags_horizontal = 15 size_flags_vertical = 15 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 flip_h = true +[node name="label" type="Label" parent="pribor_prd_k_1"] +layout_mode = 0 +offset_left = 12.0 +offset_top = -19.0 +offset_right = 64.0 +text = "ПРД К1" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_prd_v_4" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 960.0 -offset_top = 799.0 -offset_right = 1037.0 -offset_bottom = 915.0 +offset_left = 1057.0 +offset_top = 796.0 +offset_right = 1134.0 +offset_bottom = 912.0 size_flags_horizontal = 15 size_flags_vertical = 15 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 +[node name="label" type="Label" parent="pribor_prd_v_4"] +layout_mode = 0 +offset_left = 13.0 +offset_top = -20.0 +offset_right = 65.0 +offset_bottom = -1.0 +text = "ПРД В4" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_prd_n_4" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 960.0 -offset_top = 639.0 -offset_right = 1037.0 -offset_bottom = 755.0 +offset_left = 932.0 +offset_top = 633.0 +offset_right = 1009.0 +offset_bottom = 749.0 size_flags_horizontal = 15 size_flags_vertical = 15 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 +[node name="label" type="Label" parent="pribor_prd_n_4"] +layout_mode = 0 +offset_left = 13.0 +offset_top = -19.0 +offset_right = 65.0 +text = "ПРД Н4" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="pribor_prd_k_4" type="TextureButton" parent="."] layout_mode = 0 -offset_left = 1080.0 -offset_top = 619.0 -offset_right = 1157.0 -offset_bottom = 735.0 +offset_left = 1057.0 +offset_top = 634.0 +offset_right = 1134.0 +offset_bottom = 750.0 size_flags_horizontal = 15 size_flags_vertical = 15 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 +[node name="label" type="Label" parent="pribor_prd_k_4"] +layout_mode = 0 +offset_left = 12.0 +offset_top = -19.0 +offset_right = 64.0 +text = "ПРД К4" +horizontal_alignment = 1 +vertical_alignment = 1 + [node name="mnemo_container" type="Panel" parent="."] layout_mode = 0 [node name="txr_legend0" type="TextureRect" parent="."] layout_mode = 0 -offset_left = 1199.0 -offset_top = 961.0 -offset_right = 1423.0 -offset_bottom = 1185.0 +offset_left = 1176.0 +offset_top = 960.0 +offset_right = 1400.0 +offset_bottom = 1184.0 scale = Vector2(0.1, 0.1) texture = ExtResource("7_6j01w") [node name="lbl_legend0" type="Label" parent="."] self_modulate = Color(1, 1, 1, 0.627451) layout_mode = 0 -offset_left = 1227.0 +offset_left = 1204.0 offset_top = 961.0 -offset_right = 1383.0 +offset_right = 1360.0 offset_bottom = 981.0 theme_override_font_sizes/font_size = 17 text = "Ожидание результата" @@ -239,37 +400,37 @@ text = "Ожидание результата" [node name="lbl_legend1" type="Label" parent="."] self_modulate = Color(1, 1, 1, 0.627451) layout_mode = 0 -offset_left = 1032.0 +offset_left = 1009.0 offset_top = 961.0 -offset_right = 1105.0 +offset_right = 1082.0 offset_bottom = 981.0 theme_override_font_sizes/font_size = 17 text = "Исправно" [node name="txr_legend1" type="TextureRect" parent="."] layout_mode = 0 -offset_left = 1008.0 -offset_top = 961.0 -offset_right = 1232.0 -offset_bottom = 1185.0 +offset_left = 983.0 +offset_top = 960.0 +offset_right = 1207.0 +offset_bottom = 1184.0 scale = Vector2(0.1, 0.1) texture = ExtResource("8_isjua") [node name="txr_legend2" type="TextureRect" parent="."] layout_mode = 0 -offset_left = 1456.0 -offset_top = 961.0 -offset_right = 1680.0 -offset_bottom = 1185.0 +offset_left = 1433.0 +offset_top = 960.0 +offset_right = 1657.0 +offset_bottom = 1184.0 scale = Vector2(0.1, 0.1) texture = ExtResource("9_ll0vs") [node name="lbl_legend2" type="Label" parent="."] self_modulate = Color(1, 1, 1, 0.627451) layout_mode = 0 -offset_left = 1484.0 +offset_left = 1461.0 offset_top = 961.0 -offset_right = 1640.0 +offset_right = 1505.0 offset_bottom = 981.0 theme_override_font_sizes/font_size = 17 text = "Сбой" diff --git a/scripts/tcp5p28.gd b/scripts/tcp5p28.gd index 82dfb7b..689a5ef 100644 --- a/scripts/tcp5p28.gd +++ b/scripts/tcp5p28.gd @@ -13,7 +13,7 @@ class TCP5P28: const CMD_TYPE_STATE: int = 1 const CMD_TYPE_TH: int = 2 const CMD_TYPE_IN: int = 3 - + signal line_changed(unit: TCP5P28) ## Сигнал состояние связи изменилось signal data_received(unit: TCP5P28) ## Сигнал данные приняты signal command_fail(unit: TCP5P28) ## Сигнал при не выполнении команды @@ -50,7 +50,7 @@ class TCP5P28: return Error.OK else: return Error.ERR_UNAVAILABLE - + func pack_threats(threats): var data = PackedByteArray() var data_len = 4 + len(threats) * 80 # длинна блока данных в байтах @@ -69,20 +69,20 @@ class TCP5P28: flags |= 0 << 8 # Флаг рекомендуемой помехи flags |= int(th.fflags['aoa']) << 9 # Флаг доставерности пеленга flags |= int(th.fflags['alt']) << 10 # Флаг доставерности высоты - flags |= int(th.fflags['power']) << 11 # Флаг доставерности мощности - flags |= int(th.fflags['baud']) << 12 # Флаг доставерности ск. мод. + flags |= int(th.fflags['power']) << 11 # Флаг доставерности мощности + flags |= int(th.fflags['baud']) << 12 # Флаг доставерности ск. мод. flags |= int(th.fflags['slon']) << 13 # Флаг доставерности долготы ст. позиции - flags |= int(th.fflags['slat']) << 14 # Флаг доставерности широты ст. позиции + flags |= int(th.fflags['slat']) << 14 # Флаг доставерности широты ст. позиции flags |= int(th.fflags['lat']) << 15 # Флаг доставерности долготы flags |= int(th.fflags['lot']) << 16 # Флаг доставерности широты flags |= int(0) << 30 # Флаг признак назначения помехи на цель - flags |= int(0) << 31 # Флаг признак назначения опасной цель + flags |= int(0) << 31 # Флаг признак назначения опасной цель th_data.encode_u32(8, flags) # Флаги return th_data - + func create_header(data_len): var head_len: int = 8 # длинна заголовка в байтах pass - - + +