2021-10-29 18:48:12 +02:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# -*-coding:UTF-8 -*
|
|
|
|
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
import time
|
|
|
|
|
2022-11-28 15:01:40 +01:00
|
|
|
sys.path.append(os.environ['AIL_BIN'])
|
|
|
|
##################################
|
|
|
|
# Import Project packages
|
|
|
|
##################################
|
|
|
|
from core import ail_2_ail
|
2021-10-29 18:48:12 +02:00
|
|
|
|
2022-11-28 15:01:40 +01:00
|
|
|
# # TODO: launch me in core screen
|
2021-10-29 18:48:12 +02:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
|
|
|
|
Client_Manager = ail_2_ail.AIL2AILClientManager()
|
|
|
|
|
|
|
|
while True:
|
|
|
|
command = Client_Manager.get_manager_command()
|
|
|
|
if command:
|
|
|
|
Client_Manager.execute_manager_command(command)
|
|
|
|
else:
|
|
|
|
time.sleep(5)
|