Доработка. В процессе. Контроль Приборы ПРД-Н и ПРД-К

This commit is contained in:
sasha80
2024-04-22 10:45:15 +03:00
parent 6b4cc11568
commit c8e77072f7
20 changed files with 954 additions and 1569 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 B

After

Width:  |  Height:  |  Size: 184 B

View File

@@ -1,15 +1,14 @@
[gd_scene load_steps=2 format=3 uid="uid://0uqi1ghf7sma"] [gd_scene load_steps=2 format=3 uid="uid://0uqi1ghf7sma"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_ymtay"] [ext_resource type="Texture2D" uid="uid://c1maea6yhd3k7" path="res://data/кнопка-масштаб.png" id="1_alf62"]
load_path = "res://.godot/imported/кнопка-масштаб.png-506c26462e59a71e6707c554c495504e.ctex"
[node name="btn_scale" type="TextureButton"] [node name="btn_scale" type="TextureButton"]
self_modulate = Color(1, 1, 1, 0.509804) self_modulate = Color(1, 1, 1, 0.509804)
offset_right = 152.0 offset_right = 100.0
offset_bottom = 18.0 offset_bottom = 20.0
tooltip_text = "Измененяет масштаб" tooltip_text = "Измененяет масштаб"
action_mode = 0 action_mode = 0
texture_normal = SubResource("CompressedTexture2D_ymtay") texture_normal = ExtResource("1_alf62")
ignore_texture_size = true ignore_texture_size = true
stretch_mode = 0 stretch_mode = 0
metadata/prefix = "Детализация:" metadata/prefix = "Детализация:"
@@ -19,6 +18,6 @@ metadata/zooms = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
[node name="lbl" type="Label" parent="."] [node name="lbl" type="Label" parent="."]
layout_mode = 0 layout_mode = 0
offset_top = -18.0 offset_top = -18.0
offset_right = 152.0 offset_right = 100.0
offset_bottom = 1.0 offset_bottom = 2.0
vertical_alignment = 1 vertical_alignment = 1

View File

@@ -5,16 +5,6 @@
[sub_resource type="StyleBoxEmpty" id="1"] [sub_resource type="StyleBoxEmpty" id="1"]
[sub_resource type="StyleBoxEmpty" id="6"]
[sub_resource type="StyleBoxEmpty" id="2"]
[sub_resource type="StyleBoxEmpty" id="3"]
[sub_resource type="StyleBoxEmpty" id="5"]
[sub_resource type="StyleBoxEmpty" id="4"]
[sub_resource type="Shader" id="Shader_2bftm"] [sub_resource type="Shader" id="Shader_2bftm"]
code = "shader_type canvas_item; code = "shader_type canvas_item;
@@ -92,6 +82,16 @@ extends Sprite2D
get: return material.get('shader_parameter/disabled') get: return material.get('shader_parameter/disabled')
" "
[sub_resource type="StyleBoxEmpty" id="6"]
[sub_resource type="StyleBoxEmpty" id="2"]
[sub_resource type="StyleBoxEmpty" id="3"]
[sub_resource type="StyleBoxEmpty" id="5"]
[sub_resource type="StyleBoxEmpty" id="4"]
[node name="container" type="PanelContainer"] [node name="container" type="PanelContainer"]
offset_right = 20.0 offset_right = 20.0
offset_bottom = 20.0 offset_bottom = 20.0
@@ -99,6 +99,14 @@ theme_override_styles/panel = SubResource("1")
script = ExtResource("1_ui6sg") script = ExtResource("1_ui6sg")
toggle_mode = true toggle_mode = true
[node name="back" type="Sprite2D" parent="."]
material = SubResource("ShaderMaterial_hhdyc")
scale = Vector2(20, 20)
texture = SubResource("PlaceholderTexture2D_6nup5")
centered = false
script = SubResource("GDScript_uyl5d")
speed = 0.0
[node name="state" type="NinePatchRect" parent="."] [node name="state" type="NinePatchRect" parent="."]
layout_mode = 2 layout_mode = 2
texture = ExtResource("2_0cn5u") texture = ExtResource("2_0cn5u")
@@ -121,14 +129,6 @@ theme_override_styles/focus = SubResource("4")
toggle_mode = true toggle_mode = true
clip_text = true clip_text = true
[node name="back" type="Sprite2D" parent="."]
material = SubResource("ShaderMaterial_hhdyc")
scale = Vector2(20, 20)
texture = SubResource("PlaceholderTexture2D_6nup5")
centered = false
script = SubResource("GDScript_uyl5d")
speed = 0.0
[connection signal="resized" from="." to="." method="_on_resized"] [connection signal="resized" from="." to="." method="_on_resized"]
[connection signal="toggled" from="button" to="." method="_on_button_toggled"]
[connection signal="visibility_changed" from="back" to="back" method="_on_visibility_changed"] [connection signal="visibility_changed" from="back" to="back" method="_on_visibility_changed"]
[connection signal="toggled" from="button" to="." method="_on_button_toggled"]

View File

@@ -0,0 +1,75 @@
[gd_scene load_steps=4 format=3 uid="uid://bmagw8nd0ulhj"]
[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_1jljp"]
[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_01mea"]
[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_kqnvt"]
[node name="kasseta_fs_kd" type="NinePatchRect"]
offset_right = 310.0
offset_bottom = 190.0
texture = ExtResource("1_1jljp")
patch_margin_left = 16
patch_margin_top = 16
patch_margin_right = 16
patch_margin_bottom = 16
script = ExtResource("2_01mea")
metadata/Fname = ""
[node name="lbl_fname" type="Label" parent="."]
self_modulate = Color(1, 1, 1, 0.62)
layout_mode = 0
offset_left = 5.0
offset_top = 7.0
offset_right = 303.0
offset_bottom = 33.0
text = "Кассета"
horizontal_alignment = 1
vertical_alignment = 1
[node name="ref_A2" parent="." instance=ExtResource("3_kqnvt")]
offset_left = 5.0
offset_top = 33.0
offset_right = 55.0
offset_bottom = 183.0
fname = "Модуль ФС"
rname = "A1"
[node name="ref_A3" parent="." instance=ExtResource("3_kqnvt")]
offset_left = 55.0
offset_top = 33.0
offset_right = 105.0
offset_bottom = 183.0
fname = "Блок ФС-1"
rname = "A4"
[node name="ref_A4" parent="." instance=ExtResource("3_kqnvt")]
offset_left = 105.0
offset_top = 33.0
offset_right = 155.0
offset_bottom = 183.0
fname = "Модуль ФС"
rname = "A2"
[node name="ref_A6" parent="." instance=ExtResource("3_kqnvt")]
offset_left = 155.0
offset_top = 33.0
offset_right = 205.0
offset_bottom = 183.0
fname = "Блок ФС-6"
rname = "A4"
[node name="ref_A5" parent="." instance=ExtResource("3_kqnvt")]
offset_left = 205.0
offset_top = 33.0
offset_right = 255.0
offset_bottom = 183.0
fname = "Модуль ФС"
rname = "A3"
[node name="ref_A7" parent="." instance=ExtResource("3_kqnvt")]
offset_left = 255.0
offset_top = 33.0
offset_right = 305.0
offset_bottom = 183.0
fname = "Блок ФС-2"
rname = "A6"

View File

@@ -0,0 +1,50 @@
[gd_scene load_steps=4 format=3 uid="uid://cg2ecoyms7xy2"]
[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_sbi2k"]
[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_7ydqi"]
[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_gg14a"]
[node name="kasseta_p_1" type="NinePatchRect"]
offset_right = 165.0
offset_bottom = 190.0
texture = ExtResource("1_sbi2k")
patch_margin_left = 16
patch_margin_top = 16
patch_margin_right = 16
patch_margin_bottom = 16
script = ExtResource("2_7ydqi")
[node name="ref_A26" parent="." instance=ExtResource("3_gg14a")]
offset_left = 7.0
offset_top = 30.0
offset_right = 57.0
offset_bottom = 180.0
fname = "ИП12-50"
rname = "A26"
[node name="ref_A23" parent="." instance=ExtResource("3_gg14a")]
offset_left = 57.0
offset_top = 30.0
offset_right = 107.0
offset_bottom = 180.0
fname = "ИП9-50"
rname = "A23"
[node name="ref_A24" parent="." instance=ExtResource("3_gg14a")]
offset_left = 107.0
offset_top = 30.0
offset_right = 157.0
offset_bottom = 180.0
fname = "ИП9-50"
rname = "A24"
[node name="lbl_fname" type="Label" parent="."]
self_modulate = Color(1, 1, 1, 0.62)
layout_mode = 0
offset_left = 5.0
offset_top = 5.0
offset_right = 157.0
offset_bottom = 30.0
text = "Кассета"
horizontal_alignment = 1
vertical_alignment = 1

View File

@@ -0,0 +1,41 @@
[gd_scene load_steps=4 format=3 uid="uid://dq31j24gv5vi4"]
[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_jghyg"]
[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_mdnod"]
[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_4a27g"]
[node name="kasseta_p_2" type="NinePatchRect"]
offset_right = 120.0
offset_bottom = 190.0
texture = ExtResource("1_jghyg")
patch_margin_left = 16
patch_margin_top = 16
patch_margin_right = 16
patch_margin_bottom = 16
script = ExtResource("2_mdnod")
[node name="ref_A26" parent="." instance=ExtResource("3_4a27g")]
offset_left = 10.0
offset_top = 30.0
offset_right = 60.0
offset_bottom = 180.0
fname = "ИП12-50"
rname = "A25"
[node name="ref_A23" parent="." instance=ExtResource("3_4a27g")]
offset_left = 60.0
offset_top = 30.0
offset_right = 110.0
offset_bottom = 180.0
fname = "ИП9-50"
rname = "A22"
[node name="lbl_fname" type="Label" parent="."]
self_modulate = Color(1, 1, 1, 0.62)
layout_mode = 0
offset_left = 5.0
offset_top = 5.0
offset_right = 105.0
offset_bottom = 30.0
horizontal_alignment = 1
vertical_alignment = 1

View File

@@ -0,0 +1,74 @@
[gd_scene load_steps=4 format=3 uid="uid://3yi2fc54tkei"]
[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_bnifj"]
[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_6hp1m"]
[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_picsk"]
[node name="kasseta_u5" type="NinePatchRect"]
offset_right = 310.0
offset_bottom = 190.0
texture = ExtResource("1_bnifj")
patch_margin_left = 16
patch_margin_top = 16
patch_margin_right = 16
patch_margin_bottom = 16
script = ExtResource("2_6hp1m")
[node name="lbl_fname" type="Label" parent="."]
self_modulate = Color(1, 1, 1, 0.62)
layout_mode = 0
offset_left = 5.0
offset_top = 7.0
offset_right = 305.0
offset_bottom = 35.0
text = "Кассета"
horizontal_alignment = 1
vertical_alignment = 1
[node name="ref_A31" parent="." instance=ExtResource("3_picsk")]
offset_left = 5.0
offset_top = 32.0
offset_right = 55.0
offset_bottom = 182.0
fname = "ИП5-25"
rname = "A31"
[node name="ref_A37" parent="." instance=ExtResource("3_picsk")]
offset_left = 55.0
offset_top = 32.0
offset_right = 105.0
offset_bottom = 182.0
fname = "ЯУ-07Б"
rname = "A37"
[node name="ref_A33" parent="." instance=ExtResource("3_picsk")]
offset_left = 105.0
offset_top = 32.0
offset_right = 155.0
offset_bottom = 182.0
fname = "ЭМС-Г"
rname = "A33"
[node name="ref_A34" parent="." instance=ExtResource("3_picsk")]
offset_left = 155.0
offset_top = 32.0
offset_right = 205.0
offset_bottom = 182.0
fname = "УГ"
rname = "A34"
[node name="ref_A35" parent="." instance=ExtResource("3_picsk")]
offset_left = 205.0
offset_top = 32.0
offset_right = 255.0
offset_bottom = 182.0
fname = "УКП"
rname = "A35"
[node name="ref_A36" parent="." instance=ExtResource("3_picsk")]
offset_left = 254.0
offset_top = 32.0
offset_right = 304.0
offset_bottom = 182.0
fname = "УКП"
rname = "A36"

File diff suppressed because it is too large Load Diff

View File

@@ -5,10 +5,8 @@
[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/контроль/element_v.tscn" id="2_mkgdh"]
[node name="kasseta_fs_nd" type="NinePatchRect"] [node name="kasseta_fs_nd" type="NinePatchRect"]
offset_left = 170.0 offset_right = 310.0
offset_top = 409.0 offset_bottom = 190.0
offset_right = 480.0
offset_bottom = 606.0
texture = ExtResource("1_wgdti") texture = ExtResource("1_wgdti")
patch_margin_left = 16 patch_margin_left = 16
patch_margin_top = 16 patch_margin_top = 16
@@ -23,39 +21,39 @@ layout_mode = 0
offset_left = 5.0 offset_left = 5.0
offset_top = 7.0 offset_top = 7.0
offset_right = 303.0 offset_right = 303.0
offset_bottom = 42.0 offset_bottom = 33.0
text = "Кассета" text = "Кассета"
horizontal_alignment = 1 horizontal_alignment = 1
vertical_alignment = 1 vertical_alignment = 1
[node name="ref_A2" parent="." instance=ExtResource("2_mkgdh")] [node name="ref_A2" parent="." instance=ExtResource("2_mkgdh")]
offset_left = 55.0 offset_left = 55.0
offset_top = 42.0 offset_top = 32.0
offset_right = 105.0 offset_right = 105.0
offset_bottom = 192.0 offset_bottom = 182.0
fname = "Модуль ФС" fname = "Модуль ФС"
rname = "A1" rname = "A1"
[node name="ref_A3" parent="." instance=ExtResource("2_mkgdh")] [node name="ref_A3" parent="." instance=ExtResource("2_mkgdh")]
offset_left = 105.0 offset_left = 105.0
offset_top = 42.0 offset_top = 32.0
offset_right = 155.0 offset_right = 155.0
offset_bottom = 192.0 offset_bottom = 182.0
fname = "Блок ФС-2" fname = "Блок ФС-2"
rname = "A3" rname = "A3"
[node name="ref_A4" parent="." instance=ExtResource("2_mkgdh")] [node name="ref_A4" parent="." instance=ExtResource("2_mkgdh")]
offset_left = 155.0 offset_left = 155.0
offset_top = 42.0 offset_top = 32.0
offset_right = 205.0 offset_right = 205.0
offset_bottom = 192.0 offset_bottom = 182.0
fname = "Модуль ФС" fname = "Модуль ФС"
rname = "A2" rname = "A2"
[node name="ref_A6" parent="." instance=ExtResource("2_mkgdh")] [node name="ref_A6" parent="." instance=ExtResource("2_mkgdh")]
offset_left = 205.0 offset_left = 205.0
offset_top = 42.0 offset_top = 32.0
offset_right = 255.0 offset_right = 255.0
offset_bottom = 192.0 offset_bottom = 182.0
fname = "Блок ФС-3" fname = "Блок ФС-3"
rname = "A4" rname = "A4"

View File

@@ -1,22 +1,20 @@
[gd_scene load_steps=4 format=3 uid="uid://dbxdb7lo7kofv"] [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="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="1_suecd"]
[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_q7stg"]
[ext_resource type="Script" path="res://scenes/контроль/кассета.gd" id="2_imbsh"] [ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_kkuhl"]
[node name="kasseta_p_1" type="NinePatchRect"] [node name="kasseta_p_1" type="NinePatchRect"]
offset_left = 170.0 offset_right = 310.0
offset_top = 609.0 offset_bottom = 190.0
offset_right = 480.0 texture = ExtResource("1_suecd")
offset_bottom = 794.0
texture = ExtResource("1_hf2ni")
patch_margin_left = 16 patch_margin_left = 16
patch_margin_top = 16 patch_margin_top = 16
patch_margin_right = 16 patch_margin_right = 16
patch_margin_bottom = 16 patch_margin_bottom = 16
script = ExtResource("2_imbsh") script = ExtResource("2_q7stg")
[node name="ref_A26" parent="." instance=ExtResource("2_ermdn")] [node name="ref_A26" parent="." instance=ExtResource("3_kkuhl")]
offset_left = 105.0 offset_left = 105.0
offset_top = 30.0 offset_top = 30.0
offset_right = 155.0 offset_right = 155.0
@@ -24,7 +22,7 @@ offset_bottom = 180.0
fname = "ИП12-50" fname = "ИП12-50"
rname = "A26" rname = "A26"
[node name="ref_A23" parent="." instance=ExtResource("2_ermdn")] [node name="ref_A23" parent="." instance=ExtResource("3_kkuhl")]
offset_left = 155.0 offset_left = 155.0
offset_top = 30.0 offset_top = 30.0
offset_right = 205.0 offset_right = 205.0
@@ -32,7 +30,7 @@ offset_bottom = 180.0
fname = "ИП9-50" fname = "ИП9-50"
rname = "A23" rname = "A23"
[node name="ref_A24" parent="." instance=ExtResource("2_ermdn")] [node name="ref_A24" parent="." instance=ExtResource("3_kkuhl")]
offset_left = 205.0 offset_left = 205.0
offset_top = 30.0 offset_top = 30.0
offset_right = 255.0 offset_right = 255.0
@@ -41,7 +39,9 @@ fname = "ИП9-50"
rname = "A24" rname = "A24"
[node name="lbl_fname" type="Label" parent="."] [node name="lbl_fname" type="Label" parent="."]
self_modulate = Color(1, 1, 1, 0.62)
layout_mode = 0 layout_mode = 0
offset_left = 5.0
offset_top = 5.0 offset_top = 5.0
offset_right = 305.0 offset_right = 305.0
offset_bottom = 30.0 offset_bottom = 30.0

View File

@@ -5,22 +5,14 @@
[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_51mna"] [ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://scenes/контроль/element_v.tscn" id="3_51mna"]
[node name="kasseta_u5" type="NinePatchRect"] [node name="kasseta_u5" type="NinePatchRect"]
anchors_preset = -1 offset_right = 310.0
anchor_left = 0.106 offset_bottom = 190.0
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") texture = ExtResource("1_b7mhj")
patch_margin_left = 16 patch_margin_left = 16
patch_margin_top = 16 patch_margin_top = 16
patch_margin_right = 16 patch_margin_right = 16
patch_margin_bottom = 16 patch_margin_bottom = 16
script = ExtResource("2_6e76f") script = ExtResource("2_6e76f")
fname = "Кассета"
[node name="lbl_fname" type="Label" parent="."] [node name="lbl_fname" type="Label" parent="."]
self_modulate = Color(1, 1, 1, 0.62) self_modulate = Color(1, 1, 1, 0.62)
@@ -35,48 +27,48 @@ vertical_alignment = 1
[node name="ref_A31" parent="." instance=ExtResource("3_51mna")] [node name="ref_A31" parent="." instance=ExtResource("3_51mna")]
offset_left = 5.0 offset_left = 5.0
offset_top = 48.0 offset_top = 32.0
offset_right = 55.0 offset_right = 55.0
offset_bottom = 198.0 offset_bottom = 182.0
fname = "ИП5-25" fname = "ИП5-25"
rname = "A31" rname = "A31"
[node name="ref_A37" parent="." instance=ExtResource("3_51mna")] [node name="ref_A37" parent="." instance=ExtResource("3_51mna")]
offset_left = 55.0 offset_left = 55.0
offset_top = 48.0 offset_top = 32.0
offset_right = 105.0 offset_right = 105.0
offset_bottom = 198.0 offset_bottom = 182.0
fname = "ЯУ-07Б" fname = "ЯУ-07Б"
rname = "A37" rname = "A37"
[node name="ref_A33" parent="." instance=ExtResource("3_51mna")] [node name="ref_A33" parent="." instance=ExtResource("3_51mna")]
offset_left = 105.0 offset_left = 105.0
offset_top = 48.0 offset_top = 32.0
offset_right = 155.0 offset_right = 155.0
offset_bottom = 198.0 offset_bottom = 182.0
fname = "ЭМС-Г" fname = "ЭМС-Г"
rname = "A33" rname = "A33"
[node name="ref_A34" parent="." instance=ExtResource("3_51mna")] [node name="ref_A34" parent="." instance=ExtResource("3_51mna")]
offset_left = 155.0 offset_left = 155.0
offset_top = 48.0 offset_top = 32.0
offset_right = 205.0 offset_right = 205.0
offset_bottom = 198.0 offset_bottom = 182.0
fname = "УГ" fname = "УГ"
rname = "A34" rname = "A34"
[node name="ref_A35" parent="." instance=ExtResource("3_51mna")] [node name="ref_A35" parent="." instance=ExtResource("3_51mna")]
offset_left = 205.0 offset_left = 205.0
offset_top = 48.0 offset_top = 32.0
offset_right = 255.0 offset_right = 255.0
offset_bottom = 198.0 offset_bottom = 182.0
fname = "УКП" fname = "УКП"
rname = "A35" rname = "A35"
[node name="ref_A36" parent="." instance=ExtResource("3_51mna")] [node name="ref_A36" parent="." instance=ExtResource("3_51mna")]
offset_left = 254.0 offset_left = 254.0
offset_top = 47.0 offset_top = 32.0
offset_right = 304.0 offset_right = 304.0
offset_bottom = 197.0 offset_bottom = 182.0
fname = "УКП" fname = "УКП"
rname = "A36" rname = "A36"

View File

@@ -1,34 +1,12 @@
[gd_scene load_steps=8 format=3 uid="uid://dnuexoef2nnv5"] [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/контроль/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="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/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://cd5sue1e8iyrv" path="res://scenes/pribor-prd-n/kasseta-fs-nd.tscn" id="6_1p3pi"]
[ext_resource type="PackedScene" uid="uid://dyjtmfm4u58mu" path="res://scenes/контроль/indicator_h.tscn" id="8_q1orh"] [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"]
[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"] [node name="pribor_prd_n" type="Control"]
layout_mode = 3 layout_mode = 3
@@ -37,651 +15,207 @@ offset_left = 15.0
offset_top = 30.0 offset_top = 30.0
offset_right = 15.0 offset_right = 15.0
offset_bottom = 30.0 offset_bottom = 30.0
script = SubResource("GDScript_wd8f0") script = ExtResource("1_mcea3")
[node name="ref_A13" parent="." instance=ExtResource("2_lpj3d")] [node name="maa2000_A22" parent="." instance=ExtResource("2_lpj3d")]
layout_mode = 2 layout_mode = 2
offset_top = 230.0 offset_left = 485.0
offset_right = 160.0 offset_top = 877.0
offset_bottom = 280.0 offset_right = 645.0
fname = "УМ1535А" offset_bottom = 942.0
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" fname = "MAA2000"
rname = "A22" rname = "A22"
[node name="ref_A23" parent="." instance=ExtResource("2_lpj3d")] [node name="dou2_A5" parent="." instance=ExtResource("2_lpj3d")]
layout_mode = 2 layout_mode = 2
offset_left = 490.0 offset_left = 485.0
offset_top = 796.0 offset_top = 812.0
offset_right = 650.0 offset_right = 645.0
offset_bottom = 956.0 offset_bottom = 877.0
fname = "ДОУ-2"
rname = "A5"
[node name="maa2000_A23" parent="." instance=ExtResource("2_lpj3d")]
layout_mode = 2
offset_left = 15.0
offset_top = 877.0
offset_right = 175.0
offset_bottom = 942.0
fname = "MAA2000" fname = "MAA2000"
rname = "A23" rname = "A23"
[node name="dou2_A6" parent="." instance=ExtResource("2_lpj3d")]
layout_mode = 2
offset_left = 15.0
offset_top = 812.0
offset_right = 175.0
offset_bottom = 877.0
fname = "ДОУ-3"
rname = "A6"
[node name="ref_ZZ3" type="NinePatchRect" parent="."] [node name="ref_ZZ3" type="NinePatchRect" parent="."]
layout_mode = 0 layout_mode = 0
offset_left = 170.0 offset_left = 175.0
offset_top = 796.0 offset_top = 812.0
offset_right = 480.0 offset_right = 485.0
offset_bottom = 956.0 offset_bottom = 942.0
texture = ExtResource("4_i1no5") texture = ExtResource("4_i1no5")
patch_margin_left = 16 patch_margin_left = 16
patch_margin_top = 16 patch_margin_top = 16
patch_margin_right = 16 patch_margin_right = 16
patch_margin_bottom = 16 patch_margin_bottom = 16
script = SubResource("GDScript_auqpj")
[node name="label" type="Label" parent="ref_ZZ3"] [node name="label" type="Label" parent="ref_ZZ3"]
self_modulate = Color(0.996078, 1, 1, 0.627451) self_modulate = Color(0.996078, 1, 1, 0.627451)
layout_mode = 0 layout_mode = 0
offset_left = 12.0 offset_left = 10.0
offset_top = 10.0 offset_top = 8.0
offset_right = 297.0 offset_right = 302.0
offset_bottom = 150.0 offset_bottom = 120.0
text = "Панель text = "Панель
предохранителей" предохранителей"
horizontal_alignment = 1 horizontal_alignment = 1
vertical_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="."] [node name="lbl_header" type="Label" parent="."]
layout_mode = 0 layout_mode = 0
offset_top = 195.0 offset_left = 20.0
offset_right = 875.0 offset_top = 214.0
offset_bottom = 221.0 offset_right = 640.0
offset_bottom = 245.0
theme_override_font_sizes/font_size = 22 theme_override_font_sizes/font_size = 22
text = "Контроль исправности прибора ПРД-Н" text = "Контроль исправности прибора ПРД-Н"
horizontal_alignment = 1 horizontal_alignment = 1
vertical_alignment = 1 vertical_alignment = 1
[node name="kasseta_u5" parent="." instance=ExtResource("5_ej152")] [node name="kasseta_U5" parent="." instance=ExtResource("5_ej152")]
layout_mode = 1 layout_mode = 0
offset_left = 175.0 offset_left = 175.0
offset_top = 235.0 offset_top = 242.0
offset_right = 485.0 offset_right = 485.0
offset_bottom = 440.0 offset_bottom = 432.0
fname = "КассетаЦЕЕП" fname = "Кассета У5"
[node name="kasseta_FS_ND" parent="." instance=ExtResource("6_1p3pi")]
layout_mode = 0
offset_left = 175.0
offset_top = 432.0
offset_right = 485.0
offset_bottom = 622.0
fname = "Кассета ФС-НД"
[node name="kasseta_P_1" parent="." instance=ExtResource("7_klldp")]
layout_mode = 0
offset_left = 175.0
offset_top = 622.0
offset_right = 485.0
offset_bottom = 812.0
fname = "Кассета П-1"
[node name="um1535_A7" parent="." instance=ExtResource("8_u7eqo")]
layout_mode = 0
offset_left = 485.0
offset_top = 242.0
offset_right = 645.0
offset_bottom = 337.0
fname = "УМ1535А"
rname = "A7"
[node name="um1535_A8" parent="." instance=ExtResource("8_u7eqo")]
layout_mode = 0
offset_left = 485.0
offset_top = 337.0
offset_right = 645.0
offset_bottom = 432.0
fname = "УМ1535А"
rname = "A8"
[node name="um1535_A9" parent="." instance=ExtResource("8_u7eqo")]
layout_mode = 0
offset_left = 485.0
offset_top = 432.0
offset_right = 645.0
offset_bottom = 527.0
fname = "УМ1535А"
rname = "A9"
[node name="um1535_A10" parent="." instance=ExtResource("8_u7eqo")]
layout_mode = 0
offset_left = 485.0
offset_top = 527.0
offset_right = 645.0
offset_bottom = 622.0
fname = "УМ1535А"
rname = "A10"
[node name="um1535_A11" parent="." instance=ExtResource("8_u7eqo")]
layout_mode = 0
offset_left = 485.0
offset_top = 622.0
offset_right = 645.0
offset_bottom = 717.0
fname = "УМ1535А"
rname = "A11"
[node name="um1535_A12" parent="." instance=ExtResource("8_u7eqo")]
layout_mode = 0
offset_left = 485.0
offset_top = 717.0
offset_right = 645.0
offset_bottom = 812.0
fname = "УМ1535А"
rname = "A11"
[node name="um1535_A13" parent="." instance=ExtResource("8_u7eqo")]
layout_mode = 0
offset_left = 15.0
offset_top = 242.0
offset_right = 175.0
offset_bottom = 337.0
fname = "УМ1535А"
rname = "A13"
[node name="um1535_A14" parent="." instance=ExtResource("8_u7eqo")]
layout_mode = 0
offset_left = 15.0
offset_top = 337.0
offset_right = 175.0
offset_bottom = 432.0
fname = "УМ1535А"
rname = "A14"
[node name="um1535_A15" parent="." instance=ExtResource("8_u7eqo")]
layout_mode = 0
offset_left = 15.0
offset_top = 432.0
offset_right = 175.0
offset_bottom = 527.0
fname = "УМ1535А"
rname = "A15"
[node name="um1535_A16" parent="." instance=ExtResource("8_u7eqo")]
layout_mode = 0
offset_left = 15.0
offset_top = 527.0
offset_right = 175.0
offset_bottom = 622.0
fname = "УМ1535А"
rname = "A16"
[node name="um1535_A17" parent="." instance=ExtResource("8_u7eqo")]
layout_mode = 0
offset_left = 15.0
offset_top = 622.0
offset_right = 175.0
offset_bottom = 717.0
fname = "УМ1535А"
rname = "A17"
[node name="um1535_A18" parent="." instance=ExtResource("8_u7eqo")]
layout_mode = 0
offset_left = 15.0
offset_top = 717.0
offset_right = 175.0
offset_bottom = 812.0
fname = "УМ1535А"
rname = "A18"

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=7 format=3 uid="uid://3slb0i3pvowc"] [gd_scene load_steps=10 format=3 uid="uid://3slb0i3pvowc"]
[ext_resource type="Script" path="res://scenes/tabs-switch/tab-switch.gd" id="1_fg0vd"] [ext_resource type="Script" path="res://scenes/tabs-switch/tab-switch.gd" id="1_fg0vd"]
[ext_resource type="PackedScene" uid="uid://b276iygic5itk" path="res://scenes/работа/работа.tscn" id="2_u7p16"] [ext_resource type="PackedScene" uid="uid://b276iygic5itk" path="res://scenes/работа/работа.tscn" id="2_u7p16"]
@@ -6,28 +6,54 @@
[ext_resource type="PackedScene" uid="uid://trt0q8th3bn2" path="res://scenes/журнал/журнал.tscn" id="4_cu5k8"] [ext_resource type="PackedScene" uid="uid://trt0q8th3bn2" path="res://scenes/журнал/журнал.tscn" id="4_cu5k8"]
[ext_resource type="PackedScene" uid="uid://dab6loryocc73" path="res://scenes/эмс/эмс.tscn" id="5_u71bh"] [ext_resource type="PackedScene" uid="uid://dab6loryocc73" path="res://scenes/эмс/эмс.tscn" id="5_u71bh"]
[ext_resource type="PackedScene" uid="uid://bnptm4rlp60dq" path="res://scenes/настройки/настройки.tscn" id="6_i8iv3"] [ext_resource type="PackedScene" uid="uid://bnptm4rlp60dq" path="res://scenes/настройки/настройки.tscn" id="6_i8iv3"]
[ext_resource type="FontFile" uid="uid://clrxfflc1wrhj" path="res://data/main-font.tres" id="7_i7l8n"]
[node name="tab_switch" type="TabContainer"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_fe3e1"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o1r22"]
[node name="Panel" type="Panel"]
offset_right = 1600.0
offset_bottom = 1200.0
theme_override_styles/panel = SubResource("StyleBoxEmpty_fe3e1")
[node name="tab_switch" type="TabContainer" parent="."]
layout_mode = 0
offset_right = 1600.0 offset_right = 1600.0
offset_bottom = 1200.0 offset_bottom = 1200.0
tooltip_text = "Переключает режимы работы программы" tooltip_text = "Переключает режимы работы программы"
script = ExtResource("1_fg0vd") script = ExtResource("1_fg0vd")
[node name="Работа" parent="." instance=ExtResource("2_u7p16")] [node name="Работа" parent="tab_switch" instance=ExtResource("2_u7p16")]
layout_mode = 2 layout_mode = 2
[node name="Контроль" parent="." instance=ExtResource("3_txp0s")] [node name="Контроль" parent="tab_switch" instance=ExtResource("3_txp0s")]
visible = false visible = false
layout_mode = 2 layout_mode = 2
[node name="Журнал" parent="." instance=ExtResource("4_cu5k8")] [node name="Журнал" parent="tab_switch" instance=ExtResource("4_cu5k8")]
visible = false visible = false
layout_mode = 2 layout_mode = 2
[node name="ЭМС" parent="." instance=ExtResource("5_u71bh")] [node name="ЭМС" parent="tab_switch" instance=ExtResource("5_u71bh")]
visible = false visible = false
layout_mode = 2 layout_mode = 2
[node name="Настройки" parent="." instance=ExtResource("6_i8iv3")] [node name="Настройки" parent="tab_switch" instance=ExtResource("6_i8iv3")]
visible = false visible = false
layout_mode = 2 layout_mode = 2
[node name="lbl_ready" type="Label" parent="."]
layout_mode = 0
offset_left = 1503.0
offset_right = 1600.0
offset_bottom = 27.0
tooltip_text = "Готовность аппаратуры к работе"
mouse_filter = 0
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_fonts/font = ExtResource("7_i7l8n")
theme_override_font_sizes/font_size = 14
theme_override_styles/normal = SubResource("StyleBoxFlat_o1r22")
text = "Исправно"
horizontal_alignment = 1
vertical_alignment = 1

View File

@@ -34,6 +34,11 @@ extends PanelContainer
v %= textures.size() v %= textures.size()
state = v state = v
$margin/vbox/grid/state.texture = textures[v] $margin/vbox/grid/state.texture = textures[v]
@export var alignment: int:
set(v):
$margin/vbox.alignment = v
" "
[sub_resource type="GDScript" id="GDScript_45hqb"] [sub_resource type="GDScript" id="GDScript_45hqb"]

View File

@@ -0,0 +1,156 @@
[gd_scene load_steps=9 format=3 uid="uid://bkxblfoj7ejv0"]
[ext_resource type="Texture2D" uid="uid://c6nve6f8sfyj2" path="res://data/состояние-исправности-0.png" id="1_xcvfs"]
[ext_resource type="Texture2D" uid="uid://dnreyfh3cd1k2" path="res://data/состояние-исправности-1.png" id="2_ad1dj"]
[ext_resource type="Texture2D" uid="uid://c6booa8753u5t" path="res://data/состояние-исправности-2.png" id="3_vxg7f"]
[ext_resource type="Texture2D" uid="uid://c4mdrmk7h638f" path="res://data/nine-patch-round.png" id="4_1bnn6"]
[ext_resource type="PackedScene" uid="uid://dyjtmfm4u58mu" path="res://scenes/контроль/indicator_h.tscn" id="5_3i5am"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_3nd2u"]
[sub_resource type="GDScript" id="GDScript_oj3k3"]
script/source = "@tool
extends PanelContainer
@export var textures: Array
@export var fname: String:
set(v):
fname = v
$margin/vbox/grid/fname.text = v
@export var rname: String:
set(v):
rname = v
$margin/vbox/grid/rname.text = v
@export var state: int:
set(v):
v = 0 if v < 0 else v
v %= textures.size()
state = v
$margin/vbox/grid/state.texture = textures[v]
@export var alignment: int:
set(v):
$margin/vbox.alignment = v
"
[sub_resource type="GDScript" id="GDScript_45hqb"]
script/source = "@tool
extends MarginContainer
func _enter_tree() -> void:
margins = [8, 8, 8, 8]
@export var margins: Array:
set(vals):
add_theme_constant_override('margin_top', vals[0])
add_theme_constant_override('margin_left', vals[1])
add_theme_constant_override('margin_bottom', vals[2])
add_theme_constant_override('margin_right', vals[3])
get:
var vals = [0, 0, 0, 0]
vals[0] = get_theme_constant('margin_top')
vals[1] = get_theme_constant('margin_left')
vals[2] = get_theme_constant('margin_bottom')
vals[3] = get_theme_constant('margin_right')
return vals
"
[node name="um1535" type="PanelContainer"]
editor_description = "Элемент замены из ЗИП"
offset_right = 160.0
offset_bottom = 88.0
theme_override_styles/panel = SubResource("StyleBoxEmpty_3nd2u")
script = SubResource("GDScript_oj3k3")
textures = [ExtResource("1_xcvfs"), ExtResource("2_ad1dj"), ExtResource("3_vxg7f")]
metadata/ref_des = ""
metadata/dec_num = ""
[node name="rect" type="NinePatchRect" parent="."]
layout_mode = 2
texture = ExtResource("4_1bnn6")
draw_center = false
region_rect = Rect2(0, 0, 63, 63)
patch_margin_left = 17
patch_margin_top = 17
patch_margin_right = 17
patch_margin_bottom = 15
[node name="margin" type="MarginContainer" parent="."]
layout_mode = 2
theme_override_constants/margin_left = 8
theme_override_constants/margin_top = 8
theme_override_constants/margin_right = 8
theme_override_constants/margin_bottom = 8
script = SubResource("GDScript_45hqb")
margins = [8, 8, 8, 8]
[node name="vbox" type="VBoxContainer" parent="margin"]
layout_mode = 2
[node name="grid" type="GridContainer" parent="margin/vbox"]
layout_mode = 2
columns = 3
[node name="state" type="TextureRect" parent="margin/vbox/grid"]
custom_minimum_size = Vector2(24, 24)
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 6
texture = ExtResource("1_xcvfs")
expand_mode = 1
[node name="fname" type="Label" parent="margin/vbox/grid"]
self_modulate = Color(1, 1, 1, 0.627451)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 6
theme_override_font_sizes/font_size = 17
horizontal_alignment = 1
vertical_alignment = 1
[node name="rname" type="Label" parent="margin/vbox/grid"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 6
theme_override_font_sizes/font_size = 22
horizontal_alignment = 2
vertical_alignment = 1
[node name="GridContainer" type="GridContainer" parent="margin/vbox"]
layout_mode = 2
size_flags_vertical = 6
columns = 2
[node name="Label" type="Label" parent="margin/vbox/GridContainer"]
self_modulate = Color(1, 1, 1, 0.63)
layout_mode = 2
text = "℃"
[node name="indicator_p" parent="margin/vbox/GridContainer" instance=ExtResource("5_3i5am")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Label2" type="Label" parent="margin/vbox/GridContainer"]
self_modulate = Color(1, 1, 1, 0.63)
layout_mode = 2
text = " W"
[node name="indicator_t" parent="margin/vbox/GridContainer" instance=ExtResource("5_3i5am")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3

View File

@@ -2,12 +2,14 @@
extends NinePatchRect extends NinePatchRect
"""
Для кассет
"""
@export var fname: String: @export var fname: String:
set(v): set(v):
fname = v fname = v
print_debug('\"%s\"' % self.name) $lbl_fname.text = v
var ch = get_node_or_null('lbl_fname')
if ch: ch.text = v
@export var rname: String: @export var rname: String:

View File

@@ -1,5 +1,9 @@
extends Panel extends Panel
"""
Режим контроль
"""
const PRIBORS_RES = \ const PRIBORS_RES = \
{ {
'pribor_afsp_l': ['res://scenes/pribor-afsp-l/pribor-afsp.tscn', 'Контроль исправности прибора АФСП левый'], 'pribor_afsp_l': ['res://scenes/pribor-afsp-l/pribor-afsp.tscn', 'Контроль исправности прибора АФСП левый'],

View File

@@ -0,0 +1,21 @@
@tool
extends Control
"""
Для приборов
"""
@export var fname: String:
set(v):
fname = v
@export var rname: String:
set(v):
rname = v
func set_header_text(header_text: String):
$lbl_header.text = header_text

View File

@@ -267,4 +267,24 @@ text = "Адрес сервера карт"
horizontal_alignment = 1 horizontal_alignment = 1
vertical_alignment = 1 vertical_alignment = 1
[node name="Label19" type="Label" parent="."]
offset_left = 487.0
offset_top = 150.0
offset_right = 775.0
offset_bottom = 257.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «Подавление».
Отключить отображение этой кнопки,
что бы тип помех применялся сразу."
[node name="CheckButton18" type="CheckButton" parent="."]
offset_left = 802.0
offset_top = 148.0
offset_right = 846.0
offset_bottom = 172.0
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true
[connection signal="text_changed" from="edt_mapaddr" to="edt_mapaddr" method="_on_text_changed"] [connection signal="text_changed" from="edt_mapaddr" to="edt_mapaddr" method="_on_text_changed"]

View File

@@ -34,7 +34,11 @@ strob_max_width = 90.0
strob_min_band = 0.1 strob_min_band = 0.1
strob_min_width = 5.0 strob_min_width = 5.0
metadata/_edit_vertical_guides_ = [] metadata/_edit_vertical_guides_ = []
metadata/_edit_lock_ = true
[node name="canvas" parent="." instance=ExtResource("11_b6su4")]
[node name="tilemap" parent="." instance=ExtResource("10_gtwyg")]
material = SubResource("ShaderMaterial_4p7y1")
[node name="grd_side" parent="." instance=ExtResource("3_s2j0e")] [node name="grd_side" parent="." instance=ExtResource("3_s2j0e")]
layout_mode = 0 layout_mode = 0
@@ -44,15 +48,14 @@ offset_right = 1594.0
offset_bottom = 1170.0 offset_bottom = 1170.0
metadata/_edit_lock_ = true metadata/_edit_lock_ = true
[node name="tilemap" parent="." instance=ExtResource("10_gtwyg")]
material = SubResource("ShaderMaterial_4p7y1")
[node name="grd_btns" parent="." instance=ExtResource("5_2jnbs")] [node name="grd_btns" parent="." instance=ExtResource("5_2jnbs")]
layout_mode = 0 layout_mode = 0
offset_left = 10.0 offset_left = 10.0
offset_top = 1116.0 offset_top = 1116.0
offset_right = 1106.0 offset_right = 1106.0
offset_bottom = 1170.0 offset_bottom = 1170.0
tooltip_text = "Кнопки выбора типа помехи"
mouse_filter = 0
metadata/_edit_lock_ = true metadata/_edit_lock_ = true
[node name="count_all_pad" parent="." instance=ExtResource("6_e3re7")] [node name="count_all_pad" parent="." instance=ExtResource("6_e3re7")]
@@ -106,24 +109,32 @@ text = "Автомат"
[node name="btn_view" parent="." instance=ExtResource("8_k0iv2")] [node name="btn_view" parent="." instance=ExtResource("8_k0iv2")]
layout_mode = 2 layout_mode = 2
offset_left = 874.0 offset_left = 11.0
offset_top = 1023.0 offset_top = 913.0
offset_right = 948.0 offset_right = 111.0
offset_bottom = 1056.0 offset_bottom = 953.0
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
text = "Вид" text = "Вид"
[node name="btn_view2" parent="." instance=ExtResource("8_k0iv2")]
layout_mode = 2
offset_left = 954.0
offset_top = 1060.0
offset_right = 1106.0
offset_bottom = 1112.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Подавление"
[node name="btn_zoom" parent="." instance=ExtResource("9_oey3x")] [node name="btn_zoom" parent="." instance=ExtResource("9_oey3x")]
layout_mode = 0 layout_mode = 0
offset_left = 952.0 offset_left = 12.0
offset_top = 1038.0 offset_top = 986.0
offset_right = 1104.0 offset_right = 112.0
offset_bottom = 1056.0 offset_bottom = 1006.0
metadata/zoom = 4 metadata/zoom = 4
[node name="canvas" parent="." instance=ExtResource("11_b6su4")]
[node name="btns_select" type="GridContainer" parent="."] [node name="btns_select" type="GridContainer" parent="."]
layout_mode = 0 layout_mode = 0
offset_left = 1034.0 offset_left = 1034.0