New fs class for prd
This commit is contained in:
@@ -163,5 +163,18 @@ func on_command_change_device(meta_device):
|
||||
if unit_fs_2._stream:
|
||||
unit_fs_2.disconnect_fs()
|
||||
unit_fs_2.connect_to_host(meta_device[4], Constants.PORT_FS)
|
||||
#ip_fs_2 = meta_device[4]
|
||||
|
||||
await get_tree().create_timer(0.5).timeout
|
||||
if unit_fs_1.online:
|
||||
unit_fs_1.get_carrier()
|
||||
unit_fs_1.get_att_batch()
|
||||
unit_fs_1.get_gen_state()
|
||||
unit_fs_1.get_base_current_temp()
|
||||
unit_fs_1.get_base_can_macro()
|
||||
if unit_fs_2.online:
|
||||
unit_fs_2.get_carrier()
|
||||
unit_fs_2.get_att_batch()
|
||||
unit_fs_2.get_gen_state()
|
||||
unit_fs_2.get_base_current_temp()
|
||||
unit_fs_2.get_base_can_macro()
|
||||
#ip_fs_3 = meta_device[5]
|
||||
|
||||
Reference in New Issue
Block a user