Усилитель на контроле

This commit is contained in:
danil_tim
2025-02-26 10:20:27 +03:00
parent c2845f59bd
commit 01c2072bdb
11 changed files with 620 additions and 74 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=55 format=3 uid="uid://cvor2jm4xk3ha"]
[gd_scene load_steps=56 format=3 uid="uid://cvor2jm4xk3ha"]
[ext_resource type="Script" path="res://scripts/PRD.gd" id="1_v273n"]
[ext_resource type="Texture2D" uid="uid://cdxdluvyb5uei" path="res://table/on.png" id="2_dv7xx"]
@@ -15,6 +15,7 @@
[ext_resource type="Shader" path="res://Shaders/load.gdshader" id="10_lf1xh"]
[ext_resource type="PackedScene" uid="uid://bdb0bhfu7366l" path="res://kasseta-fs-kd.tscn" id="10_tdh2s"]
[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://table/элемент-в.tscn" id="11_fg7ul"]
[ext_resource type="PackedScene" uid="uid://bkxblfoj7ejv0" path="res://table/блок-а.tscn" id="11_k47r2"]
[ext_resource type="Script" path="res://scripts/modul_fs.gd" id="15_b4pr1"]
[ext_resource type="Shader" path="res://Shaders/loadead.gdshader" id="16_4osrw"]
@@ -207,8 +208,8 @@ CheckBox/font_sizes/font_size = 14
script = ExtResource("1_v273n")
[node name="Background" type="ColorRect" parent="."]
offset_right = 3025.0
offset_bottom = 1060.0
offset_right = 3012.0
offset_bottom = 1080.0
theme = SubResource("Theme_k5ur4")
color = Color(0.356863, 0.278431, 0.356863, 1)
metadata/_edit_lock_ = true
@@ -332,11 +333,12 @@ theme_override_styles/tab_selected = SubResource("StyleBoxTexture_k08q3")
theme_override_styles/tab_hovered = SubResource("StyleBoxTexture_dklg6")
theme_override_styles/tab_unselected = SubResource("StyleBoxTexture_17le6")
tab_alignment = 2
current_tab = 0
current_tab = 1
tab_focus_mode = 0
metadata/_edit_lock_ = true
[node name="PRD" type="Panel" parent="TabContainer"]
visible = false
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_7u7p7")
metadata/_tab_index = 0
@@ -480,7 +482,6 @@ script = ExtResource("2_vmbyo")
node_gap = Vector2(100, 50)
[node name="ControlPanel" type="Panel" parent="TabContainer"]
visible = false
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_tn8m6")
script = ExtResource("9_akagi")
@@ -490,22 +491,144 @@ metadata/_edit_lock_ = true
[node name="lbl_control" type="Label" parent="TabContainer/ControlPanel"]
modulate = Color(1, 0, 0, 1)
layout_mode = 0
offset_left = 45.0
offset_top = -37.0
offset_right = 665.0
offset_bottom = -6.0
offset_left = 103.0
offset_top = -56.0
offset_right = 723.0
offset_bottom = -25.0
theme_override_font_sizes/font_size = 22
text = "Прибор не исправен"
horizontal_alignment = 1
vertical_alignment = 1
metadata/_edit_lock_ = true
[node name="socket_ym_lb2" type="NinePatchRect" parent="TabContainer/ControlPanel"]
offset_left = 15.0
offset_top = -24.0
offset_right = 240.0
offset_bottom = 759.0
texture = ExtResource("9_0r2qk")
patch_margin_left = 16
patch_margin_top = 16
patch_margin_right = 16
patch_margin_bottom = 16
metadata/_edit_lock_ = true
[node name="blok_ym_1" parent="TabContainer/ControlPanel/socket_ym_lb2" instance=ExtResource("11_k47r2")]
layout_mode = 2
offset_left = 20.0
offset_top = 40.0
offset_right = 201.0
offset_bottom = 149.0
[node name="blok_ym_2" parent="TabContainer/ControlPanel/socket_ym_lb2" instance=ExtResource("11_k47r2")]
layout_mode = 2
offset_left = 20.0
offset_top = 160.0
offset_right = 201.0
offset_bottom = 269.0
[node name="blok_ym_3" parent="TabContainer/ControlPanel/socket_ym_lb2" instance=ExtResource("11_k47r2")]
offset_left = 20.0
offset_top = 280.0
offset_right = 201.0
offset_bottom = 389.0
[node name="blok_ym_4" parent="TabContainer/ControlPanel/socket_ym_lb2" instance=ExtResource("11_k47r2")]
offset_left = 20.0
offset_top = 408.0
offset_right = 201.0
offset_bottom = 517.0
[node name="blok_ym_5" parent="TabContainer/ControlPanel/socket_ym_lb2" instance=ExtResource("11_k47r2")]
offset_left = 20.0
offset_top = 528.0
offset_right = 201.0
offset_bottom = 637.0
[node name="blok_ym_6" parent="TabContainer/ControlPanel/socket_ym_lb2" instance=ExtResource("11_k47r2")]
offset_left = 20.0
offset_top = 656.0
offset_right = 201.0
offset_bottom = 765.0
[node name="Kasseta" type="Label" parent="TabContainer/ControlPanel/socket_ym_lb2"]
self_modulate = Color(1, 1, 1, 0.62)
layout_mode = 0
offset_left = 7.0
offset_top = 8.0
offset_right = 229.0
offset_bottom = 33.0
text = "Младшая литера"
horizontal_alignment = 1
vertical_alignment = 1
[node name="socket_ym_pb" type="NinePatchRect" parent="TabContainer/ControlPanel"]
offset_left = 591.0
offset_top = -24.0
offset_right = 816.0
offset_bottom = 759.0
texture = ExtResource("9_0r2qk")
patch_margin_left = 16
patch_margin_top = 16
patch_margin_right = 16
patch_margin_bottom = 16
metadata/_edit_lock_ = true
[node name="blok_ym_1" parent="TabContainer/ControlPanel/socket_ym_pb" instance=ExtResource("11_k47r2")]
layout_mode = 2
offset_left = 20.0
offset_top = 40.0
offset_right = 201.0
offset_bottom = 149.0
[node name="blok_ym_2" parent="TabContainer/ControlPanel/socket_ym_pb" instance=ExtResource("11_k47r2")]
layout_mode = 2
offset_left = 20.0
offset_top = 160.0
offset_right = 201.0
offset_bottom = 269.0
[node name="blok_ym_3" parent="TabContainer/ControlPanel/socket_ym_pb" instance=ExtResource("11_k47r2")]
offset_left = 20.0
offset_top = 280.0
offset_right = 201.0
offset_bottom = 389.0
[node name="blok_ym_4" parent="TabContainer/ControlPanel/socket_ym_pb" instance=ExtResource("11_k47r2")]
offset_left = 20.0
offset_top = 408.0
offset_right = 201.0
offset_bottom = 517.0
[node name="blok_ym_5" parent="TabContainer/ControlPanel/socket_ym_pb" instance=ExtResource("11_k47r2")]
offset_left = 20.0
offset_top = 528.0
offset_right = 201.0
offset_bottom = 637.0
[node name="blok_ym_6" parent="TabContainer/ControlPanel/socket_ym_pb" instance=ExtResource("11_k47r2")]
offset_left = 20.0
offset_top = 656.0
offset_right = 201.0
offset_bottom = 765.0
[node name="Kasseta" type="Label" parent="TabContainer/ControlPanel/socket_ym_pb"]
self_modulate = Color(1, 1, 1, 0.62)
layout_mode = 0
offset_left = 7.0
offset_top = 8.0
offset_right = 229.0
offset_bottom = 33.0
text = "Старшая литера"
horizontal_alignment = 1
vertical_alignment = 1
[node name="soc_y5" type="NinePatchRect" parent="TabContainer/ControlPanel"]
layout_mode = 0
offset_left = 199.0
offset_top = 10.0
offset_right = 516.0
offset_bottom = 200.0
offset_left = 255.0
offset_top = -24.0
offset_right = 572.0
offset_bottom = 166.0
texture = ExtResource("9_0r2qk")
patch_margin_left = 16
patch_margin_top = 16
@@ -574,10 +697,10 @@ vertical_alignment = 1
[node name="Kasseta_FS" parent="TabContainer/ControlPanel" instance=ExtResource("10_tdh2s")]
layout_mode = 0
offset_left = 200.0
offset_top = 201.0
offset_right = 518.0
offset_bottom = 420.0
offset_left = 254.0
offset_top = 167.0
offset_right = 572.0
offset_bottom = 386.0
script = null
metadata/_edit_lock_ = true
@@ -648,10 +771,10 @@ rname = "A1"
[node name="soc_P1" type="NinePatchRect" parent="TabContainer/ControlPanel"]
layout_mode = 0
offset_left = 259.0
offset_top = 427.0
offset_right = 447.0
offset_bottom = 643.0
offset_left = 317.0
offset_top = 389.0
offset_right = 505.0
offset_bottom = 584.0
texture = ExtResource("9_0r2qk")
patch_margin_left = 16
patch_margin_top = 16
@@ -674,8 +797,7 @@ vertical_alignment = 1
offset_left = -64.0
offset_top = 37.0
offset_right = -14.0
offset_bottom = 211.0
self_size = Vector2i(50, 174)
offset_bottom = 187.0
fname = "МАА2000"
rname = "А22"
@@ -683,8 +805,7 @@ rname = "А22"
offset_left = 203.0
offset_top = 36.0
offset_right = 253.0
offset_bottom = 210.0
self_size = Vector2i(50, 174)
offset_bottom = 186.0
fname = "МАА2000"
rname = "А23"
@@ -692,8 +813,7 @@ rname = "А23"
offset_left = 129.0
offset_top = 37.0
offset_right = 179.0
offset_bottom = 211.0
self_size = Vector2i(50, 174)
offset_bottom = 187.0
fname = "ИП9-50"
rname = "А19"
@@ -701,8 +821,7 @@ rname = "А19"
offset_left = 73.0
offset_top = 37.0
offset_right = 123.0
offset_bottom = 211.0
self_size = Vector2i(50, 174)
offset_bottom = 187.0
fname = "ИП9-50"
rname = "А20"
@@ -710,23 +829,21 @@ rname = "А20"
offset_left = 16.0
offset_top = 36.0
offset_right = 66.0
offset_bottom = 210.0
self_size = Vector2i(50, 174)
offset_bottom = 186.0
fname = "ИП12-50"
rname = "А21"
[node name="soc_DKM" type="NinePatchRect" parent="TabContainer/ControlPanel"]
layout_mode = 0
offset_left = 574.0
offset_top = 201.0
offset_right = 762.0
offset_bottom = 417.0
offset_left = 317.0
offset_top = 584.0
offset_right = 505.0
offset_bottom = 778.0
texture = ExtResource("9_0r2qk")
patch_margin_left = 16
patch_margin_top = 16
patch_margin_right = 16
patch_margin_bottom = 16
metadata/_edit_lock_ = true
[node name="Kasseta" type="Label" parent="TabContainer/ControlPanel/soc_DKM"]
self_modulate = Color(1, 1, 1, 0.62)
@@ -738,13 +855,13 @@ offset_bottom = 33.0
text = "ДКМ"
horizontal_alignment = 1
vertical_alignment = 1
metadata/_edit_lock_ = true
[node name="DKM_3" parent="TabContainer/ControlPanel/soc_DKM" instance=ExtResource("11_fg7ul")]
offset_left = 129.0
offset_top = 37.0
offset_right = 179.0
offset_bottom = 211.0
self_size = Vector2i(50, 174)
offset_bottom = 187.0
fname = "ДКМ3"
rname = " "
@@ -752,8 +869,7 @@ rname = " "
offset_left = 73.0
offset_top = 37.0
offset_right = 123.0
offset_bottom = 211.0
self_size = Vector2i(50, 174)
offset_bottom = 187.0
fname = "ДКМ2"
rname = " "
@@ -761,17 +877,16 @@ rname = " "
offset_left = 16.0
offset_top = 36.0
offset_right = 66.0
offset_bottom = 210.0
self_size = Vector2i(50, 174)
offset_bottom = 186.0
fname = "ДКМ-1"
rname = " "
[node name="soc_P2" type="NinePatchRect" parent="TabContainer/ControlPanel"]
layout_mode = 0
offset_left = 278.0
offset_top = 645.0
offset_right = 432.0
offset_bottom = 861.0
offset_left = 333.0
offset_top = 777.0
offset_right = 487.0
offset_bottom = 979.0
texture = ExtResource("9_0r2qk")
patch_margin_left = 16
patch_margin_top = 16
@@ -794,8 +909,8 @@ vertical_alignment = 1
offset_left = 81.0
offset_top = 36.0
offset_right = 131.0
offset_bottom = 210.0
self_size = Vector2i(50, 174)
offset_bottom = 196.0
self_size = Vector2i(50, 160)
fname = "ИП12-50"
rname = "A25"
@@ -803,8 +918,8 @@ rname = "A25"
offset_left = 24.0
offset_top = 36.0
offset_right = 74.0
offset_bottom = 210.0
self_size = Vector2i(50, 174)
offset_bottom = 196.0
self_size = Vector2i(50, 160)
fname = "ИП9-50"
rname = "A22"
@@ -818,13 +933,12 @@ metadata/_edit_lock_ = true
[node name="log_array" type="TextEdit" parent="TabContainer/ControlPanel"]
layout_mode = 0
offset_left = 786.0
offset_top = 22.0
offset_right = 1639.0
offset_bottom = 837.0
offset_left = 846.0
offset_top = -21.0
offset_right = 1630.0
offset_bottom = 525.0
theme_override_styles/normal = SubResource("StyleBoxFlat_13x31")
placeholder_text = "Ожидание контроля ..."
metadata/_edit_lock_ = true
[node name="await" type="ColorRect" parent="TabContainer/ControlPanel/log_array"]
material = SubResource("ShaderMaterial_07wue")