New fs class for prd

This commit is contained in:
Maxim
2025-07-09 11:37:32 +03:00
parent 1982125fc7
commit 3242b70078
3 changed files with 95 additions and 307 deletions

View File

@@ -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]