From ec1778e188a504079f3e46044e90301f080c1ee6 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Thu, 25 Apr 2024 13:53:21 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80.=20=D0=9F=D0=BE=D1=82=D0=BE=D0=BC=D1=83=20=D1=87=D1=82?= =?UTF-8?q?=D0=BE=20=D0=BF=D1=80=D0=B8=D0=B1=D0=BE=D1=80=D1=8B!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project.godot | 30 +- scenes/button-flat/button-flat.tscn | 1 + scenes/button-flat/nine-patch-button.gd | 29 +- .../btn-scale.tscn | 0 scenes/grid-buttons-ecm/grid-buttons-ecm.tscn | 28 +- scenes/pribor-afsp-r/pribor-afsp.tscn | 572 ------------------ .../pribor-afsp.tscn | 105 ++-- scenes/pribor-prd-k/kasseta-fs-kd.tscn | 2 +- scenes/pribor-prd-k/pribor-prd-k.tscn | 10 +- scenes/pribor-prd-n/kasseta-fs-nd.tscn | 2 +- scenes/pribor-prd-n/kasseta-p-1.tscn | 50 -- scenes/pribor-prd-n/kasseta-u-5.tscn | 74 --- scenes/pribor-prd-n/pribor-prd-n.tscn | 8 +- scenes/pribor-prd-v-1/pribor-prd-v-1.tscn | 6 - scenes/pribor-prd-v-2/pribor-prd-v-2.tscn | 6 - scenes/pribor-prd-v-3/pribor-prd-v-3.tscn | 6 - scenes/pribor-prd-v-4/pribor-prd-v-4.tscn | 6 - scenes/pribor-prd-v/kasseta-fs-vd.tscn | 59 ++ scenes/pribor-prd-v/pribor-prd-v.tscn | 221 +++++++ scenes/pribor-rtr/pribor-rtr.tscn | 2 +- scenes/pribor-uf/pribor-uf.tscn | 2 +- scenes/pribor-uyep/pribor-uyep.tscn | 2 +- {scripts => scenes/scripts}/capsrpb.gd | 0 {scripts => scenes/scripts}/file-table.gd | 0 {scripts => scenes/scripts}/hotkeys.gd | 0 {scripts => scenes/scripts}/interfer.gd | 0 {scripts => scenes/scripts}/mercator.gd | 0 {scripts => scenes/scripts}/modbus.gd | 0 {scripts => scenes/scripts}/repnetwork.gd | 0 {scripts => scenes/scripts}/repsettings.gd | 0 {scripts => scenes/scripts}/signaller.gd | 66 +- {scripts => scenes/scripts}/tcp5p28.gd | 0 {scripts => scenes/scripts}/threats.gd | 0 {scripts => scenes/scripts}/tools.gd | 0 {scripts => scenes/scripts}/yau07.gd | 0 {scripts => scenes/scripts}/yems-boards.gd | 0 {scripts => scenes/scripts}/yems-consts.gd | 0 {scripts => scenes/scripts}/yems-devs.gd | 0 scenes/tabs-switch/tab-switch.gd | 4 + scenes/tabs-switch/tab-switch.tscn | 4 +- .../кассета-п-1.tscn} | 4 +- .../кассета-п-2.tscn} | 2 +- .../кассета-у-5.tscn} | 4 +- scenes/контроль/контроль.gd | 34 +- scenes/контроль/{um1535.tscn => ум1535.tscn} | 2 +- .../{indicator_h.tscn => уровень.tscn} | 0 .../{element_v.tscn => элемент-в.tscn} | 0 .../{element_h.tscn => элемент-г.tscn} | 0 scenes/работа/работа.tscn | 7 +- 49 files changed, 473 insertions(+), 875 deletions(-) rename scenes/{btn-scale => button-scale}/btn-scale.tscn (100%) delete mode 100644 scenes/pribor-afsp-r/pribor-afsp.tscn rename scenes/{pribor-afsp-l => pribor-afsp}/pribor-afsp.tscn (87%) delete mode 100644 scenes/pribor-prd-n/kasseta-p-1.tscn delete mode 100644 scenes/pribor-prd-n/kasseta-u-5.tscn delete mode 100644 scenes/pribor-prd-v-1/pribor-prd-v-1.tscn delete mode 100644 scenes/pribor-prd-v-2/pribor-prd-v-2.tscn delete mode 100644 scenes/pribor-prd-v-3/pribor-prd-v-3.tscn delete mode 100644 scenes/pribor-prd-v-4/pribor-prd-v-4.tscn create mode 100644 scenes/pribor-prd-v/kasseta-fs-vd.tscn create mode 100644 scenes/pribor-prd-v/pribor-prd-v.tscn rename {scripts => scenes/scripts}/capsrpb.gd (100%) rename {scripts => scenes/scripts}/file-table.gd (100%) rename {scripts => scenes/scripts}/hotkeys.gd (100%) rename {scripts => scenes/scripts}/interfer.gd (100%) rename {scripts => scenes/scripts}/mercator.gd (100%) rename {scripts => scenes/scripts}/modbus.gd (100%) rename {scripts => scenes/scripts}/repnetwork.gd (100%) rename {scripts => scenes/scripts}/repsettings.gd (100%) rename {scripts => scenes/scripts}/signaller.gd (69%) rename {scripts => scenes/scripts}/tcp5p28.gd (100%) rename {scripts => scenes/scripts}/threats.gd (100%) rename {scripts => scenes/scripts}/tools.gd (100%) rename {scripts => scenes/scripts}/yau07.gd (100%) rename {scripts => scenes/scripts}/yems-boards.gd (100%) rename {scripts => scenes/scripts}/yems-consts.gd (100%) rename {scripts => scenes/scripts}/yems-devs.gd (100%) rename scenes/{pribor-prd-k/kasseta-p-1.tscn => контроль/кассета-п-1.tscn} (91%) rename scenes/{pribor-prd-k/kasseta-p-2.tscn => контроль/кассета-п-2.tscn} (94%) rename scenes/{pribor-prd-k/kasseta-u-5.tscn => контроль/кассета-у-5.tscn} (93%) rename scenes/контроль/{um1535.tscn => ум1535.tscn} (98%) rename scenes/контроль/{indicator_h.tscn => уровень.tscn} (100%) rename scenes/контроль/{element_v.tscn => элемент-в.tscn} (100%) rename scenes/контроль/{element_h.tscn => элемент-г.tscn} (100%) diff --git a/project.godot b/project.godot index 1105930..fa20df7 100644 --- a/project.godot +++ b/project.godot @@ -43,22 +43,22 @@ config/external_cu=false [autoload] log="*res://addons/godot-logger/scripts/logger.gd" -tools="*res://scripts/tools.gd" -signaller="*res://scripts/signaller.gd" -repsettings="*res://scripts/repsettings.gd" -repnetwork="*res://scripts/repnetwork.gd" -yau07="*res://scripts/yau07.gd" -capsrpb="*res://scripts/capsrpb.gd" +tools="*res://scenes/scripts/tools.gd" +signaller="*res://scenes/scripts/signaller.gd" +repsettings="*res://scenes/scripts/repsettings.gd" +repnetwork="*res://scenes/scripts/repnetwork.gd" +yau07="*res://scenes/scripts/yau07.gd" +capsrpb="*res://scenes/scripts/capsrpb.gd" table="*res://table/table.gd" -threats="*res://scripts/threats.gd" -yemsdevs="*res://scripts/yems-devs.gd" -yemsboards="*res://scripts/yems-boards.gd" -yemsconsts="*res://scripts/yems-consts.gd" -interfer="*res://scripts/interfer.gd" -hotkeys="*res://scripts/hotkeys.gd" -mercator="*res://scripts/mercator.gd" -modbus="*res://scripts/modbus.gd" -tcp5p28="*res://scripts/tcp5p28.gd" +threats="*res://scenes/scripts/threats.gd" +yemsdevs="*res://scenes/scripts/yems-devs.gd" +yemsboards="*res://scenes/scripts/yems-boards.gd" +yemsconsts="*res://scenes/scripts/yems-consts.gd" +interfer="*res://scenes/scripts/interfer.gd" +hotkeys="*res://scenes/scripts/hotkeys.gd" +mercator="*res://scenes/scripts/mercator.gd" +modbus="*res://scenes/scripts/modbus.gd" +tcp5p28="*res://scenes/scripts/tcp5p28.gd" [debug] diff --git a/scenes/button-flat/button-flat.tscn b/scenes/button-flat/button-flat.tscn index 51b8e5a..88007b0 100644 --- a/scenes/button-flat/button-flat.tscn +++ b/scenes/button-flat/button-flat.tscn @@ -132,6 +132,7 @@ theme_override_styles/hover = SubResource("2") theme_override_styles/pressed = SubResource("3") theme_override_styles/disabled = SubResource("5") theme_override_styles/focus = SubResource("4") +toggle_mode = true clip_text = true [connection signal="resized" from="." to="." method="_on_resized"] diff --git a/scenes/button-flat/nine-patch-button.gd b/scenes/button-flat/nine-patch-button.gd index 2356476..67189a3 100644 --- a/scenes/button-flat/nine-patch-button.gd +++ b/scenes/button-flat/nine-patch-button.gd @@ -19,9 +19,11 @@ func is_toggle_mode(): return $button.is_toggle_mode() set(val): $state.set_texture(val) -@export var strips_rotation: float: - set(val): $back.strips_rotation = deg_to_rad(val) - get: return rad_to_deg($back.strips_rotation) +@export var strips_rotation: float = 0.0: + set(val): + strips_rotation = val + $back.strips_rotation = deg_to_rad(val) + get: return strips_rotation @export var text: String = '': @@ -31,20 +33,27 @@ func is_toggle_mode(): return $button.is_toggle_mode() @export var disabled: bool = false: set(val): + disabled = val $button.set_disabled(val) $back.disabled = val $state.modulate.a = 0.5 if val else 1.0 - get: return $button.disabled + get: return disabled @export var pressed: bool = false: - set(val): $button.set_pressed(val) - get: return $button.is_pressed() + set(val): + pressed = val + $button.set_pressed(val) + get: + return pressed -@export var toggle_mode: bool: - set(val): $button.set_toggle_mode(val) - get: return $button.is_toggle_mode() +@export var toggle_mode: bool = false: + set(val): + toggle_mode = val + $button.set_toggle_mode(val) + get: + return toggle_mode func _on_resized() -> void: @@ -59,7 +68,7 @@ func _enter_tree() -> void: $button.connect('toggled', Callable(self, '_on_button_toggled')) -func set_toggle_mode (val: bool): +func set_toggle_mode(val: bool): $button.set_toggle_mode(val) diff --git a/scenes/btn-scale/btn-scale.tscn b/scenes/button-scale/btn-scale.tscn similarity index 100% rename from scenes/btn-scale/btn-scale.tscn rename to scenes/button-scale/btn-scale.tscn diff --git a/scenes/grid-buttons-ecm/grid-buttons-ecm.tscn b/scenes/grid-buttons-ecm/grid-buttons-ecm.tscn index 7baa822..ca32b73 100644 --- a/scenes/grid-buttons-ecm/grid-buttons-ecm.tscn +++ b/scenes/grid-buttons-ecm/grid-buttons-ecm.tscn @@ -11,7 +11,7 @@ columns = 14 layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 20.0 +strips_rotation = 30.0 text = "Откл." disabled = true toggle_mode = true @@ -21,7 +21,7 @@ metadata/rfi_name = "off" layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 20.0 +strips_rotation = 30.0 text = "Запрет" disabled = true toggle_mode = true @@ -31,7 +31,7 @@ metadata/rfi_name = "auto" layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 20.0 +strips_rotation = 30.0 text = "МЧМ-1" disabled = true toggle_mode = true @@ -41,7 +41,7 @@ metadata/rfi_name = "mchm1" layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 20.0 +strips_rotation = 30.0 text = "СРН-И1" disabled = true toggle_mode = true @@ -51,7 +51,7 @@ metadata/rfi_name = "srni1" layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 20.0 +strips_rotation = 30.0 text = "СРН-М2" disabled = true toggle_mode = true @@ -61,7 +61,7 @@ metadata/rfi_name = "srnm2" layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 20.0 +strips_rotation = 30.0 text = "ПД-М4" disabled = true toggle_mode = true @@ -71,7 +71,7 @@ metadata/rfi_name = "pdm4" layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 20.0 +strips_rotation = 30.0 text = "ПД-М2" disabled = true toggle_mode = true @@ -81,7 +81,7 @@ metadata/rfi_name = "pdm2" layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 20.0 +strips_rotation = 30.0 text = "ЛЧМ-1" disabled = true toggle_mode = true @@ -91,7 +91,7 @@ metadata/rfi_name = "lchm1" layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 20.0 +strips_rotation = 30.0 text = "ПД-М4С" disabled = true toggle_mode = true @@ -101,7 +101,7 @@ metadata/rfi_name = "pdm4s" layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 20.0 +strips_rotation = 30.0 text = "ПД-ЧМ" disabled = true toggle_mode = true @@ -111,7 +111,7 @@ metadata/rfi_name = "pdchm" layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 20.0 +strips_rotation = 30.0 text = "СВ-И1" disabled = true toggle_mode = true @@ -121,7 +121,7 @@ metadata/rfi_name = "svi1" layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 20.0 +strips_rotation = 30.0 text = "K1" disabled = true toggle_mode = true @@ -131,7 +131,7 @@ metadata/rfi_name = "k1" layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 20.0 +strips_rotation = 30.0 text = "СВ-М2" disabled = true toggle_mode = true @@ -141,7 +141,7 @@ metadata/rfi_name = "svm2" layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 20.0 +strips_rotation = 30.0 text = "ОЗП-1" disabled = true toggle_mode = true diff --git a/scenes/pribor-afsp-r/pribor-afsp.tscn b/scenes/pribor-afsp-r/pribor-afsp.tscn deleted file mode 100644 index bbb9190..0000000 --- a/scenes/pribor-afsp-r/pribor-afsp.tscn +++ /dev/null @@ -1,572 +0,0 @@ -[gd_scene load_steps=3 format=3 uid="uid://o2juk6in2nke"] - -[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_3mc50"] -[ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/element_h.tscn" id="2_gl6qy"] - -[node name="pribor_UF" type="Node2D"] - -[node name="lbl_header" type="Label" parent="."] -offset_left = -6.0 -offset_top = 81.0 -offset_right = 849.0 -offset_bottom = 107.0 -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 = "Мнемосхема прибора АФСП пра борта" -offset_left = 25.0 -offset_top = 121.0 -offset_right = 378.0 -offset_bottom = 1128.0 -texture = ExtResource("1_3mc50") -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 -offset_left = 32.0 -offset_top = 70.0 -offset_right = 332.0 -offset_bottom = 454.0 -texture = ExtResource("1_3mc50") -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 -offset_left = 20.0 -offset_top = 211.0 -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 -offset_left = 20.0 -offset_top = 89.0 -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 -offset_left = 20.0 -offset_top = 130.0 -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 -offset_left = 20.0 -offset_top = 171.0 -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 -offset_left = 20.0 -offset_top = 252.0 -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 -offset_left = 20.0 -offset_top = 48.0 -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 -offset_left = 20.0 -offset_top = 291.0 -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 -offset_left = 20.0 -offset_top = 334.0 -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 -offset_left = 89.0 -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 -offset_left = 32.0 -offset_top = 458.0 -offset_right = 332.0 -offset_bottom = 600.0 -texture = ExtResource("1_3mc50") -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 -offset_left = 135.0 -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 -offset_left = 20.0 -offset_top = 36.0 -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 -offset_left = 20.0 -offset_top = 85.0 -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 -offset_left = 33.0 -offset_top = 605.0 -offset_right = 333.0 -offset_bottom = 989.0 -texture = ExtResource("1_3mc50") -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 -offset_left = 20.0 -offset_top = 48.0 -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 -offset_left = 20.0 -offset_top = 89.0 -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 -offset_left = 20.0 -offset_top = 130.0 -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 -offset_left = 20.0 -offset_top = 171.0 -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 -offset_left = 20.0 -offset_top = 211.0 -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 -offset_left = 20.0 -offset_top = 252.0 -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 -offset_left = 20.0 -offset_top = 291.0 -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 -offset_left = 20.0 -offset_top = 334.0 -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 -offset_left = 89.0 -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 -offset_left = 169.0 -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 -offset_left = 302.0 -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 = "Мнемосхема прибора АФСП пра борта" -offset_left = 414.0 -offset_top = 121.0 -offset_right = 767.0 -offset_bottom = 1128.0 -texture = ExtResource("1_3mc50") -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 -offset_left = 32.0 -offset_top = 70.0 -offset_right = 332.0 -offset_bottom = 454.0 -texture = ExtResource("1_3mc50") -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 -offset_left = 20.0 -offset_top = 211.0 -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 -offset_left = 20.0 -offset_top = 89.0 -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 -offset_left = 20.0 -offset_top = 130.0 -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 -offset_left = 20.0 -offset_top = 171.0 -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 -offset_left = 20.0 -offset_top = 252.0 -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 -offset_left = 20.0 -offset_top = 48.0 -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 -offset_left = 20.0 -offset_top = 291.0 -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 -offset_left = 20.0 -offset_top = 334.0 -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 -offset_left = 89.0 -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 -offset_left = 32.0 -offset_top = 458.0 -offset_right = 332.0 -offset_bottom = 600.0 -texture = ExtResource("1_3mc50") -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 -offset_left = 135.0 -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 -offset_left = 20.0 -offset_top = 36.0 -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 -offset_left = 20.0 -offset_top = 85.0 -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 -offset_left = 33.0 -offset_top = 605.0 -offset_right = 333.0 -offset_bottom = 989.0 -texture = ExtResource("1_3mc50") -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 -offset_left = 20.0 -offset_top = 48.0 -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 -offset_left = 20.0 -offset_top = 89.0 -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 -offset_left = 20.0 -offset_top = 130.0 -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 -offset_left = 20.0 -offset_top = 171.0 -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 -offset_left = 20.0 -offset_top = 211.0 -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 -offset_left = 20.0 -offset_top = 252.0 -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 -offset_left = 20.0 -offset_top = 291.0 -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 -offset_left = 20.0 -offset_top = 334.0 -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 -offset_left = 89.0 -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 -offset_left = 169.0 -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 -offset_left = 302.0 -offset_top = 16.0 -offset_right = 330.0 -offset_bottom = 40.0 -text = "A2 -" -metadata/_edit_use_anchors_ = true diff --git a/scenes/pribor-afsp-l/pribor-afsp.tscn b/scenes/pribor-afsp/pribor-afsp.tscn similarity index 87% rename from scenes/pribor-afsp-l/pribor-afsp.tscn rename to scenes/pribor-afsp/pribor-afsp.tscn index 5ba1ff0..356c685 100644 --- a/scenes/pribor-afsp-l/pribor-afsp.tscn +++ b/scenes/pribor-afsp/pribor-afsp.tscn @@ -1,16 +1,21 @@ -[gd_scene load_steps=3 format=3 uid="uid://cpsbybk4r6t8d"] +[gd_scene load_steps=4 format=3 uid="uid://cpsbybk4r6t8d"] -[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"] +[ext_resource type="Script" path="res://scenes/контроль/прибор.gd" id="1_7i12q"] +[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="2_won25"] +[ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/элемент-г.tscn" id="3_7rc2x"] -[node name="pribor_UF" type="Node2D"] +[node name="pribor_afsp" type="Control"] +layout_mode = 3 +anchors_preset = 0 +script = ExtResource("1_7i12q") [node name="ref_A1_lpa" type="NinePatchRect" parent="."] +layout_mode = 0 offset_left = 25.0 offset_top = 121.0 offset_right = 378.0 offset_bottom = 1128.0 -texture = ExtResource("1_u001h") +texture = ExtResource("2_won25") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 @@ -22,13 +27,13 @@ offset_left = 32.0 offset_top = 70.0 offset_right = 332.0 offset_bottom = 454.0 -texture = ExtResource("1_u001h") +texture = ExtResource("2_won25") 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_jr174")] +[node name="ref_mshu1" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 211.0 @@ -37,7 +42,7 @@ offset_bottom = 253.0 fname = "МШУ" rname = "А5" -[node name="ref_mshu2" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] +[node name="ref_mshu2" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 89.0 @@ -46,7 +51,7 @@ offset_bottom = 131.0 fname = "МШУ" rname = "А2" -[node name="ref_mshu3" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] +[node name="ref_mshu3" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 130.0 @@ -55,7 +60,7 @@ offset_bottom = 172.0 fname = "МШУ" rname = "А3" -[node name="ref_mshu4" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] +[node name="ref_mshu4" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 171.0 @@ -64,7 +69,7 @@ offset_bottom = 213.0 fname = "МШУ" rname = "А4" -[node name="ref_mshu5" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] +[node name="ref_mshu5" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 252.0 @@ -73,7 +78,7 @@ offset_bottom = 294.0 fname = "МШУ" rname = "А6" -[node name="ref_mshu6" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] +[node name="ref_mshu6" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 48.0 @@ -82,7 +87,7 @@ offset_bottom = 90.0 fname = "МШУ" rname = "А1" -[node name="ref_mshu7" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] +[node name="ref_mshu7" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 291.0 @@ -91,7 +96,7 @@ offset_bottom = 333.0 fname = "МШУ" rname = "А7" -[node name="ref_mshu8" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("2_jr174")] +[node name="ref_mshu8" parent="ref_A1_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 334.0 @@ -114,7 +119,7 @@ offset_left = 32.0 offset_top = 458.0 offset_right = 332.0 offset_bottom = 600.0 -texture = ExtResource("1_u001h") +texture = ExtResource("2_won25") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 @@ -128,7 +133,7 @@ offset_right = 167.0 offset_bottom = 40.0 text = "БПЧ" -[node name="ref_og" parent="ref_A1_lpa/ref_bpch" instance=ExtResource("2_jr174")] +[node name="ref_og" parent="ref_A1_lpa/ref_bpch" instance=ExtResource("3_7rc2x")] layout_mode = 2 offset_left = 20.0 offset_top = 36.0 @@ -137,7 +142,7 @@ offset_bottom = 78.0 fname = "Модуль ОГ" rname = "А23" -[node name="ref_geterodin" parent="ref_A1_lpa/ref_bpch" instance=ExtResource("2_jr174")] +[node name="ref_geterodin" parent="ref_A1_lpa/ref_bpch" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 85.0 @@ -152,13 +157,13 @@ offset_left = 33.0 offset_top = 605.0 offset_right = 333.0 offset_bottom = 989.0 -texture = ExtResource("1_u001h") +texture = ExtResource("2_won25") 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_jr174")] +[node name="ref_mshu9" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 48.0 @@ -167,7 +172,7 @@ offset_bottom = 90.0 fname = "МШУ" rname = "А9" -[node name="ref_mshu10" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] +[node name="ref_mshu10" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 89.0 @@ -176,7 +181,7 @@ offset_bottom = 131.0 fname = "МШУ" rname = "А10" -[node name="ref_mshu11" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] +[node name="ref_mshu11" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 130.0 @@ -185,7 +190,7 @@ offset_bottom = 172.0 fname = "МШУ" rname = "А11" -[node name="ref_mshu12" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] +[node name="ref_mshu12" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 171.0 @@ -194,7 +199,7 @@ offset_bottom = 213.0 fname = "МШУ" rname = "А12" -[node name="ref_mshu13" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] +[node name="ref_mshu13" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 211.0 @@ -203,7 +208,7 @@ offset_bottom = 253.0 fname = "МШУ" rname = "А13" -[node name="ref_mshu14" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] +[node name="ref_mshu14" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 252.0 @@ -212,7 +217,7 @@ offset_bottom = 294.0 fname = "МШУ" rname = "А14" -[node name="ref_mshu15" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] +[node name="ref_mshu15" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 291.0 @@ -221,7 +226,7 @@ offset_bottom = 333.0 fname = "МШУ" rname = "А15" -[node name="ref_mshu16" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("2_jr174")] +[node name="ref_mshu16" parent="ref_A1_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 334.0 @@ -255,11 +260,12 @@ offset_bottom = 40.0 text = "A1" [node name="ref_A2_lpa" type="NinePatchRect" parent="."] +layout_mode = 0 offset_left = 414.0 offset_top = 121.0 offset_right = 767.0 offset_bottom = 1128.0 -texture = ExtResource("1_u001h") +texture = ExtResource("2_won25") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 @@ -271,13 +277,13 @@ offset_left = 32.0 offset_top = 70.0 offset_right = 332.0 offset_bottom = 454.0 -texture = ExtResource("1_u001h") +texture = ExtResource("2_won25") 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_jr174")] +[node name="ref_mshu1" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 211.0 @@ -286,7 +292,7 @@ offset_bottom = 253.0 fname = "МШУ" rname = "А5" -[node name="ref_mshu2" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] +[node name="ref_mshu2" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 89.0 @@ -295,7 +301,7 @@ offset_bottom = 131.0 fname = "МШУ" rname = "А2" -[node name="ref_mshu3" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] +[node name="ref_mshu3" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 130.0 @@ -304,7 +310,7 @@ offset_bottom = 172.0 fname = "МШУ" rname = "А3" -[node name="ref_mshu4" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] +[node name="ref_mshu4" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 171.0 @@ -313,7 +319,7 @@ offset_bottom = 213.0 fname = "МШУ" rname = "А4" -[node name="ref_mshu5" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] +[node name="ref_mshu5" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 252.0 @@ -322,7 +328,7 @@ offset_bottom = 294.0 fname = "МШУ" rname = "А6" -[node name="ref_mshu6" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] +[node name="ref_mshu6" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 48.0 @@ -331,7 +337,7 @@ offset_bottom = 90.0 fname = "МШУ" rname = "А1" -[node name="ref_mshu7" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] +[node name="ref_mshu7" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 291.0 @@ -340,7 +346,7 @@ offset_bottom = 333.0 fname = "МШУ" rname = "А7" -[node name="ref_mshu8" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("2_jr174")] +[node name="ref_mshu8" parent="ref_A2_lpa/ref_block_la1" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 334.0 @@ -363,7 +369,7 @@ offset_left = 32.0 offset_top = 458.0 offset_right = 332.0 offset_bottom = 600.0 -texture = ExtResource("1_u001h") +texture = ExtResource("2_won25") patch_margin_left = 16 patch_margin_top = 16 patch_margin_right = 16 @@ -377,7 +383,7 @@ offset_right = 167.0 offset_bottom = 40.0 text = "БПЧ" -[node name="ref_og" parent="ref_A2_lpa/ref_bpch" instance=ExtResource("2_jr174")] +[node name="ref_og" parent="ref_A2_lpa/ref_bpch" instance=ExtResource("3_7rc2x")] layout_mode = 2 offset_left = 20.0 offset_top = 36.0 @@ -386,7 +392,7 @@ offset_bottom = 78.0 fname = "Модуль ОГ" rname = "А23" -[node name="ref_geterodin" parent="ref_A2_lpa/ref_bpch" instance=ExtResource("2_jr174")] +[node name="ref_geterodin" parent="ref_A2_lpa/ref_bpch" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 85.0 @@ -401,13 +407,13 @@ offset_left = 33.0 offset_top = 605.0 offset_right = 333.0 offset_bottom = 989.0 -texture = ExtResource("1_u001h") +texture = ExtResource("2_won25") 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_jr174")] +[node name="ref_mshu9" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 48.0 @@ -416,7 +422,7 @@ offset_bottom = 90.0 fname = "МШУ" rname = "А9" -[node name="ref_mshu10" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] +[node name="ref_mshu10" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 89.0 @@ -425,7 +431,7 @@ offset_bottom = 131.0 fname = "МШУ" rname = "А10" -[node name="ref_mshu11" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] +[node name="ref_mshu11" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 130.0 @@ -434,7 +440,7 @@ offset_bottom = 172.0 fname = "МШУ" rname = "А11" -[node name="ref_mshu12" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] +[node name="ref_mshu12" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 171.0 @@ -443,7 +449,7 @@ offset_bottom = 213.0 fname = "МШУ" rname = "А12" -[node name="ref_mshu13" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] +[node name="ref_mshu13" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 211.0 @@ -452,7 +458,7 @@ offset_bottom = 253.0 fname = "МШУ" rname = "А13" -[node name="ref_mshu14" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] +[node name="ref_mshu14" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 252.0 @@ -461,7 +467,7 @@ offset_bottom = 294.0 fname = "МШУ" rname = "А14" -[node name="ref_mshu15" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] +[node name="ref_mshu15" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 291.0 @@ -470,7 +476,7 @@ offset_bottom = 333.0 fname = "МШУ" rname = "А15" -[node name="ref_mshu16" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("2_jr174")] +[node name="ref_mshu16" parent="ref_A2_lpa/ref_block_la2" instance=ExtResource("3_7rc2x")] layout_mode = 0 offset_left = 20.0 offset_top = 334.0 @@ -505,11 +511,12 @@ text = "A2 " [node name="lbl_header" type="Label" parent="."] +layout_mode = 0 offset_left = -6.0 offset_top = 81.0 offset_right = 849.0 offset_bottom = 107.0 theme_override_font_sizes/font_size = 22 -text = "Контроль исправности прибора АФС-П Левый борт" +text = "Контроль исправности прибора АФС-П" horizontal_alignment = 1 vertical_alignment = 1 diff --git a/scenes/pribor-prd-k/kasseta-fs-kd.tscn b/scenes/pribor-prd-k/kasseta-fs-kd.tscn index 8462ec6..fb896b8 100644 --- a/scenes/pribor-prd-k/kasseta-fs-kd.tscn +++ b/scenes/pribor-prd-k/kasseta-fs-kd.tscn @@ -2,7 +2,7 @@ [ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_1jljp"] [ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_01mea"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_kqnvt"] +[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/элемент-в.tscn" id="3_kqnvt"] [node name="kasseta_fs_kd" type="NinePatchRect"] offset_right = 310.0 diff --git a/scenes/pribor-prd-k/pribor-prd-k.tscn b/scenes/pribor-prd-k/pribor-prd-k.tscn index d68e041..5ce323b 100644 --- a/scenes/pribor-prd-k/pribor-prd-k.tscn +++ b/scenes/pribor-prd-k/pribor-prd-k.tscn @@ -1,13 +1,13 @@ [gd_scene load_steps=9 format=3 uid="uid://m5s87q7m66lj"] [ext_resource type="Script" path="res://scenes/контроль/прибор.gd" id="1_7kjrl"] -[ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/element_h.tscn" id="1_8dmgr"] +[ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/элемент-г.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://bk1655p4e8y4u" path="res://scenes/pribor-prd-n/kasseta-u-5.tscn" id="3_7orfk"] -[ext_resource type="PackedScene" uid="uid://bkxblfoj7ejv0" path="res://scenes/контроль/um1535.tscn" id="6_fmhtx"] -[ext_resource type="PackedScene" uid="uid://cg2ecoyms7xy2" path="res://scenes/pribor-prd-k/kasseta-p-1.tscn" id="7_cjjs2"] +[ext_resource type="PackedScene" uid="uid://bk1655p4e8y4u" path="res://scenes/контроль/кассета-у-5.tscn" id="3_7orfk"] +[ext_resource type="PackedScene" uid="uid://bkxblfoj7ejv0" path="res://scenes/контроль/ум1535.tscn" id="6_fmhtx"] +[ext_resource type="PackedScene" uid="uid://dbxdb7lo7kofv" path="res://scenes/контроль/кассета-п-1.tscn" id="7_cjjs2"] [ext_resource type="PackedScene" uid="uid://bmagw8nd0ulhj" path="res://scenes/pribor-prd-k/kasseta-fs-kd.tscn" id="7_ia27q"] -[ext_resource type="PackedScene" uid="uid://dq31j24gv5vi4" path="res://scenes/pribor-prd-k/kasseta-p-2.tscn" id="8_6fdp7"] +[ext_resource type="PackedScene" uid="uid://dq31j24gv5vi4" path="res://scenes/контроль/кассета-п-2.tscn" id="8_6fdp7"] [node name="pribor_prd_k" type="Control"] layout_mode = 3 diff --git a/scenes/pribor-prd-n/kasseta-fs-nd.tscn b/scenes/pribor-prd-n/kasseta-fs-nd.tscn index de453b9..a6d27dc 100644 --- a/scenes/pribor-prd-n/kasseta-fs-nd.tscn +++ b/scenes/pribor-prd-n/kasseta-fs-nd.tscn @@ -2,7 +2,7 @@ [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"] +[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/элемент-в.tscn" id="2_mkgdh"] [node name="kasseta_fs_nd" type="NinePatchRect"] offset_right = 310.0 diff --git a/scenes/pribor-prd-n/kasseta-p-1.tscn b/scenes/pribor-prd-n/kasseta-p-1.tscn deleted file mode 100644 index 3fcb4eb..0000000 --- a/scenes/pribor-prd-n/kasseta-p-1.tscn +++ /dev/null @@ -1,50 +0,0 @@ -[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_suecd"] -[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_q7stg"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_kkuhl"] - -[node name="kasseta_p_1" type="NinePatchRect"] -offset_right = 310.0 -offset_bottom = 190.0 -texture = ExtResource("1_suecd") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 -script = ExtResource("2_q7stg") - -[node name="ref_A26" parent="." instance=ExtResource("3_kkuhl")] -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("3_kkuhl")] -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("3_kkuhl")] -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="."] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 5.0 -offset_top = 5.0 -offset_right = 305.0 -offset_bottom = 30.0 -text = "Кассета" -horizontal_alignment = 1 -vertical_alignment = 1 diff --git a/scenes/pribor-prd-n/kasseta-u-5.tscn b/scenes/pribor-prd-n/kasseta-u-5.tscn deleted file mode 100644 index bf13e58..0000000 --- a/scenes/pribor-prd-n/kasseta-u-5.tscn +++ /dev/null @@ -1,74 +0,0 @@ -[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"] -offset_right = 310.0 -offset_bottom = 190.0 -texture = ExtResource("1_b7mhj") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 -script = ExtResource("2_6e76f") - -[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 = 32.0 -offset_right = 55.0 -offset_bottom = 182.0 -fname = "ИП5-25" -rname = "A31" - -[node name="ref_A37" parent="." instance=ExtResource("3_51mna")] -offset_left = 55.0 -offset_top = 32.0 -offset_right = 105.0 -offset_bottom = 182.0 -fname = "ЯУ-07Б" -rname = "A37" - -[node name="ref_A33" parent="." instance=ExtResource("3_51mna")] -offset_left = 105.0 -offset_top = 32.0 -offset_right = 155.0 -offset_bottom = 182.0 -fname = "ЭМС-Г" -rname = "A33" - -[node name="ref_A34" parent="." instance=ExtResource("3_51mna")] -offset_left = 155.0 -offset_top = 32.0 -offset_right = 205.0 -offset_bottom = 182.0 -fname = "УГ" -rname = "A34" - -[node name="ref_A35" parent="." instance=ExtResource("3_51mna")] -offset_left = 205.0 -offset_top = 32.0 -offset_right = 255.0 -offset_bottom = 182.0 -fname = "УКП" -rname = "A35" - -[node name="ref_A36" parent="." instance=ExtResource("3_51mna")] -offset_left = 254.0 -offset_top = 32.0 -offset_right = 304.0 -offset_bottom = 182.0 -fname = "УКП" -rname = "A36" diff --git a/scenes/pribor-prd-n/pribor-prd-n.tscn b/scenes/pribor-prd-n/pribor-prd-n.tscn index 5489f6e..25e63d8 100644 --- a/scenes/pribor-prd-n/pribor-prd-n.tscn +++ b/scenes/pribor-prd-n/pribor-prd-n.tscn @@ -1,12 +1,12 @@ [gd_scene load_steps=8 format=3 uid="uid://dnuexoef2nnv5"] [ext_resource type="Script" path="res://scenes/контроль/прибор.gd" id="1_mcea3"] -[ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/element_h.tscn" id="2_lpj3d"] +[ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/элемент-г.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="PackedScene" uid="uid://bk1655p4e8y4u" path="res://scenes/контроль/кассета-у-5.tscn" id="5_ej152"] [ext_resource type="PackedScene" uid="uid://cd5sue1e8iyrv" path="res://scenes/pribor-prd-n/kasseta-fs-nd.tscn" id="6_1p3pi"] -[ext_resource type="PackedScene" uid="uid://dbxdb7lo7kofv" path="res://scenes/pribor-prd-n/kasseta-p-1.tscn" id="7_klldp"] -[ext_resource type="PackedScene" uid="uid://bkxblfoj7ejv0" path="res://scenes/контроль/um1535.tscn" id="8_u7eqo"] +[ext_resource type="PackedScene" uid="uid://dbxdb7lo7kofv" path="res://scenes/контроль/кассета-п-1.tscn" id="7_klldp"] +[ext_resource type="PackedScene" uid="uid://bkxblfoj7ejv0" path="res://scenes/контроль/ум1535.tscn" id="8_u7eqo"] [node name="pribor_prd_n" type="Control"] layout_mode = 3 diff --git a/scenes/pribor-prd-v-1/pribor-prd-v-1.tscn b/scenes/pribor-prd-v-1/pribor-prd-v-1.tscn deleted file mode 100644 index e478db0..0000000 --- a/scenes/pribor-prd-v-1/pribor-prd-v-1.tscn +++ /dev/null @@ -1,6 +0,0 @@ -[gd_scene format=3 uid="uid://dv45fwc77flro"] - -[node name="pribor_UF" type="Node2D"] - -[node name="test_label" type="Label" parent="."] -text = "Здесь будет схема прибора ПРД-В 1" diff --git a/scenes/pribor-prd-v-2/pribor-prd-v-2.tscn b/scenes/pribor-prd-v-2/pribor-prd-v-2.tscn deleted file mode 100644 index 84fc231..0000000 --- a/scenes/pribor-prd-v-2/pribor-prd-v-2.tscn +++ /dev/null @@ -1,6 +0,0 @@ -[gd_scene format=3 uid="uid://bn43ofklq62jw"] - -[node name="pribor_UF" type="Node2D"] - -[node name="test_label" type="Label" parent="."] -text = "Здесь будет схема прибора ПРД-В 2" diff --git a/scenes/pribor-prd-v-3/pribor-prd-v-3.tscn b/scenes/pribor-prd-v-3/pribor-prd-v-3.tscn deleted file mode 100644 index 685b606..0000000 --- a/scenes/pribor-prd-v-3/pribor-prd-v-3.tscn +++ /dev/null @@ -1,6 +0,0 @@ -[gd_scene format=3 uid="uid://cf7le7xc5fbxx"] - -[node name="pribor_UF" type="Node2D"] - -[node name="test_label" type="Label" parent="."] -text = "Здесь будет схема прибора ПРД-В 3" diff --git a/scenes/pribor-prd-v-4/pribor-prd-v-4.tscn b/scenes/pribor-prd-v-4/pribor-prd-v-4.tscn deleted file mode 100644 index fe3b9cc..0000000 --- a/scenes/pribor-prd-v-4/pribor-prd-v-4.tscn +++ /dev/null @@ -1,6 +0,0 @@ -[gd_scene format=3 uid="uid://dhvq0w8gdbqw3"] - -[node name="pribor_UF" type="Node2D"] - -[node name="test_label" type="Label" parent="."] -text = "Здесь будет схема прибора ПРД-В 1" diff --git a/scenes/pribor-prd-v/kasseta-fs-vd.tscn b/scenes/pribor-prd-v/kasseta-fs-vd.tscn new file mode 100644 index 0000000..ad05775 --- /dev/null +++ b/scenes/pribor-prd-v/kasseta-fs-vd.tscn @@ -0,0 +1,59 @@ +[gd_scene load_steps=4 format=3 uid="uid://ctyinijyucgpe"] + +[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_74guj"] +[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_mfr0k"] +[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/элемент-в.tscn" id="3_w4hiq"] + +[node name="kasseta_fs_vd" type="NinePatchRect"] +offset_right = 310.0 +offset_bottom = 190.0 +texture = ExtResource("1_74guj") +patch_margin_left = 16 +patch_margin_top = 16 +patch_margin_right = 16 +patch_margin_bottom = 16 +script = ExtResource("2_mfr0k") +metadata/Fname = "" + +[node name="lbl_fname" type="Label" parent="."] +self_modulate = Color(1, 1, 1, 0.62) +layout_mode = 0 +offset_left = 5.0 +offset_top = 7.0 +offset_right = 303.0 +offset_bottom = 33.0 +text = "Кассета" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="ref_A1" parent="." instance=ExtResource("3_w4hiq")] +offset_left = 55.0 +offset_top = 32.0 +offset_right = 105.0 +offset_bottom = 182.0 +fname = "Модуль ФС" +rname = "A1" + +[node name="ref_A3" parent="." instance=ExtResource("3_w4hiq")] +offset_left = 105.0 +offset_top = 32.0 +offset_right = 155.0 +offset_bottom = 182.0 +fname = "Блок ФС-2" +rname = "A3" + +[node name="ref_A2" parent="." instance=ExtResource("3_w4hiq")] +offset_left = 155.0 +offset_top = 32.0 +offset_right = 205.0 +offset_bottom = 182.0 +fname = "Модуль ФС" +rname = "A2" + +[node name="ref_A4" parent="." instance=ExtResource("3_w4hiq")] +offset_left = 205.0 +offset_top = 32.0 +offset_right = 255.0 +offset_bottom = 182.0 +fname = "Блок ФС-3" +rname = "A4" diff --git a/scenes/pribor-prd-v/pribor-prd-v.tscn b/scenes/pribor-prd-v/pribor-prd-v.tscn new file mode 100644 index 0000000..7e69042 --- /dev/null +++ b/scenes/pribor-prd-v/pribor-prd-v.tscn @@ -0,0 +1,221 @@ +[gd_scene load_steps=8 format=3 uid="uid://cvskpe1ti3p45"] + +[ext_resource type="Script" path="res://scenes/контроль/прибор.gd" id="1_dl7rt"] +[ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/элемент-г.tscn" id="2_xpo4b"] +[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="3_wyy1b"] +[ext_resource type="PackedScene" uid="uid://bk1655p4e8y4u" path="res://scenes/контроль/кассета-у-5.tscn" id="4_gl2bl"] +[ext_resource type="PackedScene" uid="uid://cd5sue1e8iyrv" path="res://scenes/pribor-prd-n/kasseta-fs-nd.tscn" id="5_nhd2k"] +[ext_resource type="PackedScene" uid="uid://dbxdb7lo7kofv" path="res://scenes/контроль/кассета-п-1.tscn" id="6_d3awr"] +[ext_resource type="PackedScene" uid="uid://bkxblfoj7ejv0" path="res://scenes/контроль/ум1535.tscn" id="7_e22c6"] + +[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 = ExtResource("1_dl7rt") + +[node name="maa2000_A22" parent="." instance=ExtResource("2_xpo4b")] +layout_mode = 2 +offset_left = 485.0 +offset_top = 877.0 +offset_right = 645.0 +offset_bottom = 942.0 +fname = "MAA2000" +rname = "A22" + +[node name="dou4_A5" parent="." instance=ExtResource("2_xpo4b")] +layout_mode = 2 +offset_left = 485.0 +offset_top = 812.0 +offset_right = 645.0 +offset_bottom = 877.0 +fname = "ДОУ-4" +rname = "A5" + +[node name="maa2000_A23" parent="." instance=ExtResource("2_xpo4b")] +layout_mode = 2 +offset_left = 15.0 +offset_top = 877.0 +offset_right = 175.0 +offset_bottom = 942.0 +fname = "MAA2000" +rname = "A23" + +[node name="dou5_A6" parent="." instance=ExtResource("2_xpo4b")] +layout_mode = 2 +offset_left = 15.0 +offset_top = 812.0 +offset_right = 175.0 +offset_bottom = 877.0 +fname = "ДОУ-5" +rname = "A6" + +[node name="ref_ZZ3" type="NinePatchRect" parent="."] +layout_mode = 0 +offset_left = 175.0 +offset_top = 812.0 +offset_right = 485.0 +offset_bottom = 942.0 +texture = ExtResource("3_wyy1b") +patch_margin_left = 16 +patch_margin_top = 16 +patch_margin_right = 16 +patch_margin_bottom = 16 + +[node name="label" type="Label" parent="ref_ZZ3"] +self_modulate = Color(0.996078, 1, 1, 0.627451) +layout_mode = 0 +offset_left = 10.0 +offset_top = 8.0 +offset_right = 302.0 +offset_bottom = 120.0 +text = "Панель +предохранителей" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="lbl_header" type="Label" parent="."] +layout_mode = 0 +offset_left = 20.0 +offset_top = 214.0 +offset_right = 640.0 +offset_bottom = 245.0 +theme_override_font_sizes/font_size = 22 +text = "Контроль исправности прибора ПРД-В" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="kasseta_U5" parent="." instance=ExtResource("4_gl2bl")] +layout_mode = 0 +offset_left = 175.0 +offset_top = 242.0 +offset_right = 485.0 +offset_bottom = 432.0 +fname = "Кассета У5" + +[node name="kasseta_FS_VD" parent="." instance=ExtResource("5_nhd2k")] +layout_mode = 0 +offset_left = 175.0 +offset_top = 432.0 +offset_right = 485.0 +offset_bottom = 622.0 +fname = "Кассета ФС-ВД" + +[node name="kasseta_P_1" parent="." instance=ExtResource("6_d3awr")] +layout_mode = 0 +offset_left = 175.0 +offset_top = 622.0 +offset_right = 485.0 +offset_bottom = 812.0 +fname = "Кассета П-1" + +[node name="um1535_A7" parent="." instance=ExtResource("7_e22c6")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 242.0 +offset_right = 645.0 +offset_bottom = 337.0 +fname = "УМ1535А" +rname = "A7" + +[node name="um1535_A8" parent="." instance=ExtResource("7_e22c6")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 337.0 +offset_right = 645.0 +offset_bottom = 432.0 +fname = "УМ1535А" +rname = "A8" + +[node name="um1535_A9" parent="." instance=ExtResource("7_e22c6")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 432.0 +offset_right = 645.0 +offset_bottom = 527.0 +fname = "УМ1535А" +rname = "A9" + +[node name="um1535_A10" parent="." instance=ExtResource("7_e22c6")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 527.0 +offset_right = 645.0 +offset_bottom = 622.0 +fname = "УМ1535А" +rname = "A10" + +[node name="um1535_A11" parent="." instance=ExtResource("7_e22c6")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 622.0 +offset_right = 645.0 +offset_bottom = 717.0 +fname = "УМ1535А" +rname = "A11" + +[node name="um1535_A12" parent="." instance=ExtResource("7_e22c6")] +layout_mode = 0 +offset_left = 485.0 +offset_top = 717.0 +offset_right = 645.0 +offset_bottom = 812.0 +fname = "УМ1535А" +rname = "A11" + +[node name="um1535_A13" parent="." instance=ExtResource("7_e22c6")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 242.0 +offset_right = 175.0 +offset_bottom = 337.0 +fname = "УМ1535А" +rname = "A13" + +[node name="um1535_A14" parent="." instance=ExtResource("7_e22c6")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 337.0 +offset_right = 175.0 +offset_bottom = 432.0 +fname = "УМ1535А" +rname = "A14" + +[node name="um1535_A15" parent="." instance=ExtResource("7_e22c6")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 432.0 +offset_right = 175.0 +offset_bottom = 527.0 +fname = "УМ1535А" +rname = "A15" + +[node name="um1535_A16" parent="." instance=ExtResource("7_e22c6")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 527.0 +offset_right = 175.0 +offset_bottom = 622.0 +fname = "УМ1535А" +rname = "A16" + +[node name="um1535_A17" parent="." instance=ExtResource("7_e22c6")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 622.0 +offset_right = 175.0 +offset_bottom = 717.0 +fname = "УМ1535А" +rname = "A17" + +[node name="um1535_A18" parent="." instance=ExtResource("7_e22c6")] +layout_mode = 0 +offset_left = 15.0 +offset_top = 717.0 +offset_right = 175.0 +offset_bottom = 812.0 +fname = "УМ1535А" +rname = "A18" diff --git a/scenes/pribor-rtr/pribor-rtr.tscn b/scenes/pribor-rtr/pribor-rtr.tscn index a58f09f..e231dbe 100644 --- a/scenes/pribor-rtr/pribor-rtr.tscn +++ b/scenes/pribor-rtr/pribor-rtr.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=3 format=3 uid="uid://5uv1idl3lqet"] -[ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/element_h.tscn" id="2_e75yj"] +[ext_resource type="PackedScene" uid="uid://d3iqb5e4g81m5" path="res://scenes/контроль/элемент-г.tscn" id="2_e75yj"] [ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="3_a2683"] [node name="pribor_UF" type="Node2D"] diff --git a/scenes/pribor-uf/pribor-uf.tscn b/scenes/pribor-uf/pribor-uf.tscn index 9158fae..8702b3c 100644 --- a/scenes/pribor-uf/pribor-uf.tscn +++ b/scenes/pribor-uf/pribor-uf.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=3 format=3 uid="uid://dwxn2puh462nl"] [ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="2_ho0da"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_dp78y"] +[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/элемент-в.tscn" id="3_dp78y"] [node name="pribor_UF" type="Node2D"] diff --git a/scenes/pribor-uyep/pribor-uyep.tscn b/scenes/pribor-uyep/pribor-uyep.tscn index 4709aa7..259344d 100644 --- a/scenes/pribor-uyep/pribor-uyep.tscn +++ b/scenes/pribor-uyep/pribor-uyep.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=3 format=3 uid="uid://bs7h65e7bodp3"] [ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_6olof"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="2_cf6tc"] +[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/элемент-в.tscn" id="2_cf6tc"] [node name="pribor_UF" type="Node2D"] diff --git a/scripts/capsrpb.gd b/scenes/scripts/capsrpb.gd similarity index 100% rename from scripts/capsrpb.gd rename to scenes/scripts/capsrpb.gd diff --git a/scripts/file-table.gd b/scenes/scripts/file-table.gd similarity index 100% rename from scripts/file-table.gd rename to scenes/scripts/file-table.gd diff --git a/scripts/hotkeys.gd b/scenes/scripts/hotkeys.gd similarity index 100% rename from scripts/hotkeys.gd rename to scenes/scripts/hotkeys.gd diff --git a/scripts/interfer.gd b/scenes/scripts/interfer.gd similarity index 100% rename from scripts/interfer.gd rename to scenes/scripts/interfer.gd diff --git a/scripts/mercator.gd b/scenes/scripts/mercator.gd similarity index 100% rename from scripts/mercator.gd rename to scenes/scripts/mercator.gd diff --git a/scripts/modbus.gd b/scenes/scripts/modbus.gd similarity index 100% rename from scripts/modbus.gd rename to scenes/scripts/modbus.gd diff --git a/scripts/repnetwork.gd b/scenes/scripts/repnetwork.gd similarity index 100% rename from scripts/repnetwork.gd rename to scenes/scripts/repnetwork.gd diff --git a/scripts/repsettings.gd b/scenes/scripts/repsettings.gd similarity index 100% rename from scripts/repsettings.gd rename to scenes/scripts/repsettings.gd diff --git a/scripts/signaller.gd b/scenes/scripts/signaller.gd similarity index 69% rename from scripts/signaller.gd rename to scenes/scripts/signaller.gd index 7571d9e..f0ef23f 100644 --- a/scripts/signaller.gd +++ b/scenes/scripts/signaller.gd @@ -3,51 +3,70 @@ class_name Signaller extends Node ## Обмен сигналами между узлами. Здесь объявлены сигналы, которые используют ## два и более узла, из разных файлов. Должен быть помещён в автозагрузку. +## Вызывается при переходе в режим [b]Работа[/b] +signal режим_работа() -## Вызывается, когда оператор переводит программу в режим "Автомат целей и помех" + +## Вызывается при переходе в режим [b]Контроль[/b] +signal режим_контроль() + + +## Вызывается при переходе в режим [b]Журнал[/b] +signal режим_журнал() + + +## Вызывается при переходе в режим [b]ЭМС[/b] +signal режим_эмс() + + +## Вызывается при переходе в режим [b]Настройка[/b] +signal режим_настройки() + + +## Вызывается, когда оператор переводит программу в режим [b]Автомат выбора цели и помехи[/b] signal full_auto() -## Вызывается, когда оператор переводит программу в режим "Автомат выбора целей" +## Вызывается, когда оператор переводит программу в режим [b]Автомат выбора цели[/b] signal threat_auto() -## Вызывается, когда оператор переводит программу в режим "Автомат выбора помехи" +## Вызывается, когда оператор переводит программу в режим [b]Автомат выбора помехи[/b] signal interfer_auto() -## Вызывается, когда оператор переводит программу в режим "Ручной" +## Вызывается, когда оператор переводит программу в режим [b]Ручной[/b] signal manual_control() -## Вызывается, когда оператор выбирает цель в таблице. +## Вызывается, когда оператор выбирает цель в таблице.[br] ## [param threats] - Словарь. Ключ - идентификатор (номер) цели. Значение - цель.[br] ## [param th] - Выбранная цель.[br] signal threat_selected(threats: Dictionary, th) -## Вызывается, когда оператор снимает выбор цели. +## Вызывается, когда оператор снимает выбор цели.[br] ## [param threats] - Словарь. Ключ - идентификатор (номер) цели. Значение - цель.[br] ## [param th] - Ранее выбранная цель.[br] signal threat_unselected(threats: Dictionary, th) -## Вызывается, когда пользователь переключает режим окна программы полный экран - оконный +## Вызывается, когда пользователь переключает режим окна программы полный экран - оконный.[br] ## [param id] - Идентификатор окна. Присваевается вручную. signal full_screen(id: int) -## Вызывается, когда пользователь выбирает цель +## Вызывается, когда пользователь выбирает цель.[br] ## [param th_id] - Отметка цели на экране signal rto_threat_sel (th_id: int) -## Вызывается, когда пользователь нажимает на значёк цели +## Вызывается, когда пользователь нажимает на значёк цели.[br] ## [param th_id] - Отметка цели на экране signal bip_pressed (th_id: int) -## Вызывается, когда пользователь снимает выделение с цели +## Вызывается, когда пользователь снимает выделение с цели.[br] ## [param th_id] - Отметка цели на экране signal rto_threat_unsel (th_id: int) @@ -56,25 +75,26 @@ signal rto_threat_unsel (th_id: int) signal rto_threat_unsel_all () -## Вызывается, когда пользователь выбирает помеху +## Вызывается, когда пользователь выбирает помеху.[br] ## [param btn] - Нажатая кнопка помехи. signal interfer_init (btn: PanelContainer, fs_arr: Array) -## Вызывается, когда выбраны цели для постановки помех +## Вызывается, когда выбраны цели для постановки помех.[br] ## [param btn] - Нажатая кнопка помехи.[br] ## [param sel_threats] - Cписок целей. signal interfer_create (btn: PanelContainer, sel_threats: Array, fs_arr: Array) -## Вызывается, когда создалась новая помеха -## [param ecm] - Новая помеха +## Вызывается, когда создалась новая помеха.[br] +## [param ecm] - Новая помеха.[br] signal interfer_new (ecm: interfer.Interfer) -## Вызывается, когда отключается действующая помеха -## [param ecm] - Новая помеха, [param ecms] - словарь помех -## [param ecms] - словарь id помех и связанных с ними целей +## Вызывается, когда отключается действующая помеха.[br] +## [param ecm] - Новая помеха.[br] +## [param ecms] - словарь помех.[br] +## [param thrs] - словарь id помех и связанных с ними целей.[br] signal interfer_off (ecm: interfer.Interfer, ecms: Dictionary, thrs: Dictionary) @@ -82,31 +102,31 @@ signal interfer_off (ecm: interfer.Interfer, ecms: Dictionary, thrs: Dictionary) signal interfer_off_all () -## Вызывается, когда отключается действующая помеха +## Вызывается, когда отключается действующая помеха.[br] ## [param ecm] - Выбранная помеха signal interfer_selected (ecm: interfer.Interfer) -## Вызывается, когда отключается выбираем помеху по сектору в таблице +## Вызывается, когда отключается выбираем помеху по сектору в таблице.[br] ## [param ecm] - Выбранная помеха signal fs_selected(ecm: interfer.Interfer) -## Вызывается при запросе изменения уровня детализации карты +## Вызывается при запросе изменения уровня детализации карты.[br] ## [param zoom] - Вновь установленный уровень детализации signal zoom_changed(zoom: int) -## Вызывается при завершении изменения уровня детализации карты +## Вызывается при завершении изменения уровня детализации карты.[br] ## [param zoom] - Вновь установленный уровень детализации signal zoom_complete(zoom: int) -## Вызывается при изменении координат карты. +## Вызывается при изменении координат карты.[br] ## [param lan], [param lat] - Вновь установленные координаты. signal map_coords_changed(lan: float, lat: float) -## Вызывается при изменении размера изображения для отображения карты. +## Вызывается при изменении размера изображения для отображения карты.[br] ## [param mode] - Вновь установленный режим signal map_mode_changed(mode: int) diff --git a/scripts/tcp5p28.gd b/scenes/scripts/tcp5p28.gd similarity index 100% rename from scripts/tcp5p28.gd rename to scenes/scripts/tcp5p28.gd diff --git a/scripts/threats.gd b/scenes/scripts/threats.gd similarity index 100% rename from scripts/threats.gd rename to scenes/scripts/threats.gd diff --git a/scripts/tools.gd b/scenes/scripts/tools.gd similarity index 100% rename from scripts/tools.gd rename to scenes/scripts/tools.gd diff --git a/scripts/yau07.gd b/scenes/scripts/yau07.gd similarity index 100% rename from scripts/yau07.gd rename to scenes/scripts/yau07.gd diff --git a/scripts/yems-boards.gd b/scenes/scripts/yems-boards.gd similarity index 100% rename from scripts/yems-boards.gd rename to scenes/scripts/yems-boards.gd diff --git a/scripts/yems-consts.gd b/scenes/scripts/yems-consts.gd similarity index 100% rename from scripts/yems-consts.gd rename to scenes/scripts/yems-consts.gd diff --git a/scripts/yems-devs.gd b/scenes/scripts/yems-devs.gd similarity index 100% rename from scripts/yems-devs.gd rename to scenes/scripts/yems-devs.gd diff --git a/scenes/tabs-switch/tab-switch.gd b/scenes/tabs-switch/tab-switch.gd index c78202c..e72baa0 100644 --- a/scenes/tabs-switch/tab-switch.gd +++ b/scenes/tabs-switch/tab-switch.gd @@ -1,3 +1,7 @@ extends TabContainer func _enter_tree() -> void: repnetwork.logger_page = $Журнал + + +func _on_tab_changed(tab): + pass # Replace with function body. diff --git a/scenes/tabs-switch/tab-switch.tscn b/scenes/tabs-switch/tab-switch.tscn index 2e15156..746e897 100644 --- a/scenes/tabs-switch/tab-switch.tscn +++ b/scenes/tabs-switch/tab-switch.tscn @@ -12,7 +12,7 @@ [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o1r22"] -[node name="Panel" type="Panel"] +[node name="panel" type="Panel"] offset_right = 1600.0 offset_bottom = 1200.0 theme_override_styles/panel = SubResource("StyleBoxEmpty_fe3e1") @@ -57,3 +57,5 @@ theme_override_styles/normal = SubResource("StyleBoxFlat_o1r22") text = "Исправно" horizontal_alignment = 1 vertical_alignment = 1 + +[connection signal="tab_changed" from="tab_switch" to="tab_switch" method="_on_tab_changed"] diff --git a/scenes/pribor-prd-k/kasseta-p-1.tscn b/scenes/контроль/кассета-п-1.tscn similarity index 91% rename from scenes/pribor-prd-k/kasseta-p-1.tscn rename to scenes/контроль/кассета-п-1.tscn index d3ed7e9..3a1ad51 100644 --- a/scenes/pribor-prd-k/kasseta-p-1.tscn +++ b/scenes/контроль/кассета-п-1.tscn @@ -1,8 +1,8 @@ -[gd_scene load_steps=4 format=3 uid="uid://cg2ecoyms7xy2"] +[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_sbi2k"] [ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_7ydqi"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_gg14a"] +[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/элемент-в.tscn" id="3_gg14a"] [node name="kasseta_p_1" type="NinePatchRect"] offset_right = 165.0 diff --git a/scenes/pribor-prd-k/kasseta-p-2.tscn b/scenes/контроль/кассета-п-2.tscn similarity index 94% rename from scenes/pribor-prd-k/kasseta-p-2.tscn rename to scenes/контроль/кассета-п-2.tscn index 3fd5759..b0ff758 100644 --- a/scenes/pribor-prd-k/kasseta-p-2.tscn +++ b/scenes/контроль/кассета-п-2.tscn @@ -2,7 +2,7 @@ [ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_jghyg"] [ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_mdnod"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_4a27g"] +[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/элемент-в.tscn" id="3_4a27g"] [node name="kasseta_p_2" type="NinePatchRect"] offset_right = 120.0 diff --git a/scenes/pribor-prd-k/kasseta-u-5.tscn b/scenes/контроль/кассета-у-5.tscn similarity index 93% rename from scenes/pribor-prd-k/kasseta-u-5.tscn rename to scenes/контроль/кассета-у-5.tscn index 331b107..61cab59 100644 --- a/scenes/pribor-prd-k/kasseta-u-5.tscn +++ b/scenes/контроль/кассета-у-5.tscn @@ -1,8 +1,8 @@ -[gd_scene load_steps=4 format=3 uid="uid://3yi2fc54tkei"] +[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_bnifj"] [ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_6hp1m"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_picsk"] +[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/элемент-в.tscn" id="3_picsk"] [node name="kasseta_u5" type="NinePatchRect"] offset_right = 310.0 diff --git a/scenes/контроль/контроль.gd b/scenes/контроль/контроль.gd index 43f8c3e..d7fb65b 100644 --- a/scenes/контроль/контроль.gd +++ b/scenes/контроль/контроль.gd @@ -6,23 +6,23 @@ extends Panel const PRIBORS_RES = \ { - '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', 'Контроль исправности прибора УЭП'], + 'pribor_afsp_l': ['res://scenes/pribor-afsp/pribor-afsp.tscn', 'Контроль исправности прибора АФСП левый'], + 'pribor_afsp_r': ['res://scenes/pribor-afsp/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/pribor-prd-v.tscn', 'Контроль исправности прибора ПРД-В 1'], + 'pribor_prd_v_2': ['res://scenes/pribor-prd-v/pribor-prd-v.tscn', 'Контроль исправности прибора ПРД-В 2'], + 'pribor_prd_v_3': ['res://scenes/pribor-prd-v/pribor-prd-v.tscn', 'Контроль исправности прибора ПРД-В 3'], + 'pribor_prd_v_4': ['res://scenes/pribor-prd-v/pribor-prd-v.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', 'Контроль исправности прибора УЭП'], } diff --git a/scenes/контроль/um1535.tscn b/scenes/контроль/ум1535.tscn similarity index 98% rename from scenes/контроль/um1535.tscn rename to scenes/контроль/ум1535.tscn index cd25c0e..f8ee793 100644 --- a/scenes/контроль/um1535.tscn +++ b/scenes/контроль/ум1535.tscn @@ -4,7 +4,7 @@ [ext_resource type="Texture2D" uid="uid://dnreyfh3cd1k2" path="res://data/состояние-исправности-1.png" id="2_ad1dj"] [ext_resource type="Texture2D" uid="uid://c6booa8753u5t" path="res://data/состояние-исправности-2.png" id="3_vxg7f"] [ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="4_1bnn6"] -[ext_resource type="PackedScene" uid="uid://dyjtmfm4u58mu" path="res://scenes/контроль/indicator_h.tscn" id="5_3i5am"] +[ext_resource type="PackedScene" uid="uid://dyjtmfm4u58mu" path="res://scenes/контроль/уровень.tscn" id="5_3i5am"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_3nd2u"] diff --git a/scenes/контроль/indicator_h.tscn b/scenes/контроль/уровень.tscn similarity index 100% rename from scenes/контроль/indicator_h.tscn rename to scenes/контроль/уровень.tscn diff --git a/scenes/контроль/element_v.tscn b/scenes/контроль/элемент-в.tscn similarity index 100% rename from scenes/контроль/element_v.tscn rename to scenes/контроль/элемент-в.tscn diff --git a/scenes/контроль/element_h.tscn b/scenes/контроль/элемент-г.tscn similarity index 100% rename from scenes/контроль/element_h.tscn rename to scenes/контроль/элемент-г.tscn diff --git a/scenes/работа/работа.tscn b/scenes/работа/работа.tscn index cd392a9..8d5a210 100644 --- a/scenes/работа/работа.tscn +++ b/scenes/работа/работа.tscn @@ -7,7 +7,7 @@ [ext_resource type="PackedScene" uid="uid://dymo732qc2doa" path="res://scenes/count-all/count-all-pad.tscn" id="6_e3re7"] [ext_resource type="PackedScene" uid="uid://bwti82byphl68" path="res://scenes/count-danger/count_danger_pad.tscn" id="7_2arls"] [ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button-flat/button-flat.tscn" id="8_k0iv2"] -[ext_resource type="PackedScene" uid="uid://0uqi1ghf7sma" path="res://scenes/btn-scale/btn-scale.tscn" id="9_oey3x"] +[ext_resource type="PackedScene" uid="uid://0uqi1ghf7sma" path="res://scenes/button-scale/btn-scale.tscn" id="9_oey3x"] [ext_resource type="PackedScene" uid="uid://bbq6nklh36yij" path="res://scenes/tilemap/tilemap.tscn" id="10_gtwyg"] [ext_resource type="PackedScene" uid="uid://b5kjdyxuwsot5" path="res://scenes/diagram/diagram.tscn" id="11_b6su4"] [ext_resource type="Shader" path="res://shaders/tilemap.gdshader" id="11_ekapd"] @@ -106,7 +106,6 @@ offset_right = 111.0 offset_bottom = 953.0 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 2578.31 text = "Вид" toggle_mode = true @@ -118,7 +117,6 @@ offset_right = 1106.0 offset_bottom = 1112.0 size_flags_horizontal = 3 size_flags_vertical = 3 -strips_rotation = 2578.31 text = "Подавление" toggle_mode = true @@ -142,7 +140,6 @@ layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 tooltip_text = "Кнопка для выбора сектора при помощи клика мышкой" -strips_rotation = 2578.31 text = "Строб" toggle_mode = true metadata/state = 0 @@ -152,7 +149,6 @@ layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 tooltip_text = "Кнопка для выбора сектора при помощи клика мышкой" -strips_rotation = 2578.31 text = "Цель" toggle_mode = true metadata/state = 1 @@ -162,7 +158,6 @@ layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 tooltip_text = "Кнопка для выбора сектора при помощи клика мышкой" -strips_rotation = 2578.31 text = "Сектор" toggle_mode = true metadata/state = 2