浏览代码

send the sequence to euroscope

Sven Czarnian 3 年之前
父节点
当前提交
d6b85b1660
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      aman/sys/Worker.py

+ 4 - 4
aman/sys/Worker.py

@@ -141,9 +141,9 @@ class Worker(Thread):
             else:
             else:
                 print('No relevant inbounds found for the optimization in ' + self.Icao)
                 print('No relevant inbounds found for the optimization in ' + self.Icao)
 
 
-            # send the sequence to the GUI
-            self.WebUi.sendSequence(self.Icao, self.RecedingHorizonControl.sequence())
-
-            # TODO send the sequence to EuroScope
+            # send the sequence to the GUI and Euroscope
+            sequence = self.RecedingHorizonControl.sequence()
+            self.WebUi.sendSequence(self.Icao, sequence)
+            self.Euroscope.sendSequence(self.Icao, sequence)
 
 
             self.releaseLock()
             self.releaseLock()