Kaynağa Gözat

send the sequence to euroscope

Sven Czarnian 3 yıl önce
ebeveyn
işleme
d6b85b1660
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4 4
      aman/sys/Worker.py

+ 4 - 4
aman/sys/Worker.py

@@ -141,9 +141,9 @@ class Worker(Thread):
             else:
                 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()