Отладка контроля, загрузки ЭМС-Г, состояния ЯУ-07

This commit is contained in:
Maxim
2025-05-27 09:57:39 +03:00
parent eba949f5d4
commit eb36856831
10 changed files with 267 additions and 147 deletions

View File

@@ -39,6 +39,11 @@ func _on_read_ems_g():
func _on_sync():
for index in 16:
for row in 16:
var chk_btn = node_select1.get_node2(index+2, row+3).get_child(1, false)
chk_btn.set_pressed_no_signal(false)
for index in 32:
var tmp_device_mode = Constants.EMS_G_PORT_DATA_HOLDER[index][0]
if tmp_device_mode > 46:
@@ -50,7 +55,7 @@ func _on_sync():
for row in 16:
if (port0x124 & (1 << row)) != 0:
var chk_btn = node_select1.get_node2(tmp_device_mode-45, row+3).get_child(1, false)
chk_btn.button_pressed =true
chk_btn.set_pressed_no_signal(true)
if key == 0x128:
port0x128 = Constants.EMS_G_PORT_DATA_HOLDER[index][1][key]
var list = node_select1.get_node2(tmp_device_mode-45, 0)