отладка отказоустойчивости контроля
This commit is contained in:
@@ -231,6 +231,7 @@ func _ready() -> void:
|
||||
self.add_child(timer_modul_um)
|
||||
timer_modul_um.connect('timeout', Callable(self, '_on_timer_modul_um'))
|
||||
self.connect('write_ems_g_start', _on_write_ems_g)
|
||||
$Background/switch_panel/burgerButton.button_pressed = true
|
||||
|
||||
|
||||
func add_signs_scene():
|
||||
@@ -683,7 +684,6 @@ func _on_write_ems_g(data_to_ems_g: Dictionary):
|
||||
|
||||
func on_mode_select(intem_from_sector: int) -> void:
|
||||
var pribor_selec: String = Constants.ADDRESSES[intem_from_sector][0]
|
||||
_load_selected_file('user://saves/' + pribor_selec)
|
||||
var node_select_device: GDTable = $TabContainer/PRD/select_dev
|
||||
var get_select_device: Node = node_select_device.get_node2(1, 0)
|
||||
var meta: Array = get_select_device.get_item_metadata(intem_from_sector)
|
||||
@@ -698,6 +698,7 @@ func on_mode_select(intem_from_sector: int) -> void:
|
||||
$load_status_yau.value = 0
|
||||
emit_signal('read_ems_g_start')
|
||||
$load_status_yau.visible = true
|
||||
_load_selected_file('user://saves/' + pribor_selec)
|
||||
|
||||
|
||||
func _on_zapret_1(toggled_on: bool) -> void:
|
||||
@@ -1068,7 +1069,6 @@ func set_tab_and_buttons(tab_index: int, button_name: String, txt_button_name: S
|
||||
|
||||
func _on_connect_prd_pressed() -> void:
|
||||
var pribor_selec: int = $TabContainer/PRD/select_dev.get_node2(1, 0).get_selected_id()
|
||||
_load_selected_file('user://saves/' + Constants.ADDRESSES[pribor_selec][0])
|
||||
on_mode_select(pribor_selec)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user