increase computational performance

This commit is contained in:
Sven Czarnian
2021-10-18 18:53:24 +02:00
parent d191da2303
commit 7c6d098812
6 changed files with 18 additions and 19 deletions

View File

@@ -28,6 +28,7 @@ class Inbound:
def __init__(self, report : AircraftReport_pb2.AircraftReport, sequencingConfig : AirportSequencing, navData : SctEseFormat,
performanceData : PerformanceData, weatherModel : WeatherModel):
self.Report = report
self.Callsign = report.aircraft.callsign
self.CurrentPosition = report.position
self.ReportTime = datetime.strptime(report.reportTime + '+0000', '%Y%m%d%H%M%S%z').replace(tzinfo = pytz.UTC)
self.InitialArrivalTime = None