ems not work

This commit is contained in:
danil_tim
2025-02-07 11:00:57 +03:00
parent 35196b731f
commit 0f9c5abdc9
4 changed files with 295 additions and 194 deletions

View File

@@ -217,6 +217,7 @@ toggle_mode = true
text = "Модуль ФС"
[node name="save_config" type="Button" parent="Background/side_panel"]
layout_mode = 0
offset_top = 832.0
offset_right = 216.0
offset_bottom = 868.0
@@ -227,6 +228,7 @@ theme_override_styles/pressed = SubResource("StyleBoxFlat_p247y")
text = "Сохранить"
[node name="load_config" type="Button" parent="Background/side_panel"]
layout_mode = 0
offset_top = 872.0
offset_right = 216.0
offset_bottom = 908.0
@@ -270,7 +272,7 @@ text = "Прочитать ISA"
offset_left = 216.0
offset_top = 39.0
offset_right = 2420.0
offset_bottom = 917.0
offset_bottom = 940.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)
@@ -282,10 +284,11 @@ theme_override_styles/tab_selected = SubResource("StyleBoxTexture_k08q3")
theme_override_styles/tab_hovered = SubResource("StyleBoxTexture_dklg6")
theme_override_styles/tab_unselected = SubResource("StyleBoxTexture_17le6")
tab_alignment = 2
current_tab = 0
current_tab = 1
tab_focus_mode = 0
[node name="PRD" type="Panel" parent="TabContainer"]
visible = false
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_7u7p7")
metadata/_tab_index = 0
@@ -569,19 +572,18 @@ script = ExtResource("2_vmbyo")
node_gap = Vector2(100, 50)
[node name="ControlPanel" type="Panel" parent="TabContainer"]
visible = false
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_tn8m6")
script = ExtResource("9_akagi")
metadata/_tab_index = 1
metadata/_edit_lock_ = true
[node name="lbl_control" type="Label" parent="TabContainer/ControlPanel"]
[node name="label_control_PRD" type="Label" parent="TabContainer/ControlPanel"]
layout_mode = 0
offset_left = 4.0
offset_top = 21.0
offset_top = -44.0
offset_right = 624.0
offset_bottom = 52.0
offset_bottom = -13.0
theme_override_font_sizes/font_size = 22
text = "Контроль исправности прибора ПРД-Н"
horizontal_alignment = 1
@@ -590,36 +592,36 @@ vertical_alignment = 1
[node name="soc_y5" type="NinePatchRect" parent="TabContainer/ControlPanel"]
layout_mode = 0
offset_left = 199.0
offset_top = 103.0
offset_top = 8.0
offset_right = 516.0
offset_bottom = 293.0
offset_bottom = 198.0
texture = ExtResource("9_0r2qk")
patch_margin_left = 16
patch_margin_top = 16
patch_margin_right = 16
patch_margin_bottom = 16
[node name="ref_A24" parent="TabContainer/ControlPanel/soc_y5" instance=ExtResource("11_fg7ul")]
[node name="IP5_25" parent="TabContainer/ControlPanel/soc_y5" instance=ExtResource("11_fg7ul")]
offset_left = 9.0
offset_top = 34.0
offset_right = 59.0
offset_bottom = 184.0
textures = Array[Texture]([])
fname = "ИП-25"
fname = "ИП5-25"
rname = "A24"
metadata/_edit_lock_ = true
[node name="ref_A30" parent="TabContainer/ControlPanel/soc_y5" instance=ExtResource("11_fg7ul")]
[node name="ay07" parent="TabContainer/ControlPanel/soc_y5" instance=ExtResource("11_fg7ul")]
offset_left = 59.0
offset_top = 34.0
offset_right = 109.0
offset_bottom = 184.0
textures = Array[Texture]([])
fname = "ЯУ-07"
fname = "ЯУ-07Б"
rname = "A30"
metadata/_edit_lock_ = true
[node name="ref_A26" parent="TabContainer/ControlPanel/soc_y5" instance=ExtResource("11_fg7ul")]
[node name="ems_g" parent="TabContainer/ControlPanel/soc_y5" instance=ExtResource("11_fg7ul")]
offset_left = 109.0
offset_top = 34.0
offset_right = 159.0
@@ -629,7 +631,7 @@ fname = "ЭМС-Г"
rname = "A26"
metadata/_edit_lock_ = true
[node name="ref_A27" parent="TabContainer/ControlPanel/soc_y5" instance=ExtResource("11_fg7ul")]
[node name="ug" parent="TabContainer/ControlPanel/soc_y5" instance=ExtResource("11_fg7ul")]
offset_left = 159.0
offset_top = 34.0
offset_right = 209.0
@@ -639,7 +641,7 @@ fname = "УГ"
rname = "A27"
metadata/_edit_lock_ = true
[node name="ref_A28" parent="TabContainer/ControlPanel/soc_y5" instance=ExtResource("11_fg7ul")]
[node name="ukp_1" parent="TabContainer/ControlPanel/soc_y5" instance=ExtResource("11_fg7ul")]
offset_left = 209.0
offset_top = 34.0
offset_right = 259.0
@@ -650,7 +652,7 @@ fname = "УКП-1"
rname = "A28"
metadata/_edit_lock_ = true
[node name="ref_A29" parent="TabContainer/ControlPanel/soc_y5" instance=ExtResource("11_fg7ul")]
[node name="ukp_2" parent="TabContainer/ControlPanel/soc_y5" instance=ExtResource("11_fg7ul")]
offset_left = 259.0
offset_top = 34.0
offset_right = 309.0
@@ -660,7 +662,7 @@ fname = "УКП-2"
rname = "A29"
metadata/_edit_lock_ = true
[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/soc_y5"]
[node name="Kasseta" type="Label" parent="TabContainer/ControlPanel/soc_y5"]
self_modulate = Color(1, 1, 1, 0.62)
layout_mode = 0
offset_left = 7.0
@@ -671,15 +673,15 @@ text = "Кассета У5"
horizontal_alignment = 1
vertical_alignment = 1
[node name="soc_fs-nkvd" parent="TabContainer/ControlPanel" instance=ExtResource("10_tdh2s")]
[node name="Kasseta_FS" parent="TabContainer/ControlPanel" instance=ExtResource("10_tdh2s")]
layout_mode = 0
offset_left = 198.0
offset_top = 311.0
offset_right = 516.0
offset_bottom = 538.0
offset_left = 200.0
offset_top = 201.0
offset_right = 518.0
offset_bottom = 420.0
script = null
[node name="lbl_fname" type="Label" parent="TabContainer/ControlPanel/soc_fs-nkvd"]
[node name="Kasseta" type="Label" parent="TabContainer/ControlPanel/Kasseta_FS"]
self_modulate = Color(1, 1, 1, 0.62)
layout_mode = 0
offset_left = 7.0
@@ -691,150 +693,188 @@ horizontal_alignment = 1
vertical_alignment = 1
metadata/_edit_lock_ = true
[node name="ref_A3" parent="TabContainer/ControlPanel/soc_fs-nkvd" instance=ExtResource("11_fg7ul")]
[node name="ref_A3" parent="TabContainer/ControlPanel/Kasseta_FS" instance=ExtResource("11_fg7ul")]
offset_left = 109.0
offset_top = 68.0
offset_top = 41.0
offset_right = 159.0
offset_bottom = 218.0
offset_bottom = 211.0
textures = Array[Texture]([])
fname = "ФС-2"
self_size = Vector2i(50, 170)
fname = "БЛОК ФС-2"
rname = "A3"
metadata/_edit_lock_ = true
[node name="ref_A1" parent="TabContainer/ControlPanel/soc_fs-nkvd" instance=ExtResource("11_fg7ul")]
[node name="ref_A1" parent="TabContainer/ControlPanel/Kasseta_FS" instance=ExtResource("11_fg7ul")]
offset_left = 159.0
offset_top = 68.0
offset_top = 41.0
offset_right = 209.0
offset_bottom = 218.0
offset_bottom = 211.0
textures = Array[Texture]([])
fname = "Модуль"
self_size = Vector2i(50, 170)
fname = "Модуль ФС"
rname = "A1"
metadata/_edit_lock_ = true
[node name="ref_A2" parent="TabContainer/ControlPanel/soc_fs-nkvd" instance=ExtResource("11_fg7ul")]
[node name="ref_A2" parent="TabContainer/ControlPanel/Kasseta_FS" instance=ExtResource("11_fg7ul")]
offset_left = 209.0
offset_top = 68.0
offset_top = 41.0
offset_right = 259.0
offset_bottom = 217.0
offset_bottom = 211.0
textures = Array[Texture]([])
self_size = Vector2i(50, 149)
fname = "Модуль"
self_size = Vector2i(50, 170)
fname = "Модуль ФС"
rname = "A2"
metadata/_edit_lock_ = true
[node name="ref_A4" parent="TabContainer/ControlPanel/soc_fs-nkvd" instance=ExtResource("11_fg7ul")]
[node name="ref_A4" parent="TabContainer/ControlPanel/Kasseta_FS" instance=ExtResource("11_fg7ul")]
offset_left = 259.0
offset_top = 68.0
offset_top = 41.0
offset_right = 309.0
offset_bottom = 218.0
offset_bottom = 211.0
textures = Array[Texture]([])
fname = "ФС-3"
self_size = Vector2i(50, 170)
fname = "БЛОК ФС-3"
rname = "A4"
metadata/_edit_lock_ = true
[node name="Block_FS_PRD_K" parent="TabContainer/ControlPanel/Kasseta_FS" instance=ExtResource("11_fg7ul")]
offset_left = 12.0
offset_top = 41.0
offset_right = 62.0
offset_bottom = 211.0
textures = Array[Texture]([])
self_size = Vector2i(50, 170)
fname = "БЛОК ФС-1"
rname = "A4"
[node name="FS_PRD_K" parent="TabContainer/ControlPanel/Kasseta_FS" instance=ExtResource("11_fg7ul")]
offset_left = 61.0
offset_top = 41.0
offset_right = 111.0
offset_bottom = 211.0
textures = Array[Texture]([])
self_size = Vector2i(50, 170)
fname = "Модуль ФС"
rname = "A1"
[node name="soc_P1" type="NinePatchRect" parent="TabContainer/ControlPanel"]
layout_mode = 0
offset_left = 96.0
offset_top = 560.0
offset_right = 516.0
offset_bottom = 776.0
offset_left = 259.0
offset_top = 427.0
offset_right = 447.0
offset_bottom = 643.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/soc_P1"]
[node name="Kasseta" type="Label" parent="TabContainer/ControlPanel/soc_P1"]
self_modulate = Color(1, 1, 1, 0.62)
layout_mode = 0
offset_left = 7.0
offset_top = 8.0
offset_right = 409.0
offset_right = 181.0
offset_bottom = 33.0
text = "Кассета П-1"
horizontal_alignment = 1
vertical_alignment = 1
metadata/_edit_lock_ = true
[node name="ref_A23" parent="TabContainer/ControlPanel/soc_P1" instance=ExtResource("11_fg7ul")]
offset_left = 9.0
offset_top = 34.0
offset_right = 59.0
offset_bottom = 208.0
[node name="MAA_1" parent="TabContainer/ControlPanel/soc_P1" instance=ExtResource("11_fg7ul")]
offset_left = -63.0
offset_top = 36.0
offset_right = -13.0
offset_bottom = 210.0
textures = Array[Texture]([])
self_size = Vector2i(50, 174)
metadata/_edit_lock_ = true
fname = "МАА2000"
rname = "А22"
[node name="ref_A24" parent="TabContainer/ControlPanel/soc_P1" instance=ExtResource("11_fg7ul")]
offset_left = 59.0
offset_top = 34.0
offset_right = 109.0
offset_bottom = 208.0
[node name="MAA_2" parent="TabContainer/ControlPanel/soc_P1" instance=ExtResource("11_fg7ul")]
offset_left = 199.0
offset_top = 37.0
offset_right = 249.0
offset_bottom = 211.0
textures = Array[Texture]([])
self_size = Vector2i(50, 174)
metadata/_edit_lock_ = true
fname = "МАА2000"
rname = "А23"
[node name="ref_A25" parent="TabContainer/ControlPanel/soc_P1" instance=ExtResource("11_fg7ul")]
offset_left = 109.0
offset_top = 34.0
offset_right = 159.0
offset_bottom = 208.0
[node name="IP9_50_2" parent="TabContainer/ControlPanel/soc_P1" instance=ExtResource("11_fg7ul")]
offset_left = 129.0
offset_top = 37.0
offset_right = 179.0
offset_bottom = 211.0
textures = Array[Texture]([])
self_size = Vector2i(50, 174)
metadata/_edit_lock_ = true
fname = "ИП9-50"
rname = "А19"
[node name="ref_A26" parent="TabContainer/ControlPanel/soc_P1" instance=ExtResource("11_fg7ul")]
offset_left = 159.0
offset_top = 34.0
offset_right = 209.0
offset_bottom = 208.0
[node name="IP9_50_1" parent="TabContainer/ControlPanel/soc_P1" instance=ExtResource("11_fg7ul")]
offset_left = 73.0
offset_top = 37.0
offset_right = 123.0
offset_bottom = 211.0
textures = Array[Texture]([])
self_size = Vector2i(50, 174)
metadata/_edit_lock_ = true
fname = "ИП9-50"
rname = "А20"
[node name="ref_A27" parent="TabContainer/ControlPanel/soc_P1" instance=ExtResource("11_fg7ul")]
offset_left = 209.0
offset_top = 34.0
offset_right = 259.0
offset_bottom = 208.0
[node name="IP12_50" parent="TabContainer/ControlPanel/soc_P1" instance=ExtResource("11_fg7ul")]
offset_left = 16.0
offset_top = 37.0
offset_right = 66.0
offset_bottom = 211.0
textures = Array[Texture]([])
self_size = Vector2i(50, 174)
metadata/_edit_lock_ = true
fname = "ИП12-50"
rname = "A21"
[node name="ref_A28" parent="TabContainer/ControlPanel/soc_P1" instance=ExtResource("11_fg7ul")]
offset_left = 259.0
offset_top = 34.0
offset_right = 309.0
offset_bottom = 208.0
[node name="soc_P2" type="NinePatchRect" parent="TabContainer/ControlPanel"]
layout_mode = 0
offset_left = 258.0
offset_top = 649.0
offset_right = 446.0
offset_bottom = 865.0
texture = ExtResource("9_0r2qk")
patch_margin_left = 16
patch_margin_top = 16
patch_margin_right = 16
patch_margin_bottom = 16
[node name="Kasseta" type="Label" parent="TabContainer/ControlPanel/soc_P2"]
self_modulate = Color(1, 1, 1, 0.62)
layout_mode = 0
offset_left = 7.0
offset_top = 8.0
offset_right = 181.0
offset_bottom = 33.0
text = "Кассета П-2"
horizontal_alignment = 1
vertical_alignment = 1
[node name="IP9_50" parent="TabContainer/ControlPanel/soc_P2" instance=ExtResource("11_fg7ul")]
offset_left = 73.0
offset_top = 36.0
offset_right = 123.0
offset_bottom = 210.0
textures = Array[Texture]([])
self_size = Vector2i(50, 174)
metadata/_edit_lock_ = true
fname = "ИП9-50"
rname = "А22"
[node name="ref_A29" parent="TabContainer/ControlPanel/soc_P1" instance=ExtResource("11_fg7ul")]
offset_left = 309.0
offset_top = 34.0
offset_right = 359.0
offset_bottom = 208.0
[node name="IP12_50" parent="TabContainer/ControlPanel/soc_P2" instance=ExtResource("11_fg7ul")]
offset_left = 128.0
offset_top = 36.0
offset_right = 178.0
offset_bottom = 210.0
textures = Array[Texture]([])
self_size = Vector2i(50, 174)
metadata/_edit_lock_ = true
[node name="ref_A30" parent="TabContainer/ControlPanel/soc_P1" 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
fname = "ИП12-50"
rname = "A25"
[node name="Signal_EMS_G" type="NinePatchRect" parent="TabContainer/ControlPanel"]
layout_mode = 0
offset_left = 536.0
offset_top = 550.0
offset_right = 1055.0
offset_bottom = 777.0
offset_left = 592.0
offset_top = 193.0
offset_right = 1111.0
offset_bottom = 420.0
texture = ExtResource("9_0r2qk")
patch_margin_left = 16
patch_margin_top = 16
@@ -943,6 +983,13 @@ self_size = Vector2i(50, 178)
rname = "A33"
metadata/_edit_lock_ = true
[node name="device" type="Label" parent="TabContainer/ControlPanel"]
layout_mode = 0
offset_left = 1451.0
offset_top = 792.0
offset_right = 1616.0
offset_bottom = 847.0
[node name="EMS_G" type="Panel" parent="TabContainer"]
visible = false
layout_mode = 2