소스 검색

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:
                 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()