Explorar el Código

send the sequence to euroscope

Sven Czarnian hace 3 años
padre
commit
d6b85b1660
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  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()