correct signs
This commit is contained in:
@@ -159,26 +159,26 @@ func set_frame(node: Node, val: int): node.set_frame(val)
|
||||
|
||||
|
||||
func _on_prd_select() -> void:
|
||||
$TabContainer.current_tab = 0
|
||||
$Background/side_panel/select_prd.button_pressed = true
|
||||
$Background/side_panel/select_control.button_pressed = false
|
||||
$Background/side_panel/select_ems_g.button_pressed = false
|
||||
set_tab_and_buttons(0, 'select_prd')
|
||||
|
||||
|
||||
func _on_control_button() -> void:
|
||||
$TabContainer.current_tab = 1
|
||||
$Background/side_panel/select_control.button_pressed = true
|
||||
$Background/side_panel/select_prd.button_pressed = false
|
||||
$Background/side_panel/select_ems_g.button_pressed = false
|
||||
set_tab_and_buttons(1, 'select_control')
|
||||
|
||||
|
||||
func _on_emsg_select() -> void:
|
||||
emit_signal('read_ems_g_start')
|
||||
$TabContainer.current_tab = 2
|
||||
$Background/side_panel/select_ems_g.button_pressed = true
|
||||
$Background/side_panel/select_control.button_pressed = false
|
||||
$Background/side_panel/select_prd.button_pressed = false
|
||||
set_tab_and_buttons(2, 'select_ems_g')
|
||||
|
||||
|
||||
func set_tab_and_buttons(tab_index: int, button_name: String) -> void:
|
||||
$TabContainer.current_tab = tab_index
|
||||
var side_panel = $Background/side_panel
|
||||
|
||||
for button in side_panel.get_children():
|
||||
if button is Button:
|
||||
button.button_pressed = (button.name == button_name)
|
||||
|
||||
|
||||
func on_btn_select(intem_from_sector):
|
||||
var node_select_device = $TabContainer/PRD/select_dev/select_dev
|
||||
|
||||
@@ -56,31 +56,31 @@ const INPUT_EMS_G: Array = [
|
||||
'06 :39',
|
||||
'07 :40',
|
||||
'08 :41',
|
||||
'18 :42',
|
||||
'19 :43',
|
||||
'20 :44',
|
||||
'21 :45',
|
||||
'22 :46',
|
||||
'23 :47',
|
||||
'24 :48',
|
||||
'25 :49',]
|
||||
'18 :34',
|
||||
'19 :35',
|
||||
'20 :36',
|
||||
'21 :37',
|
||||
'22 :38',
|
||||
'23 :39',
|
||||
'24 :40',
|
||||
'25 :41',]
|
||||
const OUT_EMS_G: Array = [
|
||||
[47, '10 :34'],
|
||||
[48, '11 :35'],
|
||||
[49, '12 :36'],
|
||||
[50, '13 :37'],
|
||||
[51, '14 :38'],
|
||||
[52, '15 :39'],
|
||||
[53, '16 :40'],
|
||||
[54, '17 :41'],
|
||||
[55, '26 :42'],
|
||||
[56, '27 :43'],
|
||||
[57, '28 :44'],
|
||||
[58, '29 :45'],
|
||||
[59, '30 :46'],
|
||||
[60, '31 :47'],
|
||||
[61, '32 :48'],
|
||||
[62, '33 :49']]
|
||||
[47, '10 :43'],
|
||||
[48, '11 :44'],
|
||||
[49, '12 :45'],
|
||||
[50, '13 :46'],
|
||||
[51, '14 :47'],
|
||||
[52, '15 :48'],
|
||||
[53, '16 :49'],
|
||||
[54, '17 :50'],
|
||||
[55, '26 :43'],
|
||||
[56, '27 :44'],
|
||||
[57, '28 :45'],
|
||||
[58, '29 :46'],
|
||||
[59, '30 :47'],
|
||||
[60, '31 :48'],
|
||||
[61, '32 :49'],
|
||||
[62, '33 :50']]
|
||||
const OUT_x128: Array = [
|
||||
'Р',
|
||||
'К',
|
||||
|
||||
Reference in New Issue
Block a user