Доработка контроля с ЭМС-Г
This commit is contained in:
@@ -199,6 +199,7 @@ func on_command_fail(_unit) -> void:
|
||||
|
||||
|
||||
func on_command_change_device(meta_device):
|
||||
send_array = []
|
||||
ip_address_yau = meta_device[0]
|
||||
ip_port_yau = meta_device[1]
|
||||
ip_fs_1 = meta_device[3]
|
||||
@@ -244,6 +245,10 @@ func start_work_fs():
|
||||
counter_fs_1 = 0
|
||||
unit_fs.start_session(counter_fs_1, client_fs_1)
|
||||
counter_fs_1 += 1
|
||||
unit_fs.set_gen_state(false, counter_fs_1, client_fs_1)
|
||||
counter_fs_1 += 1
|
||||
unit_fs.set_gen_state(true, counter_fs_1, client_fs_1)
|
||||
counter_fs_1 += 1
|
||||
unit_fs.get_gen_state(counter_fs_1, client_fs_1)
|
||||
counter_fs_1 += 1
|
||||
unit_fs.get_att_batch(counter_fs_1, client_fs_1)
|
||||
@@ -329,6 +334,10 @@ func start_work_fs_2():
|
||||
counter_fs_2 = 0
|
||||
unit_fs.start_session(counter_fs_2, client_fs_2)
|
||||
counter_fs_2 += 1
|
||||
unit_fs.set_gen_state(false, counter_fs_2, client_fs_2)
|
||||
counter_fs_2 += 1
|
||||
unit_fs.set_gen_state(true, counter_fs_2, client_fs_2)
|
||||
counter_fs_2 += 1
|
||||
unit_fs.set_att_batch(19.0, counter_fs_2, client_fs_2)
|
||||
counter_fs_2 += 1
|
||||
unit_fs.get_gen_state(counter_fs_2, client_fs_2)
|
||||
|
||||
Reference in New Issue
Block a user