Добавлен запрет СИ2

This commit is contained in:
2024-12-12 23:45:39 +03:00
parent 45c833b6f3
commit 3d43b6bccf
6 changed files with 651 additions and 49 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=17 format=3 uid="uid://cvor2jm4xk3ha"]
[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"]
@@ -9,6 +9,66 @@
[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
@@ -54,6 +114,18 @@ shader_parameter/turn = 0.785
[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")
@@ -63,6 +135,25 @@ 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 = 2182.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 = 2182.0
offset_bottom = 642.0
color = Color(0.669446, 0.567301, 0.66881, 1)
[node name="Litera_1" type="ColorRect" parent="Background"]
visible = false
offset_top = 647.0
offset_right = 2182.0
offset_bottom = 793.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
@@ -81,6 +172,8 @@ 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
@@ -135,7 +228,7 @@ metadata/_edit_lock_ = true
offset_left = 985.0
offset_top = 63.0
offset_right = 1348.0
offset_bottom = 647.0
offset_bottom = 344.0
metadata/_edit_lock_ = true
[node name="table1" type="GridContainer" parent="scroll1"]
@@ -143,10 +236,22 @@ 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(1243, 81)
scale = Vector2(0.340625, 0.321666)
position = Vector2(1388.25, 65)
scale = Vector2(0.247968, 0.234167)
texture = SubResource("PlaceholderTexture2D_723du")
offset = Vector2(800, 600)
script = SubResource("GDScript_0sobq")
@@ -171,6 +276,34 @@ scale = Vector2(21.8765, 21.6782)
texture = SubResource("GradientTexture2D_0pk2o")
metadata/_edit_lock_ = true
[node name="PSK2" type="Sprite2D" parent="."]
material = ExtResource("3_3syd3")
position = Vector2(1388, 362)
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="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="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="LABEL" type="Label" parent="."]
offset_left = 594.0
offset_top = 53.0
@@ -182,8 +315,32 @@ text = "ЛИТЕРА 2! ПРД-Н!"
offset_left = 594.0
offset_top = 81.0
offset_right = 712.0
offset_bottom = 124.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"
metadata/litera = 48
[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"
metadata/litera = 49
[node name="Label_luch" type="Label" parent="."]
offset_left = 594.0
@@ -202,4 +359,53 @@ popup/item_0/text = "Что-то"
popup/item_1/text = "Что-то"
popup/item_1/id = 1
[node name="ISA" type="Label" parent="."]
offset_left = 1492.0
offset_top = 11.0
offset_right = 1743.0
offset_bottom = 34.0
[node name="read_isa" type="Button" parent="."]
offset_left = 1360.0
offset_top = 7.0
offset_right = 1483.0
offset_bottom = 38.0
text = "Прочитать ISA"
[node name="Modul" type="Label" parent="."]
offset_left = 594.0
offset_top = 438.0
offset_right = 738.0
offset_bottom = 461.0
text = "Модуляция"
[node name="DKM2" type="Label" parent="."]
offset_left = 594.0
offset_top = 219.0
offset_right = 736.0
offset_bottom = 242.0
text = "ДКМ ДОУ 2"
[node name="DKM3" type="Label" parent="."]
offset_left = 594.0
offset_top = 467.0
offset_right = 736.0
offset_bottom = 490.0
text = "ДКМ ДОУ 3"
[node name="FGOZ2" type="Label" parent="."]
offset_left = 594.0
offset_top = 242.0
offset_right = 767.0
offset_bottom = 265.0
text = "ФГОЗ 2"
[node name="FGOZ3" type="Label" parent="."]
offset_left = 594.0
offset_top = 490.0
offset_right = 767.0
offset_bottom = 513.0
text = "ФГОЗ 3"
[connection signal="toggled" from="control_button" to="." method="_on_control_button"]
[connection signal="pressed" from="read_isa" to="." method="_on_read_isa_pressed"]