Доработка машины состояния

This commit is contained in:
2024-10-04 09:38:05 +03:00
parent cbbb8cf5a7
commit 654bf85df8
4 changed files with 88 additions and 22 deletions

62
Pla7AC5.tmp Normal file
View File

@@ -0,0 +1,62 @@
[gd_scene load_steps=5 format=3 uid="uid://ccp4ypftnrbwq"]
[ext_resource type="Script" path="res://Main.gd" id="1_8v2wa"]
[ext_resource type="Script" path="res://table/table.gd" id="2_ri1qb"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_so1no"]
bg_color = Color(0, 0, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jbuuq"]
bg_color = Color(0.0901961, 0.52549, 0.0588235, 1)
[node name="Node2D" type="Node2D"]
script = ExtResource("1_8v2wa")
[node name="Background" type="ColorRect" parent="."]
offset_right = 1158.0
offset_bottom = 655.0
color = Color(0.313726, 0.227451, 0.290196, 1)
metadata/_edit_lock_ = true
[node name="scroll1" type="ScrollContainer" parent="."]
offset_left = 42.0
offset_top = 72.0
offset_right = 1135.0
offset_bottom = 265.0
metadata/_edit_lock_ = true
[node name="table1" type="GridContainer" parent="scroll1"]
layout_mode = 2
script = ExtResource("2_ri1qb")
metadata/_edit_lock_ = true
[node name="Turn_on" type="Button" parent="."]
offset_left = 963.0
offset_top = 72.0
offset_right = 1088.0
offset_bottom = 96.0
theme_override_font_sizes/font_size = 17
theme_override_styles/normal = SubResource("StyleBoxFlat_so1no")
theme_override_styles/pressed = SubResource("StyleBoxFlat_jbuuq")
toggle_mode = true
text = "Подключить"
metadata/_edit_lock_ = true
[node name="read_ISA" type="Button" parent="."]
offset_left = 963.0
offset_top = 100.0
offset_right = 1088.0
offset_bottom = 124.0
theme_override_styles/normal = SubResource("StyleBoxFlat_so1no")
theme_override_styles/pressed = SubResource("StyleBoxFlat_jbuuq")
text = "ПРОЧИТАТЬ"
metadata/_edit_lock_ = true
[node name="ISA" type="Label" parent="."]
offset_left = 46.0
offset_top = 179.0
offset_right = 999.0
offset_bottom = 202.0
metadata/_edit_lock_ = true
[connection signal="pressed" from="read_ISA" to="." method="_on_button_read"]