diff --git a/.gitignore b/.gitignore index 4709183..ea71f72 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ # Godot 4+ specific ignores .godot/ +.idea/ +.git/ +bin diff --git a/PRD31B9.tmp b/PRD31B9.tmp deleted file mode 100644 index 5142942..0000000 --- a/PRD31B9.tmp +++ /dev/null @@ -1,786 +0,0 @@ -[gd_scene load_steps=47 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"] -[ext_resource type="Script" path="res://table/table.gd" id="2_vmbyo"] -[ext_resource type="Material" uid="uid://s6xe8igevnv2" path="res://Shaders/shader_edu.tres" id="3_3syd3"] -[ext_resource type="Texture2D" uid="uid://cfktmk2rowmul" path="res://table/off.png" id="3_qvuyu"] -[ext_resource type="Shader" path="res://Shaders/ray.gdshader" id="4_uy5o2"] -[ext_resource type="Texture2D" uid="uid://62v0xejejuwj" path="res://Web.png" id="5_i3nvb"] -[ext_resource type="Texture2D" uid="uid://cgtg4gbqnuxrc" path="res://nine-patch-round.png" id="9_0r2qk"] -[ext_resource type="Script" path="res://ems_g.gd" id="9_g1wia"] -[ext_resource type="Shader" path="res://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://bnlkbbn7b4a3k" path="res://table/элемент-эмс.tscn" id="11_d60jk"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://table/элемент-в.tscn" id="11_fg7ul"] - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_eib3t"] -bg_color = Color(0.356863, 0.278431, 0.356863, 1) -border_width_bottom = 6 -border_color = Color(0.228592, 0.173062, 0.22863, 1) -border_blend = true - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o0too"] -bg_color = Color(0.223529, 0.168627, 0.223529, 1) -border_width_bottom = 6 -border_color = Color(0.339047, 0.26316, 0.339004, 1) -border_blend = true - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gooip"] -bg_color = Color(0.223529, 0.168627, 0.223529, 0.490196) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lqhgx"] -bg_color = Color(0, 0, 0, 0.490196) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_148rs"] -bg_color = Color(0, 0, 0, 0.490196) -border_width_bottom = 4 -border_color = Color(0.223529, 0.168627, 0.223529, 1) -border_blend = true -corner_radius_top_left = 2 -corner_radius_top_right = 2 -corner_radius_bottom_right = 2 -corner_radius_bottom_left = 2 - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ldbvf"] -bg_color = Color(0.223529, 0.168627, 0.223529, 0.490196) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_h8aei"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_d322q"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_8j02b"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ls6vm"] - -[sub_resource type="Theme" id="Theme_k5ur4"] -Button/styles/focus = SubResource("StyleBoxFlat_eib3t") -Button/styles/hover = SubResource("StyleBoxFlat_o0too") -Button/styles/normal = SubResource("StyleBoxFlat_o0too") -Button/styles/pressed = SubResource("StyleBoxFlat_eib3t") -CheckButton/icons/checked = ExtResource("2_dv7xx") -CheckButton/icons/unchecked = ExtResource("3_qvuyu") -OptionButton/font_sizes/font_size = 17 -OptionButton/styles/focus = SubResource("StyleBoxFlat_gooip") -OptionButton/styles/hover = SubResource("StyleBoxFlat_lqhgx") -OptionButton/styles/normal = SubResource("StyleBoxFlat_148rs") -OptionButton/styles/pressed = SubResource("StyleBoxFlat_ldbvf") -TabContainer/styles/panel = SubResource("StyleBoxTexture_h8aei") -TabContainer/styles/tab_focus = SubResource("StyleBoxTexture_d322q") -TabContainer/styles/tab_selected = SubResource("StyleBoxTexture_8j02b") -TabContainer/styles/tabbar_background = SubResource("StyleBoxTexture_ls6vm") - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pxarn"] -bg_color = Color(0.356863, 0.278431, 0.356863, 1) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_p247y"] -bg_color = Color(0.356863, 0.278431, 0.356863, 1) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_rh6pm"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_x11tp"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mn8w2"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_21lc8"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_k08q3"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_dklg6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_17le6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_7u7p7"] - -[sub_resource type="Gradient" id="Gradient_jlp41"] -colors = PackedColorArray(0, 0.647059, 0, 1, 0, 0.266667, 0, 1) - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_u3yy8"] -gradient = SubResource("Gradient_jlp41") -fill = 1 -fill_from = Vector2(0.5, 0.5) -fill_to = Vector2(1.145, 0) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_otisn"] -texture = SubResource("GradientTexture2D_u3yy8") - -[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_723du"] -size = Vector2(1600, 1200) - -[sub_resource type="GDScript" id="GDScript_0sobq"] -script/source = "extends Sprite2D - -" - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_o7txs"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_dgiai"] -shader = ExtResource("4_uy5o2") -shader_parameter/color_signal = Color(0.690196, 0.776471, 0, 1) -shader_parameter/turn = 0.785 - -[sub_resource type="Gradient" id="Gradient_ki0n7"] - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_0pk2o"] -gradient = SubResource("Gradient_ki0n7") -fill_from = Vector2(0.474359, 0.5) -metadata/_snap_enabled = true - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_tn8m6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ooo4i"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_slcfo"] -shader = ExtResource("10_lf1xh") -shader_parameter/frequency = 5.0 -shader_parameter/amplitude = 600.0 -shader_parameter/speed = 5.0 -shader_parameter/direction = -1.0 -shader_parameter/color1 = Color(0, 0, 0, 1) -shader_parameter/color2 = Color(0.235, 0.18, 0.235, 1) -shader_parameter/color3 = Color(0.235, 0.18, 0.235, 0.5) -shader_parameter/color4 = Color(0, 0, 0, 0) -shader_parameter/opacity = 0.218 -shader_parameter/turn = 0.785 - -[node name="Node2D" type="Node2D"] -script = ExtResource("1_v273n") - -[node name="Background" type="ColorRect" parent="."] -offset_right = 1941.0 -offset_bottom = 988.0 -theme = SubResource("Theme_k5ur4") -color = Color(0.356863, 0.278431, 0.356863, 1) -metadata/_edit_lock_ = true - -[node name="side_panel" type="ColorRect" parent="Background"] -layout_mode = 0 -offset_right = 216.0 -offset_bottom = 988.0 -color = Color(0.586231, 0.481877, 0.585869, 1) - -[node name="select_prd" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 120.0 -offset_right = 216.0 -offset_bottom = 156.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_pxarn") -toggle_mode = true -button_pressed = true -text = "ПРД" - -[node name="select_control" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 160.0 -offset_right = 216.0 -offset_bottom = 196.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y") -toggle_mode = true -text = "КОНТРОЛЬ" - -[node name="select_ems_g" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 200.0 -offset_right = 216.0 -offset_bottom = 236.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y") -toggle_mode = true -text = "ЭМС Г" - -[node name="Litera_3_5_7" type="ColorRect" parent="Background"] -visible = false -layout_mode = 0 -offset_top = 48.0 -offset_right = 1941.0 -offset_bottom = 352.0 -color = Color(0.669446, 0.567301, 0.66881, 1) - -[node name="Litera_1" type="ColorRect" parent="Background"] -visible = false -layout_mode = 0 -offset_top = 359.0 -offset_right = 2182.0 -offset_bottom = 638.0 -color = Color(0.669446, 0.567301, 0.66881, 1) - -[node name="ISA" type="Label" parent="."] -offset_left = 225.0 -offset_top = 11.0 -offset_right = 1853.0 -offset_bottom = 48.0 -autowrap_mode = 3 - -[node name="read_isa" type="Button" parent="."] -offset_left = 85.0 -offset_top = 7.0 -offset_right = 210.0 -offset_bottom = 38.0 -text = "Прочитать ISA" - -[node name="TabContainer" type="TabContainer" parent="."] -offset_left = 216.0 -offset_top = 39.0 -offset_right = 2420.0 -offset_bottom = 917.0 -theme = SubResource("Theme_k5ur4") -theme_override_colors/font_unselected_color = Color(0, 0, 0, 0.0392157) -theme_override_colors/font_selected_color = Color(0, 0, 0, 0) -theme_override_styles/tab_focus = SubResource("StyleBoxTexture_rh6pm") -theme_override_styles/tab_disabled = SubResource("StyleBoxTexture_x11tp") -theme_override_styles/tabbar_background = SubResource("StyleBoxTexture_mn8w2") -theme_override_styles/panel = SubResource("StyleBoxTexture_21lc8") -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 = 1 -tab_focus_mode = 0 - -[node name="PRD" type="Panel" parent="TabContainer"] -visible = false -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_7u7p7") -metadata/_tab_index = 0 -metadata/_edit_lock_ = true - -[node name="scroll1" type="ScrollContainer" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 969.0 -offset_top = 27.0 -offset_right = 1332.0 -offset_bottom = 308.0 - -[node name="table1" type="GridContainer" parent="TabContainer/PRD/scroll1"] -layout_mode = 2 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="scroll2" type="ScrollContainer" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 969.0 -offset_top = 331.0 -offset_right = 1332.0 -offset_bottom = 619.0 - -[node name="table2" type="GridContainer" parent="TabContainer/PRD/scroll2"] -layout_mode = 2 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="LABEL" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 17.0 -offset_right = 764.0 -offset_bottom = 40.0 -text = "ЛИТЕРА 2! ПРД-Н!" - -[node name="Zapret" type="Button" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 45.0 -offset_right = 600.0 -offset_bottom = 79.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn") -toggle_mode = true -text = " Запрет СИ2" -metadata/litera = 48 - -[node name="LABEL2" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 329.0 -offset_right = 764.0 -offset_bottom = 352.0 -text = "ЛИТЕРА 3! ПРД-Н!" - -[node name="Zapret2" type="Button" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 357.0 -offset_right = 600.0 -offset_bottom = 391.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn") -toggle_mode = true -text = " Запрет СИ3" -metadata/litera = 49 - -[node name="Label_luch" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 100.0 -offset_right = 764.0 -offset_bottom = 123.0 -text = "Номер и направление луча" - -[node name="LUCH" type="OptionButton" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 132.0 -offset_right = 600.0 -offset_bottom = 163.0 -item_count = 2 -popup/item_0/text = "Что-то" -popup/item_1/text = "Что-то" -popup/item_1/id = 1 - -[node name="Modul" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 402.0 -offset_right = 626.0 -offset_bottom = 425.0 -text = "Модуляция" - -[node name="DKM2" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 183.0 -offset_right = 624.0 -offset_bottom = 206.0 -text = "ДКМ ДОУ 2" - -[node name="DKM3" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 431.0 -offset_right = 624.0 -offset_bottom = 454.0 -text = "ДКМ ДОУ 3" - -[node name="FGOZ2" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 206.0 -offset_right = 655.0 -offset_bottom = 229.0 -text = "ФГОЗ 2" - -[node name="FGOZ3" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 454.0 -offset_right = 655.0 -offset_bottom = 477.0 -text = "ФГОЗ 3" - -[node name="PSK" type="Sprite2D" parent="TabContainer/PRD"] -material = ExtResource("3_3syd3") -position = Vector2(1276.25, 29) -scale = Vector2(0.247968, 0.234167) -texture = SubResource("PlaceholderTexture2D_723du") -offset = Vector2(800, 600) -script = SubResource("GDScript_0sobq") - -[node name="PSK grad" type="TextureRect" parent="TabContainer/PRD/PSK"] -modulate = Color(0, 0, 0, 1) -self_modulate = Color(0, 0, 0, 1) -show_behind_parent = true -material = SubResource("ShaderMaterial_o7txs") -offset_left = 554.954 -offset_top = -30.0 -offset_right = 1290.95 -offset_bottom = 1134.0 -texture = ExtResource("5_i3nvb") -expand_mode = 1 -metadata/_edit_lock_ = true - -[node name="ray" type="Sprite2D" parent="TabContainer/PRD/PSK"] -material = SubResource("ShaderMaterial_dgiai") -position = Vector2(549.221, 560.705) -scale = Vector2(21.8765, 21.6782) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="PSK2" type="Sprite2D" parent="TabContainer/PRD"] -material = ExtResource("3_3syd3") -position = Vector2(1276, 326) -scale = Vector2(0.247968, 0.234167) -texture = SubResource("PlaceholderTexture2D_723du") -offset = Vector2(800, 600) -script = SubResource("GDScript_0sobq") - -[node name="PSK grad" type="TextureRect" parent="TabContainer/PRD/PSK2"] -modulate = Color(0, 0, 0, 1) -self_modulate = Color(0, 0, 0, 1) -show_behind_parent = true -material = SubResource("ShaderMaterial_o7txs") -offset_left = 554.954 -offset_top = -30.0 -offset_right = 1290.95 -offset_bottom = 1134.0 -texture = ExtResource("5_i3nvb") -expand_mode = 1 -metadata/_edit_lock_ = true - -[node name="ray" type="Sprite2D" parent="TabContainer/PRD/PSK2"] -material = SubResource("ShaderMaterial_dgiai") -position = Vector2(549.221, 560.705) -scale = Vector2(21.8765, 21.6782) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="select_dev" type="ScrollContainer" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 12.0 -offset_top = 64.0 -offset_right = 375.0 -offset_bottom = 96.0 - -[node name="select_dev" type="GridContainer" parent="TabContainer/PRD/select_dev"] -layout_mode = 2 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="ControlPanel" type="Panel" parent="TabContainer"] -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_tn8m6") -metadata/_tab_index = 1 -metadata/_edit_lock_ = true - -[node name="lbl_control" type="Label" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 636.0 -offset_top = 21.0 -offset_right = 1256.0 -offset_bottom = 52.0 -theme_override_font_sizes/font_size = 22 -text = "Контроль исправности прибора ПРД-Н" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="sockets" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 791.0 -offset_top = 62.0 -offset_right = 1100.0 -offset_bottom = 252.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="ref_A26" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 5.0 -offset_top = 34.0 -offset_right = 55.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "ЯУ-07" -metadata/_edit_lock_ = true - -[node name="ref_A23" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 53.0 -offset_top = 34.0 -offset_right = 103.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "ЭМС-Г" -metadata/_edit_lock_ = true - -[node name="ref_A24" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 104.0 -offset_top = 34.0 -offset_right = 154.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "УГ" -metadata/_edit_lock_ = true - -[node name="ref_A25" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 154.0 -offset_top = 33.0 -offset_right = 204.0 -offset_bottom = 183.0 -textures = Array[Texture]([]) -fname = "УКП-1" -metadata/_edit_lock_ = true - -[node name="ref_A27" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 205.0 -offset_top = 33.0 -offset_right = 255.0 -offset_bottom = 183.0 -textures = Array[Texture]([]) -fname = "УКП-2" -metadata/_edit_lock_ = true - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/sockets"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 291.0 -offset_bottom = 33.0 -text = "Ячейки" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/_edit_lock_ = true - -[node name="kasseta_fs_kd" parent="TabContainer/ControlPanel" instance=ExtResource("10_tdh2s")] -layout_mode = 0 -offset_left = 791.0 -offset_top = 271.0 -offset_right = 1101.0 -offset_bottom = 498.0 -script = null - -[node name="kasseta_p_1" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 791.0 -offset_top = 520.0 -offset_right = 1211.0 -offset_bottom = 736.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/kasseta_p_1"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 409.0 -offset_bottom = 33.0 -text = "Кассета П-1" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/_edit_lock_ = true - -[node name="ref_A23" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 9.0 -offset_top = 34.0 -offset_right = 59.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП МАА 1" -metadata/_edit_lock_ = true - -[node name="ref_A24" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 59.0 -offset_top = 34.0 -offset_right = 109.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП МАА 2" -metadata/_edit_lock_ = true - -[node name="ref_A25" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 109.0 -offset_top = 34.0 -offset_right = 159.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП9-50 1" -metadata/_edit_lock_ = true - -[node name="ref_A26" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 159.0 -offset_top = 34.0 -offset_right = 209.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП9-50 2" -metadata/_edit_lock_ = true - -[node name="ref_A27" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 209.0 -offset_top = 34.0 -offset_right = 259.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП12-50 1" -metadata/_edit_lock_ = true - -[node name="ref_A28" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 259.0 -offset_top = 34.0 -offset_right = 309.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП9-50 3" -metadata/_edit_lock_ = true - -[node name="ref_A29" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 309.0 -offset_top = 34.0 -offset_right = 359.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП12-50 2" -metadata/_edit_lock_ = true - -[node name="ref_A30" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 359.0 -offset_top = 34.0 -offset_right = 409.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП5-25" -rname = "A30" -metadata/_edit_lock_ = true - -[node name="ref_ZZ3" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 461.0 -offset_top = 602.0 -offset_right = 771.0 -offset_bottom = 739.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="label" type="Label" parent="TabContainer/ControlPanel/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="Signal_EMS_G" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 463.0 -offset_top = 271.0 -offset_right = 772.0 -offset_bottom = 498.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/Signal_EMS_G"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 291.0 -offset_bottom = 33.0 -text = "Сигналы от ЭМС-Г" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/_edit_lock_ = true - -[node name="ref_A22" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 5.0 -offset_top = 38.0 -offset_right = 55.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СЗИ2 от УФ" -metadata/_edit_lock_ = true - -[node name="ref_A26" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 55.0 -offset_top = 38.0 -offset_right = 105.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СИ2 от ФС" -metadata/_edit_lock_ = true - -[node name="ref_A28" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 105.0 -offset_top = 38.0 -offset_right = 155.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СИ2 в УФ" -metadata/_edit_lock_ = true - -[node name="ref_A29" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 155.0 -offset_top = 38.0 -offset_right = 205.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "Модуляция" -metadata/_edit_lock_ = true - -[node name="ref_A30" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 205.0 -offset_top = 38.0 -offset_right = 255.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "ФГОЗ" -metadata/_edit_lock_ = true - -[node name="EMS_G" type="Panel" parent="TabContainer"] -visible = false -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_ooo4i") -script = ExtResource("9_g1wia") -metadata/_tab_index = 2 -metadata/_edit_lock_ = true - -[node name="table1" type="GridContainer" parent="TabContainer/EMS_G"] -layout_mode = 2 -offset_left = 27.0 -offset_top = 148.0 -offset_right = 27.0 -offset_bottom = 148.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="load_boadr" type="ColorRect" parent="TabContainer/EMS_G"] -layout_mode = 0 -offset_left = 27.0 -offset_top = 148.0 -offset_right = 1596.0 -offset_bottom = 717.0 -color = Color(0, 0, 0, 0.596078) - -[node name="load" type="Sprite2D" parent="TabContainer/EMS_G/load_boadr"] -material = SubResource("ShaderMaterial_slcfo") -position = Vector2(786, 284.5) -scale = Vector2(24.4688, 8.89063) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="Load_text" type="Label" parent="TabContainer/EMS_G/load_boadr"] -layout_mode = 0 -offset_left = 693.0 -offset_top = 277.0 -offset_right = 849.0 -offset_bottom = 316.0 -theme_override_colors/font_color = Color(1, 1, 1, 1) -theme_override_colors/font_shadow_color = Color(0.427493, 0.427493, 0.427493, 1) -theme_override_font_sizes/font_size = 28 -text = "Загрузка ..." - -[connection signal="pressed" from="Background/side_panel/select_prd" to="." method="_on_prd_select"] -[connection signal="pressed" from="Background/side_panel/select_control" to="." method="_on_control_button"] -[connection signal="pressed" from="Background/side_panel/select_ems_g" to="." method="_on_emsg_select"] -[connection signal="pressed" from="read_isa" to="." method="_on_read_isa_pressed"] diff --git a/PRD3397.tmp b/PRD3397.tmp deleted file mode 100644 index 3693b73..0000000 --- a/PRD3397.tmp +++ /dev/null @@ -1,852 +0,0 @@ -[gd_scene load_steps=50 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"] -[ext_resource type="Script" path="res://table/table.gd" id="2_vmbyo"] -[ext_resource type="Material" uid="uid://s6xe8igevnv2" path="res://Shaders/shader_edu.tres" id="3_3syd3"] -[ext_resource type="Texture2D" uid="uid://cfktmk2rowmul" path="res://table/off.png" id="3_qvuyu"] -[ext_resource type="Shader" path="res://Shaders/ray.gdshader" id="4_uy5o2"] -[ext_resource type="Texture2D" uid="uid://62v0xejejuwj" path="res://Web.png" id="5_i3nvb"] -[ext_resource type="Shader" path="res://ray_2.gdshader" id="8_12mng"] -[ext_resource type="Texture2D" uid="uid://cgtg4gbqnuxrc" path="res://nine-patch-round.png" id="9_0r2qk"] -[ext_resource type="Script" path="res://ems_g.gd" id="9_g1wia"] -[ext_resource type="Shader" path="res://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://bnlkbbn7b4a3k" path="res://table/элемент-эмс.tscn" id="11_d60jk"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://table/элемент-в.tscn" id="11_fg7ul"] -[ext_resource type="Script" path="res://modul_fs.gd" id="15_b4pr1"] - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_eib3t"] -bg_color = Color(0.223529, 0.168627, 0.223529, 1) -border_width_bottom = 6 -border_color = Color(0.228592, 0.173062, 0.22863, 1) -border_blend = true - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o0too"] -bg_color = Color(0.223529, 0.168627, 0.223529, 1) -border_width_bottom = 6 -border_color = Color(0.339047, 0.26316, 0.339004, 1) -border_blend = true - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gooip"] -bg_color = Color(0.143, 0.103, 0.143, 0.799) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lqhgx"] -bg_color = Color(0, 0, 0, 0.490196) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_148rs"] -bg_color = Color(0.141176, 0.101961, 0.141176, 0.8) -border_width_bottom = 4 -border_color = Color(0.223529, 0.168627, 0.223529, 1) -border_blend = true -corner_radius_top_left = 2 -corner_radius_top_right = 2 -corner_radius_bottom_right = 2 -corner_radius_bottom_left = 2 - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ldbvf"] -bg_color = Color(0.141176, 0.101961, 0.141176, 0.8) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_h8aei"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_d322q"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_8j02b"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ls6vm"] - -[sub_resource type="Theme" id="Theme_k5ur4"] -Button/styles/focus = SubResource("StyleBoxFlat_eib3t") -Button/styles/hover = SubResource("StyleBoxFlat_o0too") -Button/styles/normal = SubResource("StyleBoxFlat_o0too") -Button/styles/pressed = SubResource("StyleBoxFlat_eib3t") -CheckButton/icons/checked = ExtResource("2_dv7xx") -CheckButton/icons/unchecked = ExtResource("3_qvuyu") -OptionButton/font_sizes/font_size = 17 -OptionButton/styles/focus = SubResource("StyleBoxFlat_gooip") -OptionButton/styles/hover = SubResource("StyleBoxFlat_lqhgx") -OptionButton/styles/normal = SubResource("StyleBoxFlat_148rs") -OptionButton/styles/pressed = SubResource("StyleBoxFlat_ldbvf") -TabContainer/styles/panel = SubResource("StyleBoxTexture_h8aei") -TabContainer/styles/tab_focus = SubResource("StyleBoxTexture_d322q") -TabContainer/styles/tab_selected = SubResource("StyleBoxTexture_8j02b") -TabContainer/styles/tabbar_background = SubResource("StyleBoxTexture_ls6vm") - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pxarn"] -bg_color = Color(0.356863, 0.278431, 0.356863, 1) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_p247y"] -bg_color = Color(0.356863, 0.278431, 0.356863, 1) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_rh6pm"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_x11tp"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mn8w2"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_21lc8"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_k08q3"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_dklg6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_17le6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_7u7p7"] - -[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_723du"] -size = Vector2(1600, 1200) - -[sub_resource type="GDScript" id="GDScript_0sobq"] -script/source = "extends Sprite2D - -" - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_o7txs"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_dgiai"] -shader = ExtResource("4_uy5o2") -shader_parameter/color_signal = Color(0.690196, 0.776471, 0, 1) -shader_parameter/turn = 0.735 - -[sub_resource type="Gradient" id="Gradient_ki0n7"] - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_0pk2o"] -gradient = SubResource("Gradient_ki0n7") -fill_from = Vector2(0.474359, 0.5) -metadata/_snap_enabled = true - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_2pxu2"] -shader = ExtResource("8_12mng") -shader_parameter/color_signal = Color(1.29351e-07, 0.19544, 0.0177065, 0.574) -shader_parameter/turn = 0.735 - -[sub_resource type="Gradient" id="Gradient_jlp41"] -colors = PackedColorArray(0, 0.647059, 0, 1, 0, 0.266667, 0, 1) - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_u3yy8"] -gradient = SubResource("Gradient_jlp41") -fill = 1 -fill_from = Vector2(0.5, 0.5) -fill_to = Vector2(1.145, 0) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_otisn"] -texture = SubResource("GradientTexture2D_u3yy8") - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_tn8m6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ooo4i"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_slcfo"] -shader = ExtResource("10_lf1xh") -shader_parameter/frequency = 5.0 -shader_parameter/amplitude = 600.0 -shader_parameter/speed = 5.0 -shader_parameter/direction = -1.0 -shader_parameter/color1 = Color(0, 0, 0, 1) -shader_parameter/color2 = Color(0.235, 0.18, 0.235, 1) -shader_parameter/color3 = Color(0.235, 0.18, 0.235, 0.5) -shader_parameter/color4 = Color(0, 0, 0, 0) -shader_parameter/opacity = 0.218 -shader_parameter/turn = 0.785 - -[node name="Node2D" type="Node2D"] -script = ExtResource("1_v273n") - -[node name="Background" type="ColorRect" parent="."] -offset_right = 1941.0 -offset_bottom = 988.0 -theme = SubResource("Theme_k5ur4") -color = Color(0.356863, 0.278431, 0.356863, 1) -metadata/_edit_lock_ = true - -[node name="side_panel" type="ColorRect" parent="Background"] -layout_mode = 0 -offset_right = 216.0 -offset_bottom = 988.0 -color = Color(0.586231, 0.481877, 0.585869, 1) - -[node name="select_prd" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 120.0 -offset_right = 216.0 -offset_bottom = 156.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_pxarn") -toggle_mode = true -button_pressed = true -text = "ПРД" - -[node name="select_control" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 160.0 -offset_right = 216.0 -offset_bottom = 196.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y") -toggle_mode = true -text = "КОНТРОЛЬ" - -[node name="select_ems_g" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 200.0 -offset_right = 216.0 -offset_bottom = 236.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y") -toggle_mode = true -text = "ЭМС Г" - -[node name="select_fs" type="Button" parent="Background/side_panel"] -offset_top = 241.0 -offset_right = 216.0 -offset_bottom = 277.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y") -toggle_mode = true -text = "Модуль ФС" - -[node name="Litera_3_5_7" type="ColorRect" parent="Background"] -visible = false -layout_mode = 0 -offset_top = 48.0 -offset_right = 1941.0 -offset_bottom = 352.0 -color = Color(0.669446, 0.567301, 0.66881, 1) - -[node name="Litera_1" type="ColorRect" parent="Background"] -visible = false -layout_mode = 0 -offset_top = 359.0 -offset_right = 2182.0 -offset_bottom = 638.0 -color = Color(0.669446, 0.567301, 0.66881, 1) - -[node name="ISA" type="Label" parent="."] -offset_left = 225.0 -offset_top = 11.0 -offset_right = 1853.0 -offset_bottom = 48.0 -autowrap_mode = 3 - -[node name="read_isa" type="Button" parent="."] -offset_left = 85.0 -offset_top = 7.0 -offset_right = 210.0 -offset_bottom = 38.0 -text = "Прочитать ISA" - -[node name="TabContainer" type="TabContainer" parent="."] -offset_left = 216.0 -offset_top = 39.0 -offset_right = 2420.0 -offset_bottom = 917.0 -theme = SubResource("Theme_k5ur4") -theme_override_colors/font_unselected_color = Color(0, 0, 0, 0.0392157) -theme_override_colors/font_selected_color = Color(0, 0, 0, 0) -theme_override_styles/tab_focus = SubResource("StyleBoxTexture_rh6pm") -theme_override_styles/tab_disabled = SubResource("StyleBoxTexture_x11tp") -theme_override_styles/tabbar_background = SubResource("StyleBoxTexture_mn8w2") -theme_override_styles/panel = SubResource("StyleBoxTexture_21lc8") -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 = 3 -tab_focus_mode = 0 - -[node name="PRD" type="Panel" parent="TabContainer"] -visible = false -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_7u7p7") -metadata/_tab_index = 0 -metadata/_edit_lock_ = true - -[node name="select_dev" type="GridContainer" parent="TabContainer/PRD"] -layout_mode = 2 -offset_left = 12.0 -offset_top = 64.0 -offset_right = 12.0 -offset_bottom = 64.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="table_ukp_1" type="GridContainer" parent="TabContainer/PRD"] -layout_mode = 2 -offset_left = 969.0 -offset_top = 27.0 -offset_right = 969.0 -offset_bottom = 27.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="table_ukp_2" type="GridContainer" parent="TabContainer/PRD"] -layout_mode = 2 -offset_left = 969.0 -offset_top = 331.0 -offset_right = 969.0 -offset_bottom = 331.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="PSK" type="Sprite2D" parent="TabContainer/PRD"] -material = ExtResource("3_3syd3") -position = Vector2(1276.25, 29) -scale = Vector2(0.247968, 0.234167) -texture = SubResource("PlaceholderTexture2D_723du") -offset = Vector2(800, 600) -script = SubResource("GDScript_0sobq") - -[node name="PSK grad" type="TextureRect" parent="TabContainer/PRD/PSK"] -modulate = Color(0, 0, 0, 1) -self_modulate = Color(0, 0, 0, 1) -show_behind_parent = true -material = SubResource("ShaderMaterial_o7txs") -offset_left = 554.954 -offset_top = -30.0 -offset_right = 1290.95 -offset_bottom = 1134.0 -texture = ExtResource("5_i3nvb") -expand_mode = 1 -metadata/_edit_lock_ = true - -[node name="ray_1" type="Sprite2D" parent="TabContainer/PRD/PSK"] -material = SubResource("ShaderMaterial_dgiai") -position = Vector2(549.221, 560.705) -scale = Vector2(21.8765, 21.6782) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="PSK2" type="Sprite2D" parent="TabContainer/PRD"] -material = ExtResource("3_3syd3") -position = Vector2(1276, 326) -scale = Vector2(0.247968, 0.234167) -texture = SubResource("PlaceholderTexture2D_723du") -offset = Vector2(800, 600) -script = SubResource("GDScript_0sobq") - -[node name="PSK grad" type="TextureRect" parent="TabContainer/PRD/PSK2"] -modulate = Color(0, 0, 0, 1) -self_modulate = Color(0, 0, 0, 1) -show_behind_parent = true -material = SubResource("ShaderMaterial_o7txs") -offset_left = 554.954 -offset_top = -30.0 -offset_right = 1290.95 -offset_bottom = 1134.0 -texture = ExtResource("5_i3nvb") -expand_mode = 1 -metadata/_edit_lock_ = true - -[node name="ray_2" type="Sprite2D" parent="TabContainer/PRD/PSK2"] -material = SubResource("ShaderMaterial_2pxu2") -position = Vector2(549.221, 560.705) -scale = Vector2(21.8765, 21.6782) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="Grid" type="GridContainer" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 616.0 -offset_top = 34.0 -offset_right = 949.0 -offset_bottom = 612.0 - -[node name="LABEL" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ЛИТЕРА 2! ПРД-Н!" - -[node name="Zapret" type="Button" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn") -toggle_mode = true -text = " Запрет СИ2" -metadata/litera = 48 - -[node name="Modul" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "Модуляция" - -[node name="Label_ray" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "Номер и направление луча" - -[node name="Ray_set" type="OptionButton" parent="TabContainer/PRD/Grid"] -layout_mode = 2 - -[node name="DKM2" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ДКМ ДОУ 2" - -[node name="FGOZ2" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ФГОЗ 2" - -[node name="LABEL2" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ЛИТЕРА 3! ПРД-Н!" - -[node name="Zapret2" type="Button" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn") -toggle_mode = true -text = " Запрет СИ3" -metadata/litera = 49 - -[node name="FGOZ3" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ФГОЗ 3" - -[node name="DKM3" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ДКМ ДОУ 3" - -[node name="Ray_set2" type="OptionButton" parent="TabContainer/PRD/Grid"] -layout_mode = 2 - -[node name="ControlPanel" type="Panel" parent="TabContainer"] -visible = false -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_tn8m6") -metadata/_tab_index = 1 -metadata/_edit_lock_ = true - -[node name="lbl_control" type="Label" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 4.0 -offset_top = 21.0 -offset_right = 624.0 -offset_bottom = 52.0 -theme_override_font_sizes/font_size = 22 -text = "Контроль исправности прибора ПРД-Н" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="sockets" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 536.0 -offset_top = 103.0 -offset_right = 840.0 -offset_bottom = 293.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="ref_A26" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 5.0 -offset_top = 34.0 -offset_right = 55.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "ЯУ-07" -metadata/_edit_lock_ = true - -[node name="ref_A23" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 53.0 -offset_top = 34.0 -offset_right = 103.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "ЭМС-Г" -metadata/_edit_lock_ = true - -[node name="ref_A24" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 104.0 -offset_top = 34.0 -offset_right = 154.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "УГ" -metadata/_edit_lock_ = true - -[node name="ref_A25" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 154.0 -offset_top = 33.0 -offset_right = 204.0 -offset_bottom = 183.0 -textures = Array[Texture]([]) -fname = "УКП-1" -metadata/_edit_lock_ = true - -[node name="ref_A27" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 205.0 -offset_top = 33.0 -offset_right = 255.0 -offset_bottom = 183.0 -textures = Array[Texture]([]) -fname = "УКП-2" -metadata/_edit_lock_ = true - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/sockets"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 291.0 -offset_bottom = 33.0 -text = "Ячейки" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/_edit_lock_ = true - -[node name="kasseta_fs_kd" parent="TabContainer/ControlPanel" instance=ExtResource("10_tdh2s")] -layout_mode = 0 -offset_left = 206.0 -offset_top = 311.0 -offset_right = 516.0 -offset_bottom = 538.0 -script = null - -[node name="kasseta_p_1" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 96.0 -offset_top = 560.0 -offset_right = 516.0 -offset_bottom = 776.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/kasseta_p_1"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 409.0 -offset_bottom = 33.0 -text = "Кассета П-1" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/_edit_lock_ = true - -[node name="ref_A23" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 9.0 -offset_top = 34.0 -offset_right = 59.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -metadata/_edit_lock_ = true - -[node name="ref_A24" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 59.0 -offset_top = 34.0 -offset_right = 109.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -metadata/_edit_lock_ = true - -[node name="ref_A25" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 109.0 -offset_top = 34.0 -offset_right = 159.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -metadata/_edit_lock_ = true - -[node name="ref_A26" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 159.0 -offset_top = 34.0 -offset_right = 209.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -metadata/_edit_lock_ = true - -[node name="ref_A27" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 209.0 -offset_top = 34.0 -offset_right = 259.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -metadata/_edit_lock_ = true - -[node name="ref_A28" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 259.0 -offset_top = 34.0 -offset_right = 309.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -metadata/_edit_lock_ = true - -[node name="ref_A29" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 309.0 -offset_top = 34.0 -offset_right = 359.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -metadata/_edit_lock_ = true - -[node name="ref_A30" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 359.0 -offset_top = 34.0 -offset_right = 409.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -rname = "A30" -metadata/_edit_lock_ = true - -[node name="ref_ZZ3" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 536.0 -offset_top = 562.0 -offset_right = 997.0 -offset_bottom = 776.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="label" type="Label" parent="TabContainer/ControlPanel/ref_ZZ3"] -self_modulate = Color(0.996078, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 8.0 -offset_top = 8.0 -offset_right = 453.0 -offset_bottom = 206.0 -text = "Панель -предохранителей" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="Signal_EMS_G" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 536.0 -offset_top = 311.0 -offset_right = 996.0 -offset_bottom = 538.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/Signal_EMS_G"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 448.0 -offset_bottom = 33.0 -text = "ЭМС-Г" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="ref_A22" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 8.0 -offset_top = 38.0 -offset_right = 58.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "A22" - -[node name="ref_A23" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 57.0 -offset_top = 38.0 -offset_right = 107.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "A23" - -[node name="ref_A26" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 106.0 -offset_top = 38.0 -offset_right = 156.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "A26" - -[node name="ref_A27" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 155.0 -offset_top = 38.0 -offset_right = 205.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "A27" - -[node name="ref_A28" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 204.0 -offset_top = 38.0 -offset_right = 254.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "A28" - -[node name="ref_A29" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 254.0 -offset_top = 38.0 -offset_right = 304.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "A29" - -[node name="ref_A31" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 304.0 -offset_top = 38.0 -offset_right = 354.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "УМ2" - -[node name="ref_A32" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 354.0 -offset_top = 38.0 -offset_right = 404.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "УМ3" - -[node name="ref_A33" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 405.0 -offset_top = 38.0 -offset_right = 455.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "A33" - -[node name="EMS_G" type="Panel" parent="TabContainer"] -visible = false -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_ooo4i") -script = ExtResource("9_g1wia") -metadata/_tab_index = 2 -metadata/_edit_lock_ = true - -[node name="table1" type="GridContainer" parent="TabContainer/EMS_G"] -layout_mode = 2 -offset_left = 27.0 -offset_top = 148.0 -offset_right = 27.0 -offset_bottom = 148.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="load_boadr" type="ColorRect" parent="TabContainer/EMS_G"] -layout_mode = 0 -offset_left = 27.0 -offset_top = 148.0 -offset_right = 1596.0 -offset_bottom = 717.0 -color = Color(0, 0, 0, 0.596078) - -[node name="load" type="Sprite2D" parent="TabContainer/EMS_G/load_boadr"] -material = SubResource("ShaderMaterial_slcfo") -position = Vector2(786, 284.5) -scale = Vector2(24.4688, 8.89063) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="Load_text" type="Label" parent="TabContainer/EMS_G/load_boadr"] -layout_mode = 0 -offset_left = 693.0 -offset_top = 277.0 -offset_right = 849.0 -offset_bottom = 316.0 -theme_override_colors/font_color = Color(1, 1, 1, 1) -theme_override_colors/font_shadow_color = Color(0.427493, 0.427493, 0.427493, 1) -theme_override_font_sizes/font_size = 28 -text = "Загрузка ..." - -[node name="Modul_fs" type="Panel" parent="TabContainer"] -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_ooo4i") -script = ExtResource("15_b4pr1") -metadata/_tab_index = 3 -metadata/_edit_lock_ = true - -[node name="manage_panel" type="GridContainer" parent="TabContainer/Modul_fs"] -layout_mode = 0 -offset_left = 200.0 -offset_top = 186.0 -offset_right = 805.0 -offset_bottom = 460.0 -columns = 5 - -[node name="con" type="Button" parent="TabContainer/Modul_fs/manage_panel"] -layout_mode = 2 -text = "Connect" - -[node name="get_freq" type="Button" parent="TabContainer/Modul_fs/manage_panel"] -layout_mode = 2 -text = "Получить н/ч" - -[node name="freq_ind" type="Label" parent="TabContainer/Modul_fs/manage_panel/get_freq"] -layout_mode = 0 -offset_top = 32.0 -offset_right = 106.0 -offset_bottom = 55.0 - -[node name="get_att" type="Button" parent="TabContainer/Modul_fs/manage_panel"] -layout_mode = 2 -text = "Получить att" - -[node name="att_ind" type="Label" parent="TabContainer/Modul_fs/manage_panel/get_att"] -offset_top = 32.0 -offset_right = 105.0 -offset_bottom = 55.0 - -[node name="get_gen_status" type="Button" parent="TabContainer/Modul_fs/manage_panel"] -layout_mode = 2 -text = "Ген. статус" - -[node name="status_ind" type="Label" parent="TabContainer/Modul_fs/manage_panel/get_gen_status"] -offset_top = 33.0 -offset_right = 84.0 -offset_bottom = 56.0 - -[node name="set_ferq" type="Button" parent="TabContainer/Modul_fs"] -layout_mode = 0 -offset_left = 468.0 -offset_top = 122.0 -offset_right = 575.0 -offset_bottom = 151.0 -text = "Записать н/ч" - -[node name="read" type="LineEdit" parent="TabContainer/Modul_fs"] -layout_mode = 0 -offset_left = 211.0 -offset_top = 315.0 -offset_right = 507.0 -offset_bottom = 346.0 - -[node name="write" type="LineEdit" parent="TabContainer/Modul_fs"] -offset_left = 155.0 -offset_top = 122.0 -offset_right = 451.0 -offset_bottom = 153.0 - -[node name="fs_connect" type="Label" parent="TabContainer/Modul_fs"] -offset_left = 205.0 -offset_top = 282.0 -offset_right = 369.0 -offset_bottom = 305.0 -text = "Связь с модулем ФС" - -[connection signal="pressed" from="Background/side_panel/select_prd" to="." method="_on_prd_select"] -[connection signal="pressed" from="Background/side_panel/select_control" to="." method="_on_control_button"] -[connection signal="pressed" from="Background/side_panel/select_ems_g" to="." method="_on_emsg_select"] -[connection signal="pressed" from="Background/side_panel/select_fs" to="." method="_on_mfs_select"] -[connection signal="pressed" from="read_isa" to="." method="_on_read_isa_pressed"] diff --git a/PRD39E6.tmp b/PRD39E6.tmp deleted file mode 100644 index ddd5f23..0000000 --- a/PRD39E6.tmp +++ /dev/null @@ -1,837 +0,0 @@ -[gd_scene load_steps=47 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"] -[ext_resource type="Script" path="res://table/table.gd" id="2_vmbyo"] -[ext_resource type="Material" uid="uid://s6xe8igevnv2" path="res://Shaders/shader_edu.tres" id="3_3syd3"] -[ext_resource type="Texture2D" uid="uid://cfktmk2rowmul" path="res://table/off.png" id="3_qvuyu"] -[ext_resource type="Shader" path="res://Shaders/ray.gdshader" id="4_uy5o2"] -[ext_resource type="Texture2D" uid="uid://62v0xejejuwj" path="res://Web.png" id="5_i3nvb"] -[ext_resource type="Texture2D" uid="uid://cgtg4gbqnuxrc" path="res://nine-patch-round.png" id="9_0r2qk"] -[ext_resource type="Script" path="res://ems_g.gd" id="9_g1wia"] -[ext_resource type="Shader" path="res://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://bnlkbbn7b4a3k" path="res://table/элемент-эмс.tscn" id="11_d60jk"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://table/элемент-в.tscn" id="11_fg7ul"] - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_eib3t"] -bg_color = Color(0.223529, 0.168627, 0.223529, 1) -border_width_bottom = 6 -border_color = Color(0.228592, 0.173062, 0.22863, 1) -border_blend = true - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o0too"] -bg_color = Color(0.223529, 0.168627, 0.223529, 1) -border_width_bottom = 6 -border_color = Color(0.339047, 0.26316, 0.339004, 1) -border_blend = true - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gooip"] -bg_color = Color(0.223529, 0.168627, 0.223529, 0.490196) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lqhgx"] -bg_color = Color(0, 0, 0, 0.490196) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_148rs"] -bg_color = Color(0, 0, 0, 0.490196) -border_width_bottom = 4 -border_color = Color(0.223529, 0.168627, 0.223529, 1) -border_blend = true -corner_radius_top_left = 2 -corner_radius_top_right = 2 -corner_radius_bottom_right = 2 -corner_radius_bottom_left = 2 - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ldbvf"] -bg_color = Color(0.223529, 0.168627, 0.223529, 0.490196) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_h8aei"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_d322q"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_8j02b"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ls6vm"] - -[sub_resource type="Theme" id="Theme_k5ur4"] -Button/styles/focus = SubResource("StyleBoxFlat_eib3t") -Button/styles/hover = SubResource("StyleBoxFlat_o0too") -Button/styles/normal = SubResource("StyleBoxFlat_o0too") -Button/styles/pressed = SubResource("StyleBoxFlat_eib3t") -CheckButton/icons/checked = ExtResource("2_dv7xx") -CheckButton/icons/unchecked = ExtResource("3_qvuyu") -OptionButton/font_sizes/font_size = 17 -OptionButton/styles/focus = SubResource("StyleBoxFlat_gooip") -OptionButton/styles/hover = SubResource("StyleBoxFlat_lqhgx") -OptionButton/styles/normal = SubResource("StyleBoxFlat_148rs") -OptionButton/styles/pressed = SubResource("StyleBoxFlat_ldbvf") -TabContainer/styles/panel = SubResource("StyleBoxTexture_h8aei") -TabContainer/styles/tab_focus = SubResource("StyleBoxTexture_d322q") -TabContainer/styles/tab_selected = SubResource("StyleBoxTexture_8j02b") -TabContainer/styles/tabbar_background = SubResource("StyleBoxTexture_ls6vm") - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pxarn"] -bg_color = Color(0.356863, 0.278431, 0.356863, 1) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_p247y"] -bg_color = Color(0.356863, 0.278431, 0.356863, 1) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_rh6pm"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_x11tp"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mn8w2"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_21lc8"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_k08q3"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_dklg6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_17le6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_7u7p7"] - -[sub_resource type="Gradient" id="Gradient_jlp41"] -colors = PackedColorArray(0, 0.647059, 0, 1, 0, 0.266667, 0, 1) - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_u3yy8"] -gradient = SubResource("Gradient_jlp41") -fill = 1 -fill_from = Vector2(0.5, 0.5) -fill_to = Vector2(1.145, 0) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_otisn"] -texture = SubResource("GradientTexture2D_u3yy8") - -[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_723du"] -size = Vector2(1600, 1200) - -[sub_resource type="GDScript" id="GDScript_0sobq"] -script/source = "extends Sprite2D - -" - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_o7txs"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_dgiai"] -shader = ExtResource("4_uy5o2") -shader_parameter/color_signal = Color(0.690196, 0.776471, 0, 1) -shader_parameter/turn = 0.785 - -[sub_resource type="Gradient" id="Gradient_ki0n7"] - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_0pk2o"] -gradient = SubResource("Gradient_ki0n7") -fill_from = Vector2(0.474359, 0.5) -metadata/_snap_enabled = true - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_tn8m6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ooo4i"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_slcfo"] -shader = ExtResource("10_lf1xh") -shader_parameter/frequency = 5.0 -shader_parameter/amplitude = 600.0 -shader_parameter/speed = 5.0 -shader_parameter/direction = -1.0 -shader_parameter/color1 = Color(0, 0, 0, 1) -shader_parameter/color2 = Color(0.235, 0.18, 0.235, 1) -shader_parameter/color3 = Color(0.235, 0.18, 0.235, 0.5) -shader_parameter/color4 = Color(0, 0, 0, 0) -shader_parameter/opacity = 0.218 -shader_parameter/turn = 0.785 - -[node name="Node2D" type="Node2D"] -script = ExtResource("1_v273n") - -[node name="Background" type="ColorRect" parent="."] -offset_right = 1941.0 -offset_bottom = 988.0 -theme = SubResource("Theme_k5ur4") -color = Color(0.356863, 0.278431, 0.356863, 1) -metadata/_edit_lock_ = true - -[node name="side_panel" type="ColorRect" parent="Background"] -layout_mode = 0 -offset_right = 216.0 -offset_bottom = 988.0 -color = Color(0.586231, 0.481877, 0.585869, 1) - -[node name="select_prd" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 120.0 -offset_right = 216.0 -offset_bottom = 156.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_pxarn") -toggle_mode = true -button_pressed = true -text = "ПРД" - -[node name="select_control" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 160.0 -offset_right = 216.0 -offset_bottom = 196.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y") -toggle_mode = true -text = "КОНТРОЛЬ" - -[node name="select_ems_g" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 200.0 -offset_right = 216.0 -offset_bottom = 236.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y") -toggle_mode = true -text = "ЭМС Г" - -[node name="Litera_3_5_7" type="ColorRect" parent="Background"] -visible = false -layout_mode = 0 -offset_top = 48.0 -offset_right = 1941.0 -offset_bottom = 352.0 -color = Color(0.669446, 0.567301, 0.66881, 1) - -[node name="Litera_1" type="ColorRect" parent="Background"] -visible = false -layout_mode = 0 -offset_top = 359.0 -offset_right = 2182.0 -offset_bottom = 638.0 -color = Color(0.669446, 0.567301, 0.66881, 1) - -[node name="ISA" type="Label" parent="."] -offset_left = 225.0 -offset_top = 11.0 -offset_right = 1853.0 -offset_bottom = 48.0 -autowrap_mode = 3 - -[node name="read_isa" type="Button" parent="."] -offset_left = 85.0 -offset_top = 7.0 -offset_right = 210.0 -offset_bottom = 38.0 -text = "Прочитать ISA" - -[node name="TabContainer" type="TabContainer" parent="."] -offset_left = 216.0 -offset_top = 39.0 -offset_right = 2420.0 -offset_bottom = 917.0 -theme = SubResource("Theme_k5ur4") -theme_override_colors/font_unselected_color = Color(0, 0, 0, 0.0392157) -theme_override_colors/font_selected_color = Color(0, 0, 0, 0) -theme_override_styles/tab_focus = SubResource("StyleBoxTexture_rh6pm") -theme_override_styles/tab_disabled = SubResource("StyleBoxTexture_x11tp") -theme_override_styles/tabbar_background = SubResource("StyleBoxTexture_mn8w2") -theme_override_styles/panel = SubResource("StyleBoxTexture_21lc8") -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 -tab_focus_mode = 0 - -[node name="PRD" type="Panel" parent="TabContainer"] -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_7u7p7") -metadata/_tab_index = 0 -metadata/_edit_lock_ = true - -[node name="scroll1" type="ScrollContainer" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 969.0 -offset_top = 27.0 -offset_right = 1332.0 -offset_bottom = 308.0 - -[node name="table1" type="GridContainer" parent="TabContainer/PRD/scroll1"] -layout_mode = 2 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="scroll2" type="ScrollContainer" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 969.0 -offset_top = 331.0 -offset_right = 1332.0 -offset_bottom = 619.0 - -[node name="table2" type="GridContainer" parent="TabContainer/PRD/scroll2"] -layout_mode = 2 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="LABEL" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 17.0 -offset_right = 764.0 -offset_bottom = 40.0 -text = "ЛИТЕРА 2! ПРД-Н!" - -[node name="Zapret" type="Button" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 45.0 -offset_right = 600.0 -offset_bottom = 79.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn") -toggle_mode = true -text = " Запрет СИ2" -metadata/litera = 48 - -[node name="LABEL2" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 329.0 -offset_right = 764.0 -offset_bottom = 352.0 -text = "ЛИТЕРА 3! ПРД-Н!" - -[node name="Zapret2" type="Button" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 357.0 -offset_right = 600.0 -offset_bottom = 391.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn") -toggle_mode = true -text = " Запрет СИ3" -metadata/litera = 49 - -[node name="Label_luch" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 100.0 -offset_right = 764.0 -offset_bottom = 123.0 -text = "Номер и направление луча" - -[node name="LUCH" type="OptionButton" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 132.0 -offset_right = 600.0 -offset_bottom = 163.0 -item_count = 2 -popup/item_0/text = "Что-то" -popup/item_1/text = "Что-то" -popup/item_1/id = 1 - -[node name="Modul" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 402.0 -offset_right = 626.0 -offset_bottom = 425.0 -text = "Модуляция" - -[node name="DKM2" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 183.0 -offset_right = 624.0 -offset_bottom = 206.0 -text = "ДКМ ДОУ 2" - -[node name="DKM3" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 431.0 -offset_right = 624.0 -offset_bottom = 454.0 -text = "ДКМ ДОУ 3" - -[node name="FGOZ2" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 206.0 -offset_right = 655.0 -offset_bottom = 229.0 -text = "ФГОЗ 2" - -[node name="FGOZ3" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 454.0 -offset_right = 655.0 -offset_bottom = 477.0 -text = "ФГОЗ 3" - -[node name="PSK" type="Sprite2D" parent="TabContainer/PRD"] -material = ExtResource("3_3syd3") -position = Vector2(1276.25, 29) -scale = Vector2(0.247968, 0.234167) -texture = SubResource("PlaceholderTexture2D_723du") -offset = Vector2(800, 600) -script = SubResource("GDScript_0sobq") - -[node name="PSK grad" type="TextureRect" parent="TabContainer/PRD/PSK"] -modulate = Color(0, 0, 0, 1) -self_modulate = Color(0, 0, 0, 1) -show_behind_parent = true -material = SubResource("ShaderMaterial_o7txs") -offset_left = 554.954 -offset_top = -30.0 -offset_right = 1290.95 -offset_bottom = 1134.0 -texture = ExtResource("5_i3nvb") -expand_mode = 1 -metadata/_edit_lock_ = true - -[node name="ray" type="Sprite2D" parent="TabContainer/PRD/PSK"] -material = SubResource("ShaderMaterial_dgiai") -position = Vector2(549.221, 560.705) -scale = Vector2(21.8765, 21.6782) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="PSK2" type="Sprite2D" parent="TabContainer/PRD"] -material = ExtResource("3_3syd3") -position = Vector2(1276, 326) -scale = Vector2(0.247968, 0.234167) -texture = SubResource("PlaceholderTexture2D_723du") -offset = Vector2(800, 600) -script = SubResource("GDScript_0sobq") - -[node name="PSK grad" type="TextureRect" parent="TabContainer/PRD/PSK2"] -modulate = Color(0, 0, 0, 1) -self_modulate = Color(0, 0, 0, 1) -show_behind_parent = true -material = SubResource("ShaderMaterial_o7txs") -offset_left = 554.954 -offset_top = -30.0 -offset_right = 1290.95 -offset_bottom = 1134.0 -texture = ExtResource("5_i3nvb") -expand_mode = 1 -metadata/_edit_lock_ = true - -[node name="ray" type="Sprite2D" parent="TabContainer/PRD/PSK2"] -material = SubResource("ShaderMaterial_dgiai") -position = Vector2(549.221, 560.705) -scale = Vector2(21.8765, 21.6782) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="select_dev" type="ScrollContainer" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 12.0 -offset_top = 64.0 -offset_right = 375.0 -offset_bottom = 96.0 - -[node name="select_dev" type="GridContainer" parent="TabContainer/PRD/select_dev"] -layout_mode = 2 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="liter_Ug" type="Button" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 256.0 -offset_top = 579.0 -offset_right = 630.0 -offset_bottom = 749.0 -text = "УГ" - -[node name="Label" type="Label" parent="TabContainer/PRD/liter_Ug"] -layout_mode = 0 -offset_left = 5.0 -offset_top = 103.0 -offset_right = 261.0 -offset_bottom = 166.0 - -[node name="ControlPanel" type="Panel" parent="TabContainer"] -visible = false -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_tn8m6") -metadata/_tab_index = 1 -metadata/_edit_lock_ = true - -[node name="lbl_control" type="Label" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 4.0 -offset_top = 21.0 -offset_right = 624.0 -offset_bottom = 52.0 -theme_override_font_sizes/font_size = 22 -text = "Контроль исправности прибора ПРД-Н" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="sockets" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 536.0 -offset_top = 103.0 -offset_right = 840.0 -offset_bottom = 293.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="ref_A26" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 5.0 -offset_top = 34.0 -offset_right = 55.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "ЯУ-07" -metadata/_edit_lock_ = true - -[node name="ref_A23" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 53.0 -offset_top = 34.0 -offset_right = 103.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "ЭМС-Г" -metadata/_edit_lock_ = true - -[node name="ref_A24" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 104.0 -offset_top = 34.0 -offset_right = 154.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "УГ" -metadata/_edit_lock_ = true - -[node name="ref_A25" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 154.0 -offset_top = 33.0 -offset_right = 204.0 -offset_bottom = 183.0 -textures = Array[Texture]([]) -fname = "УКП-1" -metadata/_edit_lock_ = true - -[node name="ref_A27" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 205.0 -offset_top = 33.0 -offset_right = 255.0 -offset_bottom = 183.0 -textures = Array[Texture]([]) -fname = "УКП-2" -metadata/_edit_lock_ = true - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/sockets"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 291.0 -offset_bottom = 33.0 -text = "Ячейки" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/_edit_lock_ = true - -[node name="kasseta_fs_kd" parent="TabContainer/ControlPanel" instance=ExtResource("10_tdh2s")] -layout_mode = 0 -offset_left = 206.0 -offset_top = 311.0 -offset_right = 516.0 -offset_bottom = 538.0 -script = null - -[node name="kasseta_p_1" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 96.0 -offset_top = 560.0 -offset_right = 516.0 -offset_bottom = 776.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/kasseta_p_1"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 409.0 -offset_bottom = 33.0 -text = "Кассета П-1" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/_edit_lock_ = true - -[node name="ref_A23" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 9.0 -offset_top = 34.0 -offset_right = 59.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП МАА 1" -metadata/_edit_lock_ = true - -[node name="ref_A24" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 59.0 -offset_top = 34.0 -offset_right = 109.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП МАА 2" -metadata/_edit_lock_ = true - -[node name="ref_A25" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 109.0 -offset_top = 34.0 -offset_right = 159.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП9-50 1" -metadata/_edit_lock_ = true - -[node name="ref_A26" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 159.0 -offset_top = 34.0 -offset_right = 209.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП9-50 2" -metadata/_edit_lock_ = true - -[node name="ref_A27" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 209.0 -offset_top = 34.0 -offset_right = 259.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП12-50 1" -metadata/_edit_lock_ = true - -[node name="ref_A28" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 259.0 -offset_top = 34.0 -offset_right = 309.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП9-50 3" -metadata/_edit_lock_ = true - -[node name="ref_A29" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 309.0 -offset_top = 34.0 -offset_right = 359.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП12-50 2" -metadata/_edit_lock_ = true - -[node name="ref_A30" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 359.0 -offset_top = 34.0 -offset_right = 409.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП5-25" -rname = "A30" -metadata/_edit_lock_ = true - -[node name="ref_ZZ3" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 536.0 -offset_top = 562.0 -offset_right = 997.0 -offset_bottom = 776.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="label" type="Label" parent="TabContainer/ControlPanel/ref_ZZ3"] -self_modulate = Color(0.996078, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 8.0 -offset_top = 8.0 -offset_right = 453.0 -offset_bottom = 206.0 -text = "Панель -предохранителей" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="Signal_EMS_G" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 536.0 -offset_top = 311.0 -offset_right = 996.0 -offset_bottom = 538.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/Signal_EMS_G"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 448.0 -offset_bottom = 33.0 -text = "ЭМС-Г" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="ref_A22" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 8.0 -offset_top = 38.0 -offset_right = 58.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СЗИ2 от УФ" -rname = "A22" - -[node name="ref_A23" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 57.0 -offset_top = 38.0 -offset_right = 107.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СЗИ3 от УФ" -rname = "A23" - -[node name="ref_A26" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 106.0 -offset_top = 38.0 -offset_right = 156.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СИ2 от ФС" -rname = "A26" - -[node name="ref_A27" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 155.0 -offset_top = 38.0 -offset_right = 205.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СИ3 от ФС" -rname = "A27" - -[node name="ref_A28" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 204.0 -offset_top = 38.0 -offset_right = 254.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СИ2 в УФ" -rname = "A28" - -[node name="ref_A29" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 254.0 -offset_top = 38.0 -offset_right = 304.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СИ3 в УФ" -rname = "A29" - -[node name="ref_A31" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 304.0 -offset_top = 38.0 -offset_right = 354.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "Модуляция" -rname = "УМ2" - -[node name="ref_A32" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 354.0 -offset_top = 38.0 -offset_right = 404.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "Модуляция" -rname = "УМ3" - -[node name="ref_A33" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 405.0 -offset_top = 38.0 -offset_right = 455.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "ФГОЗ" -rname = "A33" - -[node name="EMS_G" type="Panel" parent="TabContainer"] -visible = false -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_ooo4i") -script = ExtResource("9_g1wia") -metadata/_tab_index = 2 -metadata/_edit_lock_ = true - -[node name="table1" type="GridContainer" parent="TabContainer/EMS_G"] -layout_mode = 2 -offset_left = 27.0 -offset_top = 148.0 -offset_right = 27.0 -offset_bottom = 148.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="load_boadr" type="ColorRect" parent="TabContainer/EMS_G"] -layout_mode = 0 -offset_left = 27.0 -offset_top = 148.0 -offset_right = 1596.0 -offset_bottom = 717.0 -color = Color(0, 0, 0, 0.596078) - -[node name="load" type="Sprite2D" parent="TabContainer/EMS_G/load_boadr"] -material = SubResource("ShaderMaterial_slcfo") -position = Vector2(786, 284.5) -scale = Vector2(24.4688, 8.89063) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="Load_text" type="Label" parent="TabContainer/EMS_G/load_boadr"] -layout_mode = 0 -offset_left = 693.0 -offset_top = 277.0 -offset_right = 849.0 -offset_bottom = 316.0 -theme_override_colors/font_color = Color(1, 1, 1, 1) -theme_override_colors/font_shadow_color = Color(0.427493, 0.427493, 0.427493, 1) -theme_override_font_sizes/font_size = 28 -text = "Загрузка ..." - -[connection signal="pressed" from="Background/side_panel/select_prd" to="." method="_on_prd_select"] -[connection signal="pressed" from="Background/side_panel/select_control" to="." method="_on_control_button"] -[connection signal="pressed" from="Background/side_panel/select_ems_g" to="." method="_on_emsg_select"] -[connection signal="pressed" from="read_isa" to="." method="_on_read_isa_pressed"] -[connection signal="pressed" from="TabContainer/PRD/liter_Ug" to="." method="_on_button_posic_liter"] diff --git a/PRD3E56.tmp b/PRD3E56.tmp deleted file mode 100644 index 9abe6c2..0000000 --- a/PRD3E56.tmp +++ /dev/null @@ -1,786 +0,0 @@ -[gd_scene load_steps=47 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"] -[ext_resource type="Script" path="res://table/table.gd" id="2_vmbyo"] -[ext_resource type="Material" uid="uid://s6xe8igevnv2" path="res://Shaders/shader_edu.tres" id="3_3syd3"] -[ext_resource type="Texture2D" uid="uid://cfktmk2rowmul" path="res://table/off.png" id="3_qvuyu"] -[ext_resource type="Shader" path="res://Shaders/ray.gdshader" id="4_uy5o2"] -[ext_resource type="Texture2D" uid="uid://62v0xejejuwj" path="res://Web.png" id="5_i3nvb"] -[ext_resource type="Texture2D" uid="uid://cgtg4gbqnuxrc" path="res://nine-patch-round.png" id="9_0r2qk"] -[ext_resource type="Script" path="res://ems_g.gd" id="9_g1wia"] -[ext_resource type="Shader" path="res://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://bnlkbbn7b4a3k" path="res://table/элемент-эмс.tscn" id="11_d60jk"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://table/элемент-в.tscn" id="11_fg7ul"] - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_eib3t"] -bg_color = Color(0.356863, 0.278431, 0.356863, 1) -border_width_bottom = 6 -border_color = Color(0.228592, 0.173062, 0.22863, 1) -border_blend = true - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o0too"] -bg_color = Color(0.223529, 0.168627, 0.223529, 1) -border_width_bottom = 6 -border_color = Color(0.339047, 0.26316, 0.339004, 1) -border_blend = true - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gooip"] -bg_color = Color(0.223529, 0.168627, 0.223529, 0.490196) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lqhgx"] -bg_color = Color(0, 0, 0, 0.490196) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_148rs"] -bg_color = Color(0, 0, 0, 0.490196) -border_width_bottom = 4 -border_color = Color(0.223529, 0.168627, 0.223529, 1) -border_blend = true -corner_radius_top_left = 2 -corner_radius_top_right = 2 -corner_radius_bottom_right = 2 -corner_radius_bottom_left = 2 - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ldbvf"] -bg_color = Color(0.223529, 0.168627, 0.223529, 0.490196) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_h8aei"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_d322q"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_8j02b"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ls6vm"] - -[sub_resource type="Theme" id="Theme_k5ur4"] -Button/styles/focus = SubResource("StyleBoxFlat_eib3t") -Button/styles/hover = SubResource("StyleBoxFlat_o0too") -Button/styles/normal = SubResource("StyleBoxFlat_o0too") -Button/styles/pressed = SubResource("StyleBoxFlat_eib3t") -CheckButton/icons/checked = ExtResource("2_dv7xx") -CheckButton/icons/unchecked = ExtResource("3_qvuyu") -OptionButton/font_sizes/font_size = 17 -OptionButton/styles/focus = SubResource("StyleBoxFlat_gooip") -OptionButton/styles/hover = SubResource("StyleBoxFlat_lqhgx") -OptionButton/styles/normal = SubResource("StyleBoxFlat_148rs") -OptionButton/styles/pressed = SubResource("StyleBoxFlat_ldbvf") -TabContainer/styles/panel = SubResource("StyleBoxTexture_h8aei") -TabContainer/styles/tab_focus = SubResource("StyleBoxTexture_d322q") -TabContainer/styles/tab_selected = SubResource("StyleBoxTexture_8j02b") -TabContainer/styles/tabbar_background = SubResource("StyleBoxTexture_ls6vm") - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pxarn"] -bg_color = Color(0.356863, 0.278431, 0.356863, 1) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_p247y"] -bg_color = Color(0.356863, 0.278431, 0.356863, 1) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_rh6pm"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_x11tp"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mn8w2"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_21lc8"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_k08q3"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_dklg6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_17le6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_7u7p7"] - -[sub_resource type="Gradient" id="Gradient_jlp41"] -colors = PackedColorArray(0, 0.647059, 0, 1, 0, 0.266667, 0, 1) - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_u3yy8"] -gradient = SubResource("Gradient_jlp41") -fill = 1 -fill_from = Vector2(0.5, 0.5) -fill_to = Vector2(1.145, 0) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_otisn"] -texture = SubResource("GradientTexture2D_u3yy8") - -[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_723du"] -size = Vector2(1600, 1200) - -[sub_resource type="GDScript" id="GDScript_0sobq"] -script/source = "extends Sprite2D - -" - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_o7txs"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_dgiai"] -shader = ExtResource("4_uy5o2") -shader_parameter/color_signal = Color(0.690196, 0.776471, 0, 1) -shader_parameter/turn = 0.785 - -[sub_resource type="Gradient" id="Gradient_ki0n7"] - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_0pk2o"] -gradient = SubResource("Gradient_ki0n7") -fill_from = Vector2(0.474359, 0.5) -metadata/_snap_enabled = true - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_tn8m6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ooo4i"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_slcfo"] -shader = ExtResource("10_lf1xh") -shader_parameter/frequency = 5.0 -shader_parameter/amplitude = 600.0 -shader_parameter/speed = 5.0 -shader_parameter/direction = -1.0 -shader_parameter/color1 = Color(0, 0, 0, 1) -shader_parameter/color2 = Color(0.235, 0.18, 0.235, 1) -shader_parameter/color3 = Color(0.235, 0.18, 0.235, 0.5) -shader_parameter/color4 = Color(0, 0, 0, 0) -shader_parameter/opacity = 0.218 -shader_parameter/turn = 0.785 - -[node name="Node2D" type="Node2D"] -script = ExtResource("1_v273n") - -[node name="Background" type="ColorRect" parent="."] -offset_right = 1941.0 -offset_bottom = 988.0 -theme = SubResource("Theme_k5ur4") -color = Color(0.356863, 0.278431, 0.356863, 1) -metadata/_edit_lock_ = true - -[node name="side_panel" type="ColorRect" parent="Background"] -layout_mode = 0 -offset_right = 216.0 -offset_bottom = 988.0 -color = Color(0.586231, 0.481877, 0.585869, 1) - -[node name="select_prd" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 120.0 -offset_right = 216.0 -offset_bottom = 156.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_pxarn") -toggle_mode = true -button_pressed = true -text = "ПРД" - -[node name="select_control" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 160.0 -offset_right = 216.0 -offset_bottom = 196.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y") -toggle_mode = true -text = "КОНТРОЛЬ" - -[node name="select_ems_g" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 200.0 -offset_right = 216.0 -offset_bottom = 236.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y") -toggle_mode = true -text = "ЭМС Г" - -[node name="Litera_3_5_7" type="ColorRect" parent="Background"] -visible = false -layout_mode = 0 -offset_top = 48.0 -offset_right = 1941.0 -offset_bottom = 352.0 -color = Color(0.669446, 0.567301, 0.66881, 1) - -[node name="Litera_1" type="ColorRect" parent="Background"] -visible = false -layout_mode = 0 -offset_top = 359.0 -offset_right = 2182.0 -offset_bottom = 638.0 -color = Color(0.669446, 0.567301, 0.66881, 1) - -[node name="ISA" type="Label" parent="."] -offset_left = 225.0 -offset_top = 11.0 -offset_right = 1853.0 -offset_bottom = 48.0 -autowrap_mode = 3 - -[node name="read_isa" type="Button" parent="."] -offset_left = 85.0 -offset_top = 7.0 -offset_right = 210.0 -offset_bottom = 38.0 -text = "Прочитать ISA" - -[node name="TabContainer" type="TabContainer" parent="."] -offset_left = 216.0 -offset_top = 39.0 -offset_right = 2420.0 -offset_bottom = 917.0 -theme = SubResource("Theme_k5ur4") -theme_override_colors/font_unselected_color = Color(0, 0, 0, 0.0392157) -theme_override_colors/font_selected_color = Color(0, 0, 0, 0) -theme_override_styles/tab_focus = SubResource("StyleBoxTexture_rh6pm") -theme_override_styles/tab_disabled = SubResource("StyleBoxTexture_x11tp") -theme_override_styles/tabbar_background = SubResource("StyleBoxTexture_mn8w2") -theme_override_styles/panel = SubResource("StyleBoxTexture_21lc8") -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 -tab_focus_mode = 0 - -[node name="PRD" type="Panel" parent="TabContainer"] -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_7u7p7") -metadata/_tab_index = 0 -metadata/_edit_lock_ = true - -[node name="scroll1" type="ScrollContainer" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 969.0 -offset_top = 27.0 -offset_right = 1332.0 -offset_bottom = 308.0 - -[node name="table1" type="GridContainer" parent="TabContainer/PRD/scroll1"] -layout_mode = 2 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="scroll2" type="ScrollContainer" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 969.0 -offset_top = 331.0 -offset_right = 1332.0 -offset_bottom = 619.0 - -[node name="table2" type="GridContainer" parent="TabContainer/PRD/scroll2"] -layout_mode = 2 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="LABEL" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 17.0 -offset_right = 764.0 -offset_bottom = 40.0 -text = "ЛИТЕРА 2! ПРД-Н!" - -[node name="Zapret" type="Button" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 45.0 -offset_right = 600.0 -offset_bottom = 79.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn") -toggle_mode = true -text = " Запрет СИ2" -metadata/litera = 48 - -[node name="LABEL2" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 329.0 -offset_right = 764.0 -offset_bottom = 352.0 -text = "ЛИТЕРА 3! ПРД-Н!" - -[node name="Zapret2" type="Button" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 357.0 -offset_right = 600.0 -offset_bottom = 391.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn") -toggle_mode = true -text = " Запрет СИ3" -metadata/litera = 49 - -[node name="Label_luch" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 100.0 -offset_right = 764.0 -offset_bottom = 123.0 -text = "Номер и направление луча" - -[node name="LUCH" type="OptionButton" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 132.0 -offset_right = 600.0 -offset_bottom = 163.0 -item_count = 2 -popup/item_0/text = "Что-то" -popup/item_1/text = "Что-то" -popup/item_1/id = 1 - -[node name="Modul" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 402.0 -offset_right = 626.0 -offset_bottom = 425.0 -text = "Модуляция" - -[node name="DKM2" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 183.0 -offset_right = 624.0 -offset_bottom = 206.0 -text = "ДКМ ДОУ 2" - -[node name="DKM3" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 431.0 -offset_right = 624.0 -offset_bottom = 454.0 -text = "ДКМ ДОУ 3" - -[node name="FGOZ2" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 206.0 -offset_right = 655.0 -offset_bottom = 229.0 -text = "ФГОЗ 2" - -[node name="FGOZ3" type="Label" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 482.0 -offset_top = 454.0 -offset_right = 655.0 -offset_bottom = 477.0 -text = "ФГОЗ 3" - -[node name="PSK" type="Sprite2D" parent="TabContainer/PRD"] -material = ExtResource("3_3syd3") -position = Vector2(1276.25, 29) -scale = Vector2(0.247968, 0.234167) -texture = SubResource("PlaceholderTexture2D_723du") -offset = Vector2(800, 600) -script = SubResource("GDScript_0sobq") - -[node name="PSK grad" type="TextureRect" parent="TabContainer/PRD/PSK"] -modulate = Color(0, 0, 0, 1) -self_modulate = Color(0, 0, 0, 1) -show_behind_parent = true -material = SubResource("ShaderMaterial_o7txs") -offset_left = 554.954 -offset_top = -30.0 -offset_right = 1290.95 -offset_bottom = 1134.0 -texture = ExtResource("5_i3nvb") -expand_mode = 1 -metadata/_edit_lock_ = true - -[node name="ray" type="Sprite2D" parent="TabContainer/PRD/PSK"] -material = SubResource("ShaderMaterial_dgiai") -position = Vector2(549.221, 560.705) -scale = Vector2(21.8765, 21.6782) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="PSK2" type="Sprite2D" parent="TabContainer/PRD"] -material = ExtResource("3_3syd3") -position = Vector2(1276, 326) -scale = Vector2(0.247968, 0.234167) -texture = SubResource("PlaceholderTexture2D_723du") -offset = Vector2(800, 600) -script = SubResource("GDScript_0sobq") - -[node name="PSK grad" type="TextureRect" parent="TabContainer/PRD/PSK2"] -modulate = Color(0, 0, 0, 1) -self_modulate = Color(0, 0, 0, 1) -show_behind_parent = true -material = SubResource("ShaderMaterial_o7txs") -offset_left = 554.954 -offset_top = -30.0 -offset_right = 1290.95 -offset_bottom = 1134.0 -texture = ExtResource("5_i3nvb") -expand_mode = 1 -metadata/_edit_lock_ = true - -[node name="ray" type="Sprite2D" parent="TabContainer/PRD/PSK2"] -material = SubResource("ShaderMaterial_dgiai") -position = Vector2(549.221, 560.705) -scale = Vector2(21.8765, 21.6782) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="select_dev" type="ScrollContainer" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 12.0 -offset_top = 64.0 -offset_right = 375.0 -offset_bottom = 96.0 - -[node name="select_dev" type="GridContainer" parent="TabContainer/PRD/select_dev"] -layout_mode = 2 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="ControlPanel" type="Panel" parent="TabContainer"] -visible = false -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_tn8m6") -metadata/_tab_index = 1 -metadata/_edit_lock_ = true - -[node name="lbl_control" type="Label" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 412.0 -offset_top = -43.0 -offset_right = 1032.0 -offset_bottom = -12.0 -theme_override_font_sizes/font_size = 22 -text = "Контроль исправности прибора ПРД-Н" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="sockets" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 567.0 -offset_top = -2.0 -offset_right = 876.0 -offset_bottom = 188.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="ref_A26" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 5.0 -offset_top = 34.0 -offset_right = 55.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "ЯУ-07" -metadata/_edit_lock_ = true - -[node name="ref_A23" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 53.0 -offset_top = 34.0 -offset_right = 103.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "ЭМС-Г" -metadata/_edit_lock_ = true - -[node name="ref_A24" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 104.0 -offset_top = 34.0 -offset_right = 154.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "УГ" -metadata/_edit_lock_ = true - -[node name="ref_A25" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 154.0 -offset_top = 33.0 -offset_right = 204.0 -offset_bottom = 183.0 -textures = Array[Texture]([]) -fname = "УКП-1" -metadata/_edit_lock_ = true - -[node name="ref_A27" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 205.0 -offset_top = 33.0 -offset_right = 255.0 -offset_bottom = 183.0 -textures = Array[Texture]([]) -fname = "УКП-2" -metadata/_edit_lock_ = true - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/sockets"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 291.0 -offset_bottom = 33.0 -text = "Ячейки" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/_edit_lock_ = true - -[node name="kasseta_fs_kd" parent="TabContainer/ControlPanel" instance=ExtResource("10_tdh2s")] -layout_mode = 0 -offset_left = 567.0 -offset_top = 207.0 -offset_right = 877.0 -offset_bottom = 434.0 -script = null - -[node name="kasseta_p_1" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 567.0 -offset_top = 456.0 -offset_right = 987.0 -offset_bottom = 672.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/kasseta_p_1"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 409.0 -offset_bottom = 33.0 -text = "Кассета П-1" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/_edit_lock_ = true - -[node name="ref_A23" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 9.0 -offset_top = 34.0 -offset_right = 59.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП МАА 1" -metadata/_edit_lock_ = true - -[node name="ref_A24" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 59.0 -offset_top = 34.0 -offset_right = 109.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП МАА 2" -metadata/_edit_lock_ = true - -[node name="ref_A25" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 109.0 -offset_top = 34.0 -offset_right = 159.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП9-50 1" -metadata/_edit_lock_ = true - -[node name="ref_A26" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 159.0 -offset_top = 34.0 -offset_right = 209.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП9-50 2" -metadata/_edit_lock_ = true - -[node name="ref_A27" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 209.0 -offset_top = 34.0 -offset_right = 259.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП12-50 1" -metadata/_edit_lock_ = true - -[node name="ref_A28" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 259.0 -offset_top = 34.0 -offset_right = 309.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП9-50 3" -metadata/_edit_lock_ = true - -[node name="ref_A29" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 309.0 -offset_top = 34.0 -offset_right = 359.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП12-50 2" -metadata/_edit_lock_ = true - -[node name="ref_A30" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 359.0 -offset_top = 34.0 -offset_right = 409.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП5-25" -rname = "A30" -metadata/_edit_lock_ = true - -[node name="ref_ZZ3" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 237.0 -offset_top = 538.0 -offset_right = 547.0 -offset_bottom = 675.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="label" type="Label" parent="TabContainer/ControlPanel/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="Signal_EMS_G" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 239.0 -offset_top = 207.0 -offset_right = 548.0 -offset_bottom = 434.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/Signal_EMS_G"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 291.0 -offset_bottom = 33.0 -text = "Сигналы от ЭМС-Г" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/_edit_lock_ = true - -[node name="ref_A22" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 5.0 -offset_top = 38.0 -offset_right = 55.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СЗИ2 от УФ" -metadata/_edit_lock_ = true - -[node name="ref_A26" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 55.0 -offset_top = 38.0 -offset_right = 105.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СИ2 от ФС" -metadata/_edit_lock_ = true - -[node name="ref_A28" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 105.0 -offset_top = 38.0 -offset_right = 155.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СИ2 в УФ" -metadata/_edit_lock_ = true - -[node name="ref_A29" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 155.0 -offset_top = 38.0 -offset_right = 205.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "Модуляция" -metadata/_edit_lock_ = true - -[node name="ref_A30" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 205.0 -offset_top = 38.0 -offset_right = 255.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "ФГОЗ" -metadata/_edit_lock_ = true - -[node name="EMS_G" type="Panel" parent="TabContainer"] -visible = false -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_ooo4i") -script = ExtResource("9_g1wia") -metadata/_tab_index = 2 -metadata/_edit_lock_ = true - -[node name="table1" type="GridContainer" parent="TabContainer/EMS_G"] -layout_mode = 2 -offset_left = 27.0 -offset_top = 148.0 -offset_right = 27.0 -offset_bottom = 148.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="load_boadr" type="ColorRect" parent="TabContainer/EMS_G"] -layout_mode = 0 -offset_left = 27.0 -offset_top = 148.0 -offset_right = 1596.0 -offset_bottom = 717.0 -color = Color(0, 0, 0, 0.596078) - -[node name="load" type="Sprite2D" parent="TabContainer/EMS_G/load_boadr"] -material = SubResource("ShaderMaterial_slcfo") -position = Vector2(786, 284.5) -scale = Vector2(24.4688, 8.89063) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="Load_text" type="Label" parent="TabContainer/EMS_G/load_boadr"] -layout_mode = 0 -offset_left = 693.0 -offset_top = 277.0 -offset_right = 849.0 -offset_bottom = 316.0 -theme_override_colors/font_color = Color(1, 1, 1, 1) -theme_override_colors/font_shadow_color = Color(0.427493, 0.427493, 0.427493, 1) -theme_override_font_sizes/font_size = 28 -text = "Загрузка ..." - -[connection signal="pressed" from="Background/side_panel/select_prd" to="." method="_on_prd_select"] -[connection signal="pressed" from="Background/side_panel/select_control" to="." method="_on_control_button"] -[connection signal="pressed" from="Background/side_panel/select_ems_g" to="." method="_on_emsg_select"] -[connection signal="pressed" from="read_isa" to="." method="_on_read_isa_pressed"] diff --git a/PRD4794.tmp b/PRD4794.tmp deleted file mode 100644 index 8fbab07..0000000 --- a/PRD4794.tmp +++ /dev/null @@ -1,780 +0,0 @@ -[gd_scene load_steps=49 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"] -[ext_resource type="Script" path="res://table/table.gd" id="2_vmbyo"] -[ext_resource type="Material" uid="uid://s6xe8igevnv2" path="res://Shaders/shader_edu.tres" id="3_3syd3"] -[ext_resource type="Texture2D" uid="uid://cfktmk2rowmul" path="res://table/off.png" id="3_qvuyu"] -[ext_resource type="Shader" path="res://Shaders/ray.gdshader" id="4_uy5o2"] -[ext_resource type="Texture2D" uid="uid://62v0xejejuwj" path="res://Web.png" id="5_i3nvb"] -[ext_resource type="Shader" path="res://ray_2.gdshader" id="8_12mng"] -[ext_resource type="Texture2D" uid="uid://cgtg4gbqnuxrc" path="res://nine-patch-round.png" id="9_0r2qk"] -[ext_resource type="Script" path="res://ems_g.gd" id="9_g1wia"] -[ext_resource type="Shader" path="res://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://bnlkbbn7b4a3k" path="res://table/элемент-эмс.tscn" id="11_d60jk"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://table/элемент-в.tscn" id="11_fg7ul"] - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_eib3t"] -bg_color = Color(0.223529, 0.168627, 0.223529, 1) -border_width_bottom = 6 -border_color = Color(0.228592, 0.173062, 0.22863, 1) -border_blend = true - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o0too"] -bg_color = Color(0.223529, 0.168627, 0.223529, 1) -border_width_bottom = 6 -border_color = Color(0.339047, 0.26316, 0.339004, 1) -border_blend = true - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gooip"] -bg_color = Color(0.143, 0.103, 0.143, 0.799) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lqhgx"] -bg_color = Color(0, 0, 0, 0.490196) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_148rs"] -bg_color = Color(0.141176, 0.101961, 0.141176, 0.8) -border_width_bottom = 4 -border_color = Color(0.223529, 0.168627, 0.223529, 1) -border_blend = true -corner_radius_top_left = 2 -corner_radius_top_right = 2 -corner_radius_bottom_right = 2 -corner_radius_bottom_left = 2 - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ldbvf"] -bg_color = Color(0.141176, 0.101961, 0.141176, 0.8) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_h8aei"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_d322q"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_8j02b"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ls6vm"] - -[sub_resource type="Theme" id="Theme_k5ur4"] -Button/styles/focus = SubResource("StyleBoxFlat_eib3t") -Button/styles/hover = SubResource("StyleBoxFlat_o0too") -Button/styles/normal = SubResource("StyleBoxFlat_o0too") -Button/styles/pressed = SubResource("StyleBoxFlat_eib3t") -CheckButton/icons/checked = ExtResource("2_dv7xx") -CheckButton/icons/unchecked = ExtResource("3_qvuyu") -OptionButton/font_sizes/font_size = 17 -OptionButton/styles/focus = SubResource("StyleBoxFlat_gooip") -OptionButton/styles/hover = SubResource("StyleBoxFlat_lqhgx") -OptionButton/styles/normal = SubResource("StyleBoxFlat_148rs") -OptionButton/styles/pressed = SubResource("StyleBoxFlat_ldbvf") -TabContainer/styles/panel = SubResource("StyleBoxTexture_h8aei") -TabContainer/styles/tab_focus = SubResource("StyleBoxTexture_d322q") -TabContainer/styles/tab_selected = SubResource("StyleBoxTexture_8j02b") -TabContainer/styles/tabbar_background = SubResource("StyleBoxTexture_ls6vm") - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pxarn"] -bg_color = Color(0.356863, 0.278431, 0.356863, 1) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_p247y"] -bg_color = Color(0.356863, 0.278431, 0.356863, 1) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_rh6pm"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_x11tp"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mn8w2"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_21lc8"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_k08q3"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_dklg6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_17le6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_7u7p7"] - -[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_723du"] -size = Vector2(1600, 1200) - -[sub_resource type="GDScript" id="GDScript_0sobq"] -script/source = "extends Sprite2D - -" - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_o7txs"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_dgiai"] -shader = ExtResource("4_uy5o2") -shader_parameter/color_signal = Color(0.690196, 0.776471, 0, 1) -shader_parameter/turn = 0.735 - -[sub_resource type="Gradient" id="Gradient_ki0n7"] - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_0pk2o"] -gradient = SubResource("Gradient_ki0n7") -fill_from = Vector2(0.474359, 0.5) -metadata/_snap_enabled = true - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_2pxu2"] -shader = ExtResource("8_12mng") -shader_parameter/color_signal = Color(1.29351e-07, 0.19544, 0.0177065, 0.574) -shader_parameter/turn = 0.735 - -[sub_resource type="Gradient" id="Gradient_jlp41"] -colors = PackedColorArray(0, 0.647059, 0, 1, 0, 0.266667, 0, 1) - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_u3yy8"] -gradient = SubResource("Gradient_jlp41") -fill = 1 -fill_from = Vector2(0.5, 0.5) -fill_to = Vector2(1.145, 0) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_otisn"] -texture = SubResource("GradientTexture2D_u3yy8") - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_tn8m6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ooo4i"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_slcfo"] -shader = ExtResource("10_lf1xh") -shader_parameter/frequency = 5.0 -shader_parameter/amplitude = 600.0 -shader_parameter/speed = 5.0 -shader_parameter/direction = -1.0 -shader_parameter/color1 = Color(0, 0, 0, 1) -shader_parameter/color2 = Color(0.235, 0.18, 0.235, 1) -shader_parameter/color3 = Color(0.235, 0.18, 0.235, 0.5) -shader_parameter/color4 = Color(0, 0, 0, 0) -shader_parameter/opacity = 0.218 -shader_parameter/turn = 0.785 - -[node name="Node2D" type="Node2D"] -script = ExtResource("1_v273n") - -[node name="Background" type="ColorRect" parent="."] -offset_right = 1941.0 -offset_bottom = 988.0 -theme = SubResource("Theme_k5ur4") -color = Color(0.356863, 0.278431, 0.356863, 1) -metadata/_edit_lock_ = true - -[node name="side_panel" type="ColorRect" parent="Background"] -layout_mode = 0 -offset_right = 216.0 -offset_bottom = 988.0 -color = Color(0.586231, 0.481877, 0.585869, 1) - -[node name="select_prd" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 120.0 -offset_right = 216.0 -offset_bottom = 156.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_pxarn") -toggle_mode = true -button_pressed = true -text = "ПРД" - -[node name="select_control" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 160.0 -offset_right = 216.0 -offset_bottom = 196.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y") -toggle_mode = true -text = "КОНТРОЛЬ" - -[node name="select_ems_g" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 200.0 -offset_right = 216.0 -offset_bottom = 236.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y") -toggle_mode = true -text = "ЭМС Г" - -[node name="Litera_3_5_7" type="ColorRect" parent="Background"] -visible = false -layout_mode = 0 -offset_top = 48.0 -offset_right = 1941.0 -offset_bottom = 352.0 -color = Color(0.669446, 0.567301, 0.66881, 1) - -[node name="Litera_1" type="ColorRect" parent="Background"] -visible = false -layout_mode = 0 -offset_top = 359.0 -offset_right = 2182.0 -offset_bottom = 638.0 -color = Color(0.669446, 0.567301, 0.66881, 1) - -[node name="ISA" type="Label" parent="."] -offset_left = 225.0 -offset_top = 11.0 -offset_right = 1853.0 -offset_bottom = 48.0 -autowrap_mode = 3 - -[node name="read_isa" type="Button" parent="."] -offset_left = 85.0 -offset_top = 7.0 -offset_right = 210.0 -offset_bottom = 38.0 -text = "Прочитать ISA" - -[node name="TabContainer" type="TabContainer" parent="."] -offset_left = 216.0 -offset_top = 39.0 -offset_right = 2420.0 -offset_bottom = 917.0 -theme = SubResource("Theme_k5ur4") -theme_override_colors/font_unselected_color = Color(0, 0, 0, 0.0392157) -theme_override_colors/font_selected_color = Color(0, 0, 0, 0) -theme_override_styles/tab_focus = SubResource("StyleBoxTexture_rh6pm") -theme_override_styles/tab_disabled = SubResource("StyleBoxTexture_x11tp") -theme_override_styles/tabbar_background = SubResource("StyleBoxTexture_mn8w2") -theme_override_styles/panel = SubResource("StyleBoxTexture_21lc8") -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 -tab_focus_mode = 0 - -[node name="PRD" type="Panel" parent="TabContainer"] -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_7u7p7") -metadata/_tab_index = 0 -metadata/_edit_lock_ = true - -[node name="select_dev" type="GridContainer" parent="TabContainer/PRD"] -layout_mode = 2 -offset_left = 12.0 -offset_top = 64.0 -offset_right = 12.0 -offset_bottom = 64.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="table_ukp_1" type="GridContainer" parent="TabContainer/PRD"] -layout_mode = 2 -offset_left = 969.0 -offset_top = 27.0 -offset_right = 969.0 -offset_bottom = 27.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="table_ukp_2" type="GridContainer" parent="TabContainer/PRD"] -layout_mode = 2 -offset_left = 969.0 -offset_top = 331.0 -offset_right = 969.0 -offset_bottom = 331.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="PSK" type="Sprite2D" parent="TabContainer/PRD"] -material = ExtResource("3_3syd3") -position = Vector2(1276.25, 29) -scale = Vector2(0.247968, 0.234167) -texture = SubResource("PlaceholderTexture2D_723du") -offset = Vector2(800, 600) -script = SubResource("GDScript_0sobq") - -[node name="PSK grad" type="TextureRect" parent="TabContainer/PRD/PSK"] -modulate = Color(0, 0, 0, 1) -self_modulate = Color(0, 0, 0, 1) -show_behind_parent = true -material = SubResource("ShaderMaterial_o7txs") -offset_left = 554.954 -offset_top = -30.0 -offset_right = 1290.95 -offset_bottom = 1134.0 -texture = ExtResource("5_i3nvb") -expand_mode = 1 -metadata/_edit_lock_ = true - -[node name="ray_1" type="Sprite2D" parent="TabContainer/PRD/PSK"] -material = SubResource("ShaderMaterial_dgiai") -position = Vector2(549.221, 560.705) -scale = Vector2(21.8765, 21.6782) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="PSK2" type="Sprite2D" parent="TabContainer/PRD"] -material = ExtResource("3_3syd3") -position = Vector2(1276, 326) -scale = Vector2(0.247968, 0.234167) -texture = SubResource("PlaceholderTexture2D_723du") -offset = Vector2(800, 600) -script = SubResource("GDScript_0sobq") - -[node name="PSK grad" type="TextureRect" parent="TabContainer/PRD/PSK2"] -modulate = Color(0, 0, 0, 1) -self_modulate = Color(0, 0, 0, 1) -show_behind_parent = true -material = SubResource("ShaderMaterial_o7txs") -offset_left = 554.954 -offset_top = -30.0 -offset_right = 1290.95 -offset_bottom = 1134.0 -texture = ExtResource("5_i3nvb") -expand_mode = 1 -metadata/_edit_lock_ = true - -[node name="ray_2" type="Sprite2D" parent="TabContainer/PRD/PSK2"] -material = SubResource("ShaderMaterial_2pxu2") -position = Vector2(549.221, 560.705) -scale = Vector2(21.8765, 21.6782) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="Grid" type="GridContainer" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 616.0 -offset_top = 34.0 -offset_right = 949.0 -offset_bottom = 612.0 - -[node name="LABEL" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ЛИТЕРА 2! ПРД-Н!" - -[node name="Zapret" type="Button" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn") -toggle_mode = true -text = " Запрет СИ2" -metadata/litera = 48 - -[node name="Modul" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "Модуляция" - -[node name="Label_ray" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "Номер и направление луча" - -[node name="Ray_set" type="OptionButton" parent="TabContainer/PRD/Grid"] -layout_mode = 2 - -[node name="DKM2" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ДКМ ДОУ 2" - -[node name="FGOZ2" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ФГОЗ 2" - -[node name="LABEL2" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ЛИТЕРА 3! ПРД-Н!" - -[node name="Zapret2" type="Button" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn") -toggle_mode = true -text = " Запрет СИ3" -metadata/litera = 49 - -[node name="FGOZ3" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ФГОЗ 3" - -[node name="DKM3" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ДКМ ДОУ 3" - -[node name="Ray_set2" type="OptionButton" parent="TabContainer/PRD/Grid"] -layout_mode = 2 - -[node name="ControlPanel" type="Panel" parent="TabContainer"] -visible = false -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_tn8m6") -metadata/_tab_index = 1 -metadata/_edit_lock_ = true - -[node name="lbl_control" type="Label" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 4.0 -offset_top = 21.0 -offset_right = 624.0 -offset_bottom = 52.0 -theme_override_font_sizes/font_size = 22 -text = "Контроль исправности прибора ПРД-Н" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="sockets" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 536.0 -offset_top = 103.0 -offset_right = 840.0 -offset_bottom = 293.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="ref_A26" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 5.0 -offset_top = 34.0 -offset_right = 55.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "ЯУ-07" -metadata/_edit_lock_ = true - -[node name="ref_A23" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 53.0 -offset_top = 34.0 -offset_right = 103.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "ЭМС-Г" -metadata/_edit_lock_ = true - -[node name="ref_A24" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 104.0 -offset_top = 34.0 -offset_right = 154.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "УГ" -metadata/_edit_lock_ = true - -[node name="ref_A25" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 154.0 -offset_top = 33.0 -offset_right = 204.0 -offset_bottom = 183.0 -textures = Array[Texture]([]) -fname = "УКП-1" -metadata/_edit_lock_ = true - -[node name="ref_A27" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 205.0 -offset_top = 33.0 -offset_right = 255.0 -offset_bottom = 183.0 -textures = Array[Texture]([]) -fname = "УКП-2" -metadata/_edit_lock_ = true - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/sockets"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 291.0 -offset_bottom = 33.0 -text = "Ячейки" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/_edit_lock_ = true - -[node name="kasseta_fs_kd" parent="TabContainer/ControlPanel" instance=ExtResource("10_tdh2s")] -layout_mode = 0 -offset_left = 206.0 -offset_top = 311.0 -offset_right = 516.0 -offset_bottom = 538.0 -script = null - -[node name="kasseta_p_1" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 96.0 -offset_top = 560.0 -offset_right = 516.0 -offset_bottom = 776.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/kasseta_p_1"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 409.0 -offset_bottom = 33.0 -text = "Кассета П-1" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/_edit_lock_ = true - -[node name="ref_A23" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 9.0 -offset_top = 34.0 -offset_right = 59.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП МАА 1" -metadata/_edit_lock_ = true - -[node name="ref_A24" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 59.0 -offset_top = 34.0 -offset_right = 109.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП МАА 2" -metadata/_edit_lock_ = true - -[node name="ref_A25" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 109.0 -offset_top = 34.0 -offset_right = 159.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП9-50 1" -metadata/_edit_lock_ = true - -[node name="ref_A26" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 159.0 -offset_top = 34.0 -offset_right = 209.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП9-50 2" -metadata/_edit_lock_ = true - -[node name="ref_A27" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 209.0 -offset_top = 34.0 -offset_right = 259.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП12-50 1" -metadata/_edit_lock_ = true - -[node name="ref_A28" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 259.0 -offset_top = 34.0 -offset_right = 309.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП9-50 3" -metadata/_edit_lock_ = true - -[node name="ref_A29" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 309.0 -offset_top = 34.0 -offset_right = 359.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП12-50 2" -metadata/_edit_lock_ = true - -[node name="ref_A30" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 359.0 -offset_top = 34.0 -offset_right = 409.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -fname = "ИП5-25" -rname = "A30" -metadata/_edit_lock_ = true - -[node name="ref_ZZ3" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 536.0 -offset_top = 562.0 -offset_right = 997.0 -offset_bottom = 776.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="label" type="Label" parent="TabContainer/ControlPanel/ref_ZZ3"] -self_modulate = Color(0.996078, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 8.0 -offset_top = 8.0 -offset_right = 453.0 -offset_bottom = 206.0 -text = "Панель -предохранителей" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="Signal_EMS_G" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 536.0 -offset_top = 311.0 -offset_right = 996.0 -offset_bottom = 538.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/Signal_EMS_G"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 448.0 -offset_bottom = 33.0 -text = "ЭМС-Г" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="ref_A22" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 8.0 -offset_top = 38.0 -offset_right = 58.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СЗИ2 от УФ" -rname = "A22" - -[node name="ref_A23" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 57.0 -offset_top = 38.0 -offset_right = 107.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СЗИ3 от УФ" -rname = "A23" - -[node name="ref_A26" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 106.0 -offset_top = 38.0 -offset_right = 156.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СИ2 от ФС" -rname = "A26" - -[node name="ref_A27" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 155.0 -offset_top = 38.0 -offset_right = 205.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СИ3 от ФС" -rname = "A27" - -[node name="ref_A28" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 204.0 -offset_top = 38.0 -offset_right = 254.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СИ2 в УФ" -rname = "A28" - -[node name="ref_A29" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 254.0 -offset_top = 38.0 -offset_right = 304.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "СИ3 в УФ" -rname = "A29" - -[node name="ref_A31" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 304.0 -offset_top = 38.0 -offset_right = 354.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "Модуляция" -rname = "УМ2" - -[node name="ref_A32" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 354.0 -offset_top = 38.0 -offset_right = 404.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "Модуляция" -rname = "УМ3" - -[node name="ref_A33" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 405.0 -offset_top = 38.0 -offset_right = 455.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -fname = "ФГОЗ" -rname = "A33" - -[node name="EMS_G" type="Panel" parent="TabContainer"] -visible = false -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_ooo4i") -script = ExtResource("9_g1wia") -metadata/_tab_index = 2 -metadata/_edit_lock_ = true - -[node name="table1" type="GridContainer" parent="TabContainer/EMS_G"] -layout_mode = 2 -offset_left = 27.0 -offset_top = 148.0 -offset_right = 27.0 -offset_bottom = 148.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="load_boadr" type="ColorRect" parent="TabContainer/EMS_G"] -layout_mode = 0 -offset_left = 27.0 -offset_top = 148.0 -offset_right = 1596.0 -offset_bottom = 717.0 -color = Color(0, 0, 0, 0.596078) - -[node name="load" type="Sprite2D" parent="TabContainer/EMS_G/load_boadr"] -material = SubResource("ShaderMaterial_slcfo") -position = Vector2(786, 284.5) -scale = Vector2(24.4688, 8.89063) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="Load_text" type="Label" parent="TabContainer/EMS_G/load_boadr"] -layout_mode = 0 -offset_left = 693.0 -offset_top = 277.0 -offset_right = 849.0 -offset_bottom = 316.0 -theme_override_colors/font_color = Color(1, 1, 1, 1) -theme_override_colors/font_shadow_color = Color(0.427493, 0.427493, 0.427493, 1) -theme_override_font_sizes/font_size = 28 -text = "Загрузка ..." - -[connection signal="pressed" from="Background/side_panel/select_prd" to="." method="_on_prd_select"] -[connection signal="pressed" from="Background/side_panel/select_control" to="." method="_on_control_button"] -[connection signal="pressed" from="Background/side_panel/select_ems_g" to="." method="_on_emsg_select"] -[connection signal="pressed" from="read_isa" to="." method="_on_read_isa_pressed"] diff --git a/PRDA888.tmp b/PRDA888.tmp deleted file mode 100644 index 6cf1b4e..0000000 --- a/PRDA888.tmp +++ /dev/null @@ -1,932 +0,0 @@ -[gd_scene load_steps=50 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"] -[ext_resource type="Script" path="res://table/table.gd" id="2_vmbyo"] -[ext_resource type="Material" uid="uid://s6xe8igevnv2" path="res://Shaders/shader_edu.tres" id="3_3syd3"] -[ext_resource type="Texture2D" uid="uid://cfktmk2rowmul" path="res://table/off.png" id="3_qvuyu"] -[ext_resource type="Shader" path="res://Shaders/ray.gdshader" id="4_uy5o2"] -[ext_resource type="Texture2D" uid="uid://62v0xejejuwj" path="res://Web.png" id="5_i3nvb"] -[ext_resource type="Shader" path="res://ray_2.gdshader" id="8_12mng"] -[ext_resource type="Texture2D" uid="uid://cgtg4gbqnuxrc" path="res://nine-patch-round.png" id="9_0r2qk"] -[ext_resource type="Script" path="res://ems_g.gd" id="9_g1wia"] -[ext_resource type="Shader" path="res://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://bnlkbbn7b4a3k" path="res://table/элемент-эмс.tscn" id="11_d60jk"] -[ext_resource type="PackedScene" uid="uid://p2suppildvq0" path="res://table/элемент-в.tscn" id="11_fg7ul"] -[ext_resource type="Script" path="res://modul_fs.gd" id="15_b4pr1"] - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_eib3t"] -bg_color = Color(0.223529, 0.168627, 0.223529, 1) -border_width_bottom = 6 -border_color = Color(0.228592, 0.173062, 0.22863, 1) -border_blend = true - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o0too"] -bg_color = Color(0.223529, 0.168627, 0.223529, 1) -border_width_bottom = 6 -border_color = Color(0.339047, 0.26316, 0.339004, 1) -border_blend = true - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gooip"] -bg_color = Color(0.143, 0.103, 0.143, 0.799) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lqhgx"] -bg_color = Color(0, 0, 0, 0.490196) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_148rs"] -bg_color = Color(0.141176, 0.101961, 0.141176, 0.8) -border_width_bottom = 4 -border_color = Color(0.223529, 0.168627, 0.223529, 1) -border_blend = true -corner_radius_top_left = 2 -corner_radius_top_right = 2 -corner_radius_bottom_right = 2 -corner_radius_bottom_left = 2 - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ldbvf"] -bg_color = Color(0.141176, 0.101961, 0.141176, 0.8) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_h8aei"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_d322q"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_8j02b"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ls6vm"] - -[sub_resource type="Theme" id="Theme_k5ur4"] -Button/styles/focus = SubResource("StyleBoxFlat_eib3t") -Button/styles/hover = SubResource("StyleBoxFlat_o0too") -Button/styles/normal = SubResource("StyleBoxFlat_o0too") -Button/styles/pressed = SubResource("StyleBoxFlat_eib3t") -CheckButton/icons/checked = ExtResource("2_dv7xx") -CheckButton/icons/unchecked = ExtResource("3_qvuyu") -OptionButton/font_sizes/font_size = 17 -OptionButton/styles/focus = SubResource("StyleBoxFlat_gooip") -OptionButton/styles/hover = SubResource("StyleBoxFlat_lqhgx") -OptionButton/styles/normal = SubResource("StyleBoxFlat_148rs") -OptionButton/styles/pressed = SubResource("StyleBoxFlat_ldbvf") -TabContainer/styles/panel = SubResource("StyleBoxTexture_h8aei") -TabContainer/styles/tab_focus = SubResource("StyleBoxTexture_d322q") -TabContainer/styles/tab_selected = SubResource("StyleBoxTexture_8j02b") -TabContainer/styles/tabbar_background = SubResource("StyleBoxTexture_ls6vm") - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pxarn"] -bg_color = Color(0.356863, 0.278431, 0.356863, 1) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_p247y"] -bg_color = Color(0.356863, 0.278431, 0.356863, 1) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_rh6pm"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_x11tp"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mn8w2"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_21lc8"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_k08q3"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_dklg6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_17le6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_7u7p7"] - -[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_723du"] -size = Vector2(1600, 1200) - -[sub_resource type="GDScript" id="GDScript_0sobq"] -script/source = "extends Sprite2D - -" - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_o7txs"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_dgiai"] -shader = ExtResource("4_uy5o2") -shader_parameter/color_signal = Color(0.690196, 0.776471, 0, 1) -shader_parameter/turn = 0.735 - -[sub_resource type="Gradient" id="Gradient_ki0n7"] - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_0pk2o"] -gradient = SubResource("Gradient_ki0n7") -fill_from = Vector2(0.474359, 0.5) -metadata/_snap_enabled = true - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_2pxu2"] -shader = ExtResource("8_12mng") -shader_parameter/color_signal = Color(1.29351e-07, 0.19544, 0.0177065, 0.574) -shader_parameter/turn = 0.735 - -[sub_resource type="Gradient" id="Gradient_jlp41"] -colors = PackedColorArray(0, 0.647059, 0, 1, 0, 0.266667, 0, 1) - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_u3yy8"] -gradient = SubResource("Gradient_jlp41") -fill = 1 -fill_from = Vector2(0.5, 0.5) -fill_to = Vector2(1.145, 0) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_otisn"] -texture = SubResource("GradientTexture2D_u3yy8") - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_tn8m6"] - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ooo4i"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_slcfo"] -shader = ExtResource("10_lf1xh") -shader_parameter/frequency = 5.0 -shader_parameter/amplitude = 600.0 -shader_parameter/speed = 5.0 -shader_parameter/direction = -1.0 -shader_parameter/color1 = Color(0, 0, 0, 1) -shader_parameter/color2 = Color(0.235, 0.18, 0.235, 1) -shader_parameter/color3 = Color(0.235, 0.18, 0.235, 0.5) -shader_parameter/color4 = Color(0, 0, 0, 0) -shader_parameter/opacity = 0.218 -shader_parameter/turn = 0.785 - -[node name="Node2D" type="Node2D"] -script = ExtResource("1_v273n") - -[node name="Background" type="ColorRect" parent="."] -offset_right = 1941.0 -offset_bottom = 988.0 -theme = SubResource("Theme_k5ur4") -color = Color(0.356863, 0.278431, 0.356863, 1) -metadata/_edit_lock_ = true - -[node name="side_panel" type="ColorRect" parent="Background"] -layout_mode = 0 -offset_right = 216.0 -offset_bottom = 988.0 -color = Color(0.586231, 0.481877, 0.585869, 1) - -[node name="select_prd" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 120.0 -offset_right = 216.0 -offset_bottom = 156.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_pxarn") -toggle_mode = true -button_pressed = true -text = "ПРД" - -[node name="select_control" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 160.0 -offset_right = 216.0 -offset_bottom = 196.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y") -toggle_mode = true -text = "КОНТРОЛЬ" - -[node name="select_ems_g" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 200.0 -offset_right = 216.0 -offset_bottom = 236.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y") -toggle_mode = true -text = "ЭМС Г" - -[node name="select_fs" type="Button" parent="Background/side_panel"] -layout_mode = 0 -offset_top = 241.0 -offset_right = 216.0 -offset_bottom = 277.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y") -toggle_mode = true -text = "Модуль ФС" - -[node name="Litera_3_5_7" type="ColorRect" parent="Background"] -visible = false -layout_mode = 0 -offset_top = 48.0 -offset_right = 1941.0 -offset_bottom = 352.0 -color = Color(0.669446, 0.567301, 0.66881, 1) - -[node name="Litera_1" type="ColorRect" parent="Background"] -visible = false -layout_mode = 0 -offset_top = 359.0 -offset_right = 2182.0 -offset_bottom = 638.0 -color = Color(0.669446, 0.567301, 0.66881, 1) - -[node name="ISA" type="Label" parent="."] -offset_left = 225.0 -offset_top = 11.0 -offset_right = 1853.0 -offset_bottom = 48.0 -autowrap_mode = 3 - -[node name="read_isa" type="Button" parent="."] -offset_left = 85.0 -offset_top = 7.0 -offset_right = 210.0 -offset_bottom = 38.0 -text = "Прочитать ISA" - -[node name="TabContainer" type="TabContainer" parent="."] -offset_left = 216.0 -offset_top = 39.0 -offset_right = 2420.0 -offset_bottom = 917.0 -theme = SubResource("Theme_k5ur4") -theme_override_colors/font_unselected_color = Color(0, 0, 0, 0.0392157) -theme_override_colors/font_selected_color = Color(0, 0, 0, 0) -theme_override_styles/tab_focus = SubResource("StyleBoxTexture_rh6pm") -theme_override_styles/tab_disabled = SubResource("StyleBoxTexture_x11tp") -theme_override_styles/tabbar_background = SubResource("StyleBoxTexture_mn8w2") -theme_override_styles/panel = SubResource("StyleBoxTexture_21lc8") -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 = 3 -tab_focus_mode = 0 - -[node name="PRD" type="Panel" parent="TabContainer"] -visible = false -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_7u7p7") -metadata/_tab_index = 0 -metadata/_edit_lock_ = true - -[node name="select_dev" type="GridContainer" parent="TabContainer/PRD"] -layout_mode = 2 -offset_left = 12.0 -offset_top = 64.0 -offset_right = 12.0 -offset_bottom = 64.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="table_ukp_1" type="GridContainer" parent="TabContainer/PRD"] -layout_mode = 2 -offset_left = 969.0 -offset_top = 27.0 -offset_right = 969.0 -offset_bottom = 27.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="table_ukp_2" type="GridContainer" parent="TabContainer/PRD"] -layout_mode = 2 -offset_left = 969.0 -offset_top = 331.0 -offset_right = 969.0 -offset_bottom = 331.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="PSK" type="Sprite2D" parent="TabContainer/PRD"] -material = ExtResource("3_3syd3") -position = Vector2(1276.25, 29) -scale = Vector2(0.247968, 0.234167) -texture = SubResource("PlaceholderTexture2D_723du") -offset = Vector2(800, 600) -script = SubResource("GDScript_0sobq") - -[node name="PSK grad" type="TextureRect" parent="TabContainer/PRD/PSK"] -modulate = Color(0, 0, 0, 1) -self_modulate = Color(0, 0, 0, 1) -show_behind_parent = true -material = SubResource("ShaderMaterial_o7txs") -offset_left = 554.954 -offset_top = -30.0 -offset_right = 1290.95 -offset_bottom = 1134.0 -texture = ExtResource("5_i3nvb") -expand_mode = 1 -metadata/_edit_lock_ = true - -[node name="ray_1" type="Sprite2D" parent="TabContainer/PRD/PSK"] -material = SubResource("ShaderMaterial_dgiai") -position = Vector2(549.221, 560.705) -scale = Vector2(21.8765, 21.6782) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="PSK2" type="Sprite2D" parent="TabContainer/PRD"] -material = ExtResource("3_3syd3") -position = Vector2(1276, 326) -scale = Vector2(0.247968, 0.234167) -texture = SubResource("PlaceholderTexture2D_723du") -offset = Vector2(800, 600) -script = SubResource("GDScript_0sobq") - -[node name="PSK grad" type="TextureRect" parent="TabContainer/PRD/PSK2"] -modulate = Color(0, 0, 0, 1) -self_modulate = Color(0, 0, 0, 1) -show_behind_parent = true -material = SubResource("ShaderMaterial_o7txs") -offset_left = 554.954 -offset_top = -30.0 -offset_right = 1290.95 -offset_bottom = 1134.0 -texture = ExtResource("5_i3nvb") -expand_mode = 1 -metadata/_edit_lock_ = true - -[node name="ray_2" type="Sprite2D" parent="TabContainer/PRD/PSK2"] -material = SubResource("ShaderMaterial_2pxu2") -position = Vector2(549.221, 560.705) -scale = Vector2(21.8765, 21.6782) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="Grid" type="GridContainer" parent="TabContainer/PRD"] -layout_mode = 0 -offset_left = 616.0 -offset_top = 34.0 -offset_right = 949.0 -offset_bottom = 612.0 - -[node name="LABEL" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ЛИТЕРА 2! ПРД-Н!" - -[node name="Zapret" type="Button" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn") -toggle_mode = true -text = " Запрет СИ2" -metadata/litera = 48 - -[node name="Modul" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "Модуляция" - -[node name="Label_ray" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "Номер и направление луча" - -[node name="Ray_set" type="OptionButton" parent="TabContainer/PRD/Grid"] -layout_mode = 2 - -[node name="DKM2" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ДКМ ДОУ 2" - -[node name="FGOZ2" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ФГОЗ 2" - -[node name="LABEL2" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ЛИТЕРА 3! ПРД-Н!" - -[node name="Zapret2" type="Button" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn") -toggle_mode = true -text = " Запрет СИ3" -metadata/litera = 49 - -[node name="FGOZ3" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ФГОЗ 3" - -[node name="DKM3" type="Label" parent="TabContainer/PRD/Grid"] -layout_mode = 2 -text = "ДКМ ДОУ 3" - -[node name="Ray_set2" type="OptionButton" parent="TabContainer/PRD/Grid"] -layout_mode = 2 - -[node name="ControlPanel" type="Panel" parent="TabContainer"] -visible = false -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_tn8m6") -metadata/_tab_index = 1 -metadata/_edit_lock_ = true - -[node name="lbl_control" type="Label" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 4.0 -offset_top = 21.0 -offset_right = 624.0 -offset_bottom = 52.0 -theme_override_font_sizes/font_size = 22 -text = "Контроль исправности прибора ПРД-Н" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="sockets" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 536.0 -offset_top = 103.0 -offset_right = 840.0 -offset_bottom = 293.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="ref_A26" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 5.0 -offset_top = 34.0 -offset_right = 55.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "ЯУ-07" -metadata/_edit_lock_ = true - -[node name="ref_A23" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 53.0 -offset_top = 34.0 -offset_right = 103.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "ЭМС-Г" -metadata/_edit_lock_ = true - -[node name="ref_A24" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 104.0 -offset_top = 34.0 -offset_right = 154.0 -offset_bottom = 184.0 -textures = Array[Texture]([]) -fname = "УГ" -metadata/_edit_lock_ = true - -[node name="ref_A25" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 154.0 -offset_top = 33.0 -offset_right = 204.0 -offset_bottom = 183.0 -textures = Array[Texture]([]) -fname = "УКП-1" -metadata/_edit_lock_ = true - -[node name="ref_A27" parent="TabContainer/ControlPanel/sockets" instance=ExtResource("11_fg7ul")] -offset_left = 205.0 -offset_top = 33.0 -offset_right = 255.0 -offset_bottom = 183.0 -textures = Array[Texture]([]) -fname = "УКП-2" -metadata/_edit_lock_ = true - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/sockets"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 291.0 -offset_bottom = 33.0 -text = "Ячейки" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/_edit_lock_ = true - -[node name="kasseta_fs_kd" parent="TabContainer/ControlPanel" instance=ExtResource("10_tdh2s")] -layout_mode = 0 -offset_left = 206.0 -offset_top = 311.0 -offset_right = 516.0 -offset_bottom = 538.0 -script = null - -[node name="kasseta_p_1" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 96.0 -offset_top = 560.0 -offset_right = 516.0 -offset_bottom = 776.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/kasseta_p_1"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 409.0 -offset_bottom = 33.0 -text = "Кассета П-1" -horizontal_alignment = 1 -vertical_alignment = 1 -metadata/_edit_lock_ = true - -[node name="ref_A23" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 9.0 -offset_top = 34.0 -offset_right = 59.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -metadata/_edit_lock_ = true - -[node name="ref_A24" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 59.0 -offset_top = 34.0 -offset_right = 109.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -metadata/_edit_lock_ = true - -[node name="ref_A25" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 109.0 -offset_top = 34.0 -offset_right = 159.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -metadata/_edit_lock_ = true - -[node name="ref_A26" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 159.0 -offset_top = 34.0 -offset_right = 209.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -metadata/_edit_lock_ = true - -[node name="ref_A27" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 209.0 -offset_top = 34.0 -offset_right = 259.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -metadata/_edit_lock_ = true - -[node name="ref_A28" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 259.0 -offset_top = 34.0 -offset_right = 309.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -metadata/_edit_lock_ = true - -[node name="ref_A29" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 309.0 -offset_top = 34.0 -offset_right = 359.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -metadata/_edit_lock_ = true - -[node name="ref_A30" parent="TabContainer/ControlPanel/kasseta_p_1" instance=ExtResource("11_fg7ul")] -offset_left = 359.0 -offset_top = 34.0 -offset_right = 409.0 -offset_bottom = 208.0 -textures = Array[Texture]([]) -self_size = Vector2i(50, 174) -rname = "A30" -metadata/_edit_lock_ = true - -[node name="ref_ZZ3" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 536.0 -offset_top = 562.0 -offset_right = 997.0 -offset_bottom = 776.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="label" type="Label" parent="TabContainer/ControlPanel/ref_ZZ3"] -self_modulate = Color(0.996078, 1, 1, 0.627451) -layout_mode = 0 -offset_left = 8.0 -offset_top = 8.0 -offset_right = 453.0 -offset_bottom = 206.0 -text = "Панель -предохранителей" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="Signal_EMS_G" type="NinePatchRect" parent="TabContainer/ControlPanel"] -layout_mode = 0 -offset_left = 536.0 -offset_top = 311.0 -offset_right = 996.0 -offset_bottom = 538.0 -texture = ExtResource("9_0r2qk") -patch_margin_left = 16 -patch_margin_top = 16 -patch_margin_right = 16 -patch_margin_bottom = 16 - -[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/Signal_EMS_G"] -self_modulate = Color(1, 1, 1, 0.62) -layout_mode = 0 -offset_left = 7.0 -offset_top = 8.0 -offset_right = 448.0 -offset_bottom = 33.0 -text = "ЭМС-Г" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="ref_A22" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 8.0 -offset_top = 38.0 -offset_right = 58.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "A22" - -[node name="ref_A23" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 57.0 -offset_top = 38.0 -offset_right = 107.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "A23" - -[node name="ref_A26" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 106.0 -offset_top = 38.0 -offset_right = 156.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "A26" - -[node name="ref_A27" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 155.0 -offset_top = 38.0 -offset_right = 205.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "A27" - -[node name="ref_A28" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 204.0 -offset_top = 38.0 -offset_right = 254.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "A28" - -[node name="ref_A29" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 254.0 -offset_top = 38.0 -offset_right = 304.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "A29" - -[node name="ref_A31" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 304.0 -offset_top = 38.0 -offset_right = 354.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "УМ2" - -[node name="ref_A32" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 354.0 -offset_top = 38.0 -offset_right = 404.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "УМ3" - -[node name="ref_A33" parent="TabContainer/ControlPanel/Signal_EMS_G" instance=ExtResource("11_d60jk")] -offset_left = 405.0 -offset_top = 38.0 -offset_right = 455.0 -offset_bottom = 216.0 -self_size = Vector2i(50, 178) -rname = "A33" - -[node name="EMS_G" type="Panel" parent="TabContainer"] -visible = false -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_ooo4i") -script = ExtResource("9_g1wia") -metadata/_tab_index = 2 -metadata/_edit_lock_ = true - -[node name="table1" type="GridContainer" parent="TabContainer/EMS_G"] -layout_mode = 2 -offset_left = 27.0 -offset_top = 148.0 -offset_right = 27.0 -offset_bottom = 148.0 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="load_boadr" type="ColorRect" parent="TabContainer/EMS_G"] -layout_mode = 0 -offset_left = 27.0 -offset_top = 148.0 -offset_right = 1596.0 -offset_bottom = 717.0 -color = Color(0, 0, 0, 0.596078) - -[node name="load" type="Sprite2D" parent="TabContainer/EMS_G/load_boadr"] -material = SubResource("ShaderMaterial_slcfo") -position = Vector2(786, 284.5) -scale = Vector2(24.4688, 8.89063) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="Load_text" type="Label" parent="TabContainer/EMS_G/load_boadr"] -layout_mode = 0 -offset_left = 693.0 -offset_top = 277.0 -offset_right = 849.0 -offset_bottom = 316.0 -theme_override_colors/font_color = Color(1, 1, 1, 1) -theme_override_colors/font_shadow_color = Color(0.427493, 0.427493, 0.427493, 1) -theme_override_font_sizes/font_size = 28 -text = "Загрузка ..." - -[node name="Modul_fs" type="Panel" parent="TabContainer"] -layout_mode = 2 -theme_override_styles/panel = SubResource("StyleBoxTexture_ooo4i") -script = ExtResource("15_b4pr1") -metadata/_tab_index = 3 -metadata/_edit_lock_ = true - -[node name="set_space" type="GridContainer" parent="TabContainer/Modul_fs"] -layout_mode = 0 -offset_left = 211.0 -offset_top = 378.0 -offset_right = 854.0 -offset_bottom = 418.0 -columns = 2 - -[node name="set_ferq" type="Button" parent="TabContainer/Modul_fs/set_space"] -custom_minimum_size = Vector2(100, 0) -layout_mode = 2 -text = " Set н/ч" - -[node name="write_to_set_freq" type="LineEdit" parent="TabContainer/Modul_fs/set_space"] -custom_minimum_size = Vector2(300, 0) -layout_mode = 2 -text = "500" -placeholder_text = "Частота" - -[node name="measurement" type="Label" parent="TabContainer/Modul_fs/set_space/write_to_set_freq"] -layout_mode = 0 -offset_left = 313.0 -offset_top = 2.0 -offset_right = 365.0 -offset_bottom = 30.0 -text = "МГц" - -[node name="set_att2" type="Button" parent="TabContainer/Modul_fs/set_space"] -custom_minimum_size = Vector2(100, 0) -layout_mode = 2 -text = " Set att" - -[node name="write_to_set_att" type="LineEdit" parent="TabContainer/Modul_fs/set_space"] -custom_minimum_size = Vector2(300, 0) -layout_mode = 2 -text = "38.75" -placeholder_text = "-38.75 to 0" - -[node name="measurement" type="Label" parent="TabContainer/Modul_fs/set_space/write_to_set_att"] -layout_mode = 0 -offset_left = 313.0 -offset_top = 2.0 -offset_right = 351.0 -offset_bottom = 30.0 -text = "dB" - -[node name="manage_panel" type="GridContainer" parent="TabContainer/Modul_fs"] -layout_mode = 0 -offset_left = 200.0 -offset_top = 186.0 -offset_right = 805.0 -offset_bottom = 308.0 -columns = 5 -metadata/_edit_lock_ = true - -[node name="con" type="Button" parent="TabContainer/Modul_fs/manage_panel"] -layout_mode = 2 -text = " Подключение " - -[node name="ip_connect" type="Label" parent="TabContainer/Modul_fs/manage_panel/con"] -layout_mode = 0 -offset_top = 32.0 -offset_right = 118.0 -offset_bottom = 55.0 - -[node name="get_freq" type="Button" parent="TabContainer/Modul_fs/manage_panel"] -layout_mode = 2 -text = " Получить н/ч " - -[node name="freq_ind" type="Label" parent="TabContainer/Modul_fs/manage_panel/get_freq"] -layout_mode = 0 -offset_top = 32.0 -offset_right = 106.0 -offset_bottom = 55.0 - -[node name="get_att" type="Button" parent="TabContainer/Modul_fs/manage_panel"] -layout_mode = 2 -text = " Получить att " - -[node name="att_ind" type="Label" parent="TabContainer/Modul_fs/manage_panel/get_att"] -layout_mode = 0 -offset_top = 32.0 -offset_right = 105.0 -offset_bottom = 55.0 - -[node name="get_gen_status" type="Button" parent="TabContainer/Modul_fs/manage_panel"] -layout_mode = 2 -toggle_mode = true -text = "Переключатель генератора " - -[node name="status_ind" type="Label" parent="TabContainer/Modul_fs/manage_panel/get_gen_status"] -layout_mode = 0 -offset_top = 33.0 -offset_right = 84.0 -offset_bottom = 56.0 - -[node name="dis_con" type="Button" parent="TabContainer/Modul_fs/manage_panel"] -layout_mode = 2 -text = "Отключение " - -[node name="read" type="LineEdit" parent="TabContainer/Modul_fs"] -layout_mode = 0 -offset_left = 216.0 -offset_top = 818.0 -offset_right = 971.0 -offset_bottom = 849.0 -metadata/_edit_lock_ = true - -[node name="fs_connect" type="Label" parent="TabContainer/Modul_fs"] -layout_mode = 0 -offset_left = 206.0 -offset_top = 88.0 -offset_right = 377.0 -offset_bottom = 111.0 -text = "Связь с модулем ФС" - -[node name="temp_1" type="Label" parent="TabContainer/Modul_fs"] -layout_mode = 0 -offset_left = 1015.0 -offset_top = 119.0 -offset_right = 1102.0 -offset_bottom = 152.0 -text = "Темп" - -[node name="temp_2" type="Label" parent="TabContainer/Modul_fs"] -layout_mode = 0 -offset_left = 1016.0 -offset_top = 156.0 -offset_right = 1103.0 -offset_bottom = 189.0 -text = "Темп" - -[node name="temp_3" type="Label" parent="TabContainer/Modul_fs"] -layout_mode = 0 -offset_left = 1015.0 -offset_top = 193.0 -offset_right = 1102.0 -offset_bottom = 226.0 -text = "Темп" - -[connection signal="pressed" from="Background/side_panel/select_prd" to="." method="_on_prd_select"] -[connection signal="pressed" from="Background/side_panel/select_control" to="." method="_on_control_button"] -[connection signal="pressed" from="Background/side_panel/select_ems_g" to="." method="_on_emsg_select"] -[connection signal="pressed" from="Background/side_panel/select_fs" to="." method="_on_mfs_select"] -[connection signal="pressed" from="read_isa" to="." method="_on_read_isa_pressed"] -[connection signal="pressed" from="TabContainer/Modul_fs/set_space/set_ferq" to="TabContainer/Modul_fs" method="_on_set_ferq"] -[connection signal="pressed" from="TabContainer/Modul_fs/set_space/set_att2" to="TabContainer/Modul_fs" method="_on_set_att"] -[connection signal="pressed" from="TabContainer/Modul_fs/manage_panel/con" to="TabContainer/Modul_fs" method="_on_start"] -[connection signal="pressed" from="TabContainer/Modul_fs/manage_panel/get_freq" to="TabContainer/Modul_fs" method="_on_send_pressed"] -[connection signal="pressed" from="TabContainer/Modul_fs/manage_panel/get_att" to="TabContainer/Modul_fs" method="_on_get_att"] -[connection signal="toggled" from="TabContainer/Modul_fs/manage_panel/get_gen_status" to="TabContainer/Modul_fs" method="_on_get_status"] -[connection signal="pressed" from="TabContainer/Modul_fs/manage_panel/dis_con" to="TabContainer/Modul_fs" method="_on_dis_con"] diff --git a/PRDB289.tmp b/PRDB289.tmp deleted file mode 100644 index 7618ff4..0000000 --- a/PRDB289.tmp +++ /dev/null @@ -1,333 +0,0 @@ -[gd_scene load_steps=26 format=3 uid="uid://cvor2jm4xk3ha"] - -[ext_resource type="Script" path="res://PRD.gd" id="1_v273n"] -[ext_resource type="Script" path="res://table/table.gd" id="2_vmbyo"] -[ext_resource type="Material" uid="uid://s6xe8igevnv2" path="res://Shaders/shader_edu.tres" id="3_3syd3"] -[ext_resource type="Shader" path="res://Shaders/ray.gdshader" id="4_uy5o2"] -[ext_resource type="Texture2D" uid="uid://62v0xejejuwj" path="res://Web.png" id="5_i3nvb"] -[ext_resource type="Texture2D" uid="uid://dkef6xwxwdxi8" path="res://эмс-бланк.png" id="7_hdx0f"] -[ext_resource type="Texture2D" uid="uid://b15flrfytxkop" path="res://эмс-бланк-пост.png" id="8_eaogg"] -[ext_resource type="Texture2D" uid="uid://ijdfo2mml54" path="res://эмс-бланк-перем.png" id="9_nctgk"] - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ewq4n"] -content_margin_left = 6.0 -content_margin_top = 5.0 -content_margin_right = 6.0 -content_margin_bottom = 5.0 -bg_color = Color(0.189, 0.216, 0.261, 1) -border_color = Color(0.147, 0.168, 0.203, 1) -corner_radius_top_left = 3 -corner_radius_top_right = 3 -corner_radius_bottom_right = 3 -corner_radius_bottom_left = 3 -corner_detail = 3 -anti_aliasing = false - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wlyk3"] -content_margin_left = 6.0 -content_margin_top = 5.0 -content_margin_right = 6.0 -content_margin_bottom = 5.0 -bg_color = Color(0.147, 0.168, 0.203, 1) -draw_center = false -border_width_left = 2 -border_width_top = 2 -border_width_right = 2 -border_width_bottom = 2 -border_color = Color(0.44, 0.73, 0.98, 1) -corner_radius_top_left = 3 -corner_radius_top_right = 3 -corner_radius_bottom_right = 3 -corner_radius_bottom_left = 3 -corner_detail = 3 -anti_aliasing = false - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2vbj6"] -bg_color = Color(0.388235, 0.227451, 0.290196, 1) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dm3xa"] -bg_color = Color(0.388235, 0.227451, 0.290196, 1) - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_h7n4k"] -content_margin_left = 6.0 -content_margin_top = 5.0 -content_margin_right = 6.0 -content_margin_bottom = 5.0 -bg_color = Color(0.128625, 0.147, 0.177625, 1) -border_color = Color(0.1155, 0.132, 0.1595, 1) -corner_radius_top_left = 3 -corner_radius_top_right = 3 -corner_radius_bottom_right = 3 -corner_radius_bottom_left = 3 -corner_detail = 3 -anti_aliasing = false - -[sub_resource type="Theme" id="Theme_k5ur4"] -Button/styles/disabled = SubResource("StyleBoxFlat_ewq4n") -Button/styles/focus = SubResource("StyleBoxFlat_wlyk3") -Button/styles/hover = SubResource("StyleBoxFlat_2vbj6") -Button/styles/normal = SubResource("StyleBoxFlat_dm3xa") -Button/styles/pressed = SubResource("StyleBoxFlat_h7n4k") - -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ovl8a"] -bg_color = Color(0.388235, 0.227451, 0.290196, 1) -corner_detail = 1 -anti_aliasing = false - -[sub_resource type="SpriteFrames" id="SpriteFrames_vex4t"] -animations = [{ -"frames": [{ -"duration": 1.0, -"texture": ExtResource("7_hdx0f") -}, { -"duration": 1.0, -"texture": ExtResource("8_eaogg") -}, { -"duration": 1.0, -"texture": ExtResource("9_nctgk") -}, { -"duration": 1.0, -"texture": null -}], -"loop": true, -"name": &"default", -"speed": 5.0 -}] - -[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_723du"] -size = Vector2(1600, 1200) - -[sub_resource type="GDScript" id="GDScript_0sobq"] -script/source = "extends Sprite2D - -" - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_o7txs"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_dgiai"] -shader = ExtResource("4_uy5o2") -shader_parameter/color_signal = Color(0.690196, 0.776471, 0, 1) -shader_parameter/turn = 0.785 - -[sub_resource type="Gradient" id="Gradient_ki0n7"] - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_0pk2o"] -gradient = SubResource("Gradient_ki0n7") - -[sub_resource type="Gradient" id="Gradient_jlp41"] -colors = PackedColorArray(0, 0.647059, 0, 1, 0, 0.266667, 0, 1) - -[sub_resource type="GradientTexture2D" id="GradientTexture2D_u3yy8"] -gradient = SubResource("Gradient_jlp41") -fill = 1 -fill_from = Vector2(0.5, 0.5) -fill_to = Vector2(1.145, 0) - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_otisn"] -texture = SubResource("GradientTexture2D_u3yy8") - -[node name="Node2D" type="Node2D"] -script = ExtResource("1_v273n") - -[node name="Background" type="ColorRect" parent="."] -offset_right = 2226.0 -offset_bottom = 1153.0 -color = Color(0.356863, 0.278431, 0.356863, 1) -metadata/_edit_lock_ = true - -[node name="Litera_2_4_6" type="ColorRect" parent="Background"] -offset_top = 54.0 -offset_right = 1788.0 -offset_bottom = 344.0 -color = Color(0.586231, 0.481877, 0.585869, 1) - -[node name="Litera_3_5_7" type="ColorRect" parent="Background"] -offset_top = 352.0 -offset_right = 1788.0 -offset_bottom = 642.0 -color = Color(0.669446, 0.567301, 0.66881, 1) - -[node name="select_dev" type="ScrollContainer" parent="."] -offset_left = 24.0 -offset_top = 22.0 -offset_right = 387.0 -offset_bottom = 54.0 -metadata/_edit_lock_ = true - -[node name="select_dev" type="GridContainer" parent="select_dev"] -layout_mode = 2 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="control_button" type="Button" parent="."] -offset_left = 24.0 -offset_top = 53.0 -offset_right = 118.0 -offset_bottom = 81.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme = SubResource("Theme_k5ur4") -theme_override_font_sizes/font_size = 14 -theme_override_styles/pressed = SubResource("StyleBoxFlat_ovl8a") -toggle_mode = true -button_pressed = true -text = "КОНТРОЛЬ" - -[node name="Controlpanel" type="ColorRect" parent="."] -offset_left = 118.0 -offset_top = 53.0 -offset_right = 465.0 -offset_bottom = 609.0 -color = Color(0.390334, 0.227948, 0.288326, 1) - -[node name="control_dev" type="ScrollContainer" parent="."] -offset_left = 142.0 -offset_top = 63.0 -offset_right = 477.0 -offset_bottom = 647.0 -metadata/_edit_lock_ = true - -[node name="control_tbl" type="GridContainer" parent="control_dev"] -layout_mode = 2 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="SZI_x" type="AnimatedSprite2D" parent="control_dev"] -position = Vector2(284, 404) -sprite_frames = SubResource("SpriteFrames_vex4t") -metadata/_edit_lock_ = true - -[node name="SZI_x2" type="AnimatedSprite2D" parent="control_dev"] -position = Vector2(284, 432) -sprite_frames = SubResource("SpriteFrames_vex4t") -metadata/_edit_lock_ = true - -[node name="SZI_x3" type="AnimatedSprite2D" parent="control_dev"] -position = Vector2(284, 460) -sprite_frames = SubResource("SpriteFrames_vex4t") -metadata/_edit_lock_ = true - -[node name="SZI_x4" type="AnimatedSprite2D" parent="control_dev"] -position = Vector2(284, 488) -sprite_frames = SubResource("SpriteFrames_vex4t") -metadata/_edit_lock_ = true - -[node name="SZI_x5" type="AnimatedSprite2D" parent="control_dev"] -position = Vector2(284, 517) -sprite_frames = SubResource("SpriteFrames_vex4t") -metadata/_edit_lock_ = true - -[node name="scroll1" type="ScrollContainer" parent="."] -offset_left = 985.0 -offset_top = 63.0 -offset_right = 1348.0 -offset_bottom = 344.0 -metadata/_edit_lock_ = true - -[node name="table1" type="GridContainer" parent="scroll1"] -layout_mode = 2 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="scroll2" type="ScrollContainer" parent="."] -offset_left = 985.0 -offset_top = 367.0 -offset_right = 1348.0 -offset_bottom = 655.0 -metadata/_edit_lock_ = true - -[node name="table2" type="GridContainer" parent="scroll2"] -layout_mode = 2 -script = ExtResource("2_vmbyo") -metadata/_edit_lock_ = true - -[node name="PSK" type="Sprite2D" parent="."] -material = ExtResource("3_3syd3") -position = Vector2(1388.25, 65) -scale = Vector2(0.247968, 0.234167) -texture = SubResource("PlaceholderTexture2D_723du") -offset = Vector2(800, 600) -script = SubResource("GDScript_0sobq") - -[node name="PSK grad" type="TextureRect" parent="PSK"] -modulate = Color(0, 0, 0, 1) -self_modulate = Color(0, 0, 0, 1) -show_behind_parent = true -material = SubResource("ShaderMaterial_o7txs") -offset_left = 554.954 -offset_top = -30.0 -offset_right = 1290.95 -offset_bottom = 1134.0 -texture = ExtResource("5_i3nvb") -expand_mode = 1 -metadata/_edit_lock_ = true - -[node name="ray" type="Sprite2D" parent="PSK"] -material = SubResource("ShaderMaterial_dgiai") -position = Vector2(549.221, 560.705) -scale = Vector2(21.8765, 21.6782) -texture = SubResource("GradientTexture2D_0pk2o") -metadata/_edit_lock_ = true - -[node name="LABEL" type="Label" parent="."] -offset_left = 594.0 -offset_top = 53.0 -offset_right = 876.0 -offset_bottom = 76.0 -text = "ЛИТЕРА 2! ПРД-Н!" - -[node name="Zapret" type="Button" parent="."] -offset_left = 594.0 -offset_top = 81.0 -offset_right = 712.0 -offset_bottom = 115.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn") -toggle_mode = true -text = " Запрет СИ2" - -[node name="LABEL2" type="Label" parent="."] -offset_left = 594.0 -offset_top = 365.0 -offset_right = 876.0 -offset_bottom = 388.0 -text = "ЛИТЕРА 3! ПРД-Н!" - -[node name="Zapret2" type="Button" parent="."] -offset_left = 594.0 -offset_top = 393.0 -offset_right = 712.0 -offset_bottom = 427.0 -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn") -toggle_mode = true -text = " Запрет СИ3" - -[node name="Label_luch" type="Label" parent="."] -offset_left = 594.0 -offset_top = 136.0 -offset_right = 876.0 -offset_bottom = 159.0 -text = "Номер и направление луча" - -[node name="LUCH" type="OptionButton" parent="."] -offset_left = 594.0 -offset_top = 168.0 -offset_right = 712.0 -offset_bottom = 199.0 -item_count = 2 -popup/item_0/text = "Что-то" -popup/item_1/text = "Что-то" -popup/item_1/id = 1 - -[node name="ISA" type="Label" parent="."] -offset_left = 1356.0 -offset_top = 4.0 -offset_right = 1555.0 -offset_bottom = 27.0 - -[connection signal="toggled" from="control_button" to="." method="_on_control_button"] -[connection signal="toggled" from="Zapret" to="." method="_on_zapret_si2"] -[connection signal="toggled" from="Zapret2" to="." method="_on_zapret_si2"] diff --git a/threads.txt b/threads.txt deleted file mode 100644 index 44573cd..0000000 --- a/threads.txt +++ /dev/null @@ -1,193 +0,0 @@ -'BackgroundThread.gd' -extends Node - -var semaphore: Semaphore -var mutex: Mutex -var thread: Thread -var exit_thread: bool = false - -var nodeWhoRequestedJob: Node -var delta: float = 0.0 -var address: String = "" -var port: int = 0 -var soc_brodcast: PacketPeerUDP -var soc_unicast: PacketPeerUDP -var unit: Object - -func _enter_tree(): - semaphore = Semaphore.new() - mutex = Mutex.new() - exit_thread = false - - thread = Thread.new() - thread.start(_thread_function) - -func _thread_function(): - while true: - semaphore.wait() # Wait until posted. - - mutex.lock() - var should_exit = exit_thread # Protect with Mutex. - mutex.unlock() - - if should_exit: - break - - mutex.lock() - var local_delta = delta - var local_address = address - var local_port = port - var local_soc_brodcast = soc_brodcast - var local_soc_unicast = soc_unicast - var local_unit = unit - mutex.unlock() - - # Выполнение задач - local_unit.poll_receive(local_soc_brodcast) - local_unit.poll_receive(local_soc_unicast) - local_unit.state_machine() - match local_unit.process(local_delta): - Error.OK: - nodeWhoRequestedJob.call_deferred('data_sent', local_address, local_port, local_unit.tx_data.slice(0, local_unit.tx_len)) - Error.FAILED: - nodeWhoRequestedJob.call_deferred('data_send_failed') - -func tellTheThreadToDoSomething(requester, delta, address, port, soc_brodcast, soc_unicast, unit): - mutex.lock() - nodeWhoRequestedJob = requester - self.delta = delta - self.address = address - self.port = port - self.soc_brodcast = soc_brodcast - self.soc_unicast = soc_unicast - self.unit = unit - mutex.unlock() - semaphore.post() - -func _exit_tree(): - # Set exit condition to true. - mutex.lock() - exit_thread = true # Protect with Mutex. - mutex.unlock() - - # Post to semaphore to wake up the thread. - semaphore.post() - - # Wait until it exits. - thread.wait_to_finish() - - - - - - - - - - - - - - - - -'Network.gd' -extends Node - -var unit = Yau07.YaU07.new('ЯУ07') -var soc_unicast: PacketPeerUDP -var soc_brodcast: PacketPeerUDP -var address: String = Constants.ADDRESSES[0][1] -var port: int = Constants.ADDRESSES[0][2] -var timeout: float = Yau07.ONLINE_TIMEOUT -var last_update_time: float = 0.0 -var broadcast_packet: PackedByteArray -var state = Constants.STATE.WAIT -var send_array: Array = [] - -signal yau_status_line(_status) ## Вызывается когда меняется состояние связи с ячейкой -signal yau_receive(_data_from_yau) ## -signal yau_read_isa(_unit_isa_ports) - -## Класс для отправки данных в сокет -class Socket extends PacketPeerUDP: - func send_to(addr: String, port: int, data: PackedByteArray): - self.set_dest_address(addr, port) - self.put_packet(data) - -func poll_receive(sock: PacketPeerUDP) -> bool: ## Приёмник - if timeout - last_update_time > 0: - while sock.get_available_packet_count() > 0: - broadcast_packet = sock.get_packet() - var addr_receive = sock.get_packet_ip() - var port_receive = sock.get_packet_port() - - if (address == addr_receive) and (port == port_receive): - last_update_time = 0.0 - unit.parse(broadcast_packet) - var data_from_yau_07 = unit.status - emit_signal('yau_receive', data_from_yau_07) - else: - if sock.get_available_packet_count(): - last_update_time = 0.0 - return false - -func _ready() -> void: - # Привязка для принятия широковещательного канала - soc_brodcast = Socket.new() - var rc = soc_brodcast.bind(Constants.BROADCAST_PORT, '*') - if rc != OK: - print('Ошибка: Неудачная привязка широковещательного адреса') - - soc_unicast = Socket.new() - rc = soc_unicast.bind(Constants.UNICAST_PORT, Constants.UNICAST_ADDRESS) - if rc != OK: - print('Ошибка: неудачная привязка адреса: ', address) - - unit.connect('line_changed', Callable(self, 'on_line_changed')) - unit.connect('command_fail', Callable(self, 'on_command_fail')) - - # Создание и запуск фонового потока - var background_thread_node = BackgroundThread.new() - add_child(background_thread_node) - background_thread_node.name = "BackgroundThreadNode" - -func _process(delta: float) -> void: - last_update_time += delta - background_thread_node.tellTheThreadToDoSomething(self, delta, address, port, soc_brodcast, soc_unicast, unit) - -func state_machine(): - var fl_done = (unit.cmd_state == unit.CmdState.DONE) - ## Режим ожидания - if state == Constants.STATE.WAIT and fl_done: - if send_array.size(): - state = Constants.STATE.READ_ISA if send_array[0][0] == 'rd' else Constants.STATE.WRITE_ISA - ## Режим чтения из ИСА - elif state == Constants.STATE.READ_ISA and fl_done: - var ports_read = send_array.pop_front() - unit.send_isa(unit.CmdCode.READ_ISA, ports_read[1]) - state = Constants.STATE.DONE - ## Режим записи в ИСА - elif state == Constants.STATE.WRITE_ISA and fl_done: - var ports_write = send_array.pop_front() - var key = ports_write[1].keys() - unit.send_isa(unit.CmdCode.WRITE_ISA, [key[0], ports_write[1][key[0]]]) - state = Constants.STATE.WAIT - elif state == Constants.STATE.DONE and fl_done: - emit_signal('yau_read_isa', unit.isa_ports) - state = Constants.STATE.WAIT - - -func on_line_changed(_unit) -> void: - emit_signal('yau_status_line', unit.online) - - -## Если отсутствует подключение к ячейке ЯУ-07 -func on_command_fail(_unit) -> void: - print_debug('Command send fail') - -func data_sent(address, port, data): - soc_unicast.send_to(address, port, data) - -func data_send_failed(): - print('Ошибка отправки данных') \ No newline at end of file