|
@@ -1,6 +1,7 @@
|
|
#!/usr/bin/env python
|
|
#!/usr/bin/env python
|
|
|
|
|
|
import threading
|
|
import threading
|
|
|
|
+import time
|
|
|
|
|
|
from aman.config.Airport import Airport
|
|
from aman.config.Airport import Airport
|
|
|
|
|
|
@@ -16,6 +17,13 @@ class Worker(threading.Thread):
|
|
self.stopThread = True
|
|
self.stopThread = True
|
|
|
|
|
|
def run(self):
|
|
def run(self):
|
|
|
|
+ counter = 0
|
|
|
|
+
|
|
while None == self.stopThread:
|
|
while None == self.stopThread:
|
|
|
|
+ time.sleep(1)
|
|
|
|
+ counter += 1
|
|
|
|
+ if 0 != (counter % 60):
|
|
|
|
+ continue
|
|
|
|
+
|
|
# TODO execute planning, etc.
|
|
# TODO execute planning, etc.
|
|
continue
|
|
continue
|