update the interface

This commit is contained in:
Sven Czarnian
2021-11-11 11:06:37 +01:00
parent 014ea5fa0a
commit e450b58428

View File

@@ -96,7 +96,7 @@ class Worker(Thread):
if 0 != report.distanceToIAF and '' != report.initialApproachFix: if 0 != report.distanceToIAF and '' != report.initialApproachFix:
inbound = Inbound(report, self.sequencingConfiguration, self.Configuration.GngData, self.PerformanceData, self.WeatherModel) inbound = Inbound(report, self.sequencingConfiguration, self.Configuration.GngData, self.PerformanceData, self.WeatherModel)
if None != inbound.PlannedRunway and None != inbound.PlannedStar: if None != inbound.PlannedRunway and None != inbound.PlannedStar:
self.RecedingHorizonControl.update(inbound) self.RecedingHorizonControl.updateReport(inbound)
else: else:
print('Unable to find all data of ' + report.aircraft.callsign) print('Unable to find all data of ' + report.aircraft.callsign)
@@ -127,8 +127,7 @@ class Worker(Thread):
if None != aco.Result: if None != aco.Result:
print('ACO-Sequence:') print('ACO-Sequence:')
for inbound in aco.Result: for inbound in aco.Result:
print(' ' + inbound.Callsign + ': ' + inbound.PlannedRunway.Name + ' @ ' + str(inbound.PlannedArrivalTime) + self.RecedingHorizonControl.resequenceInbound(inbound)
' dt=' + str((inbound.PlannedArrivalTime - inbound.InitialArrivalTime).total_seconds()))
print('Delays: FCFS=' + str(aco.FcfsDelay.total_seconds()) + ', ACO=' + str(aco.ResultDelay.total_seconds())) print('Delays: FCFS=' + str(aco.FcfsDelay.total_seconds()) + ', ACO=' + str(aco.ResultDelay.total_seconds()))
# measure the exuction time of the overall optimization process # measure the exuction time of the overall optimization process