Просмотр исходного кода

update the report time to allow predictions

Sven Czarnian 3 лет назад
Родитель
Сommit
74b8ec33d5
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      aman/sys/RecedingHorizonControl.py

+ 1 - 0
aman/sys/RecedingHorizonControl.py

@@ -70,6 +70,7 @@ class RecedingHorizonControl:
 
             plannedInbound = self.Windows[index].inbound(inbound.Callsign)
             plannedInbound.Report = inbound.Report
+            plannedInbound.ReportTime = inbound.ReportTime
             plannedInbound.CurrentPosition = inbound.CurrentPosition
             # ingore fixed updates
             if True == plannedInbound.FixedSequence or index < self.FreezedIndex: