From e450b58428c45df236b3e23c81f955d4ed77c6e2 Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Thu, 11 Nov 2021 11:06:37 +0100 Subject: [PATCH] update the interface --- aman/sys/Worker.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/aman/sys/Worker.py b/aman/sys/Worker.py index 603df3b..49dbe5b 100644 --- a/aman/sys/Worker.py +++ b/aman/sys/Worker.py @@ -96,7 +96,7 @@ class Worker(Thread): if 0 != report.distanceToIAF and '' != report.initialApproachFix: inbound = Inbound(report, self.sequencingConfiguration, self.Configuration.GngData, self.PerformanceData, self.WeatherModel) if None != inbound.PlannedRunway and None != inbound.PlannedStar: - self.RecedingHorizonControl.update(inbound) + self.RecedingHorizonControl.updateReport(inbound) else: print('Unable to find all data of ' + report.aircraft.callsign) @@ -127,8 +127,7 @@ class Worker(Thread): if None != aco.Result: print('ACO-Sequence:') for inbound in aco.Result: - print(' ' + inbound.Callsign + ': ' + inbound.PlannedRunway.Name + ' @ ' + str(inbound.PlannedArrivalTime) + - ' dt=' + str((inbound.PlannedArrivalTime - inbound.InitialArrivalTime).total_seconds())) + self.RecedingHorizonControl.resequenceInbound(inbound) print('Delays: FCFS=' + str(aco.FcfsDelay.total_seconds()) + ', ACO=' + str(aco.ResultDelay.total_seconds())) # measure the exuction time of the overall optimization process