store the WTC in the inbound itself

Bu işleme şunda yer alıyor:
Sven Czarnian
2021-10-18 12:42:31 +02:00
ebeveyn 12d77d0e71
işleme d191da2303

Dosyayı Görüntüle

@@ -37,6 +37,12 @@ class Inbound:
self.PlannedRunway = None
self.PlannedStar = None
self.ArrivalCandidates = {}
self.WTC = None
# analyze the WTC
wtc = report.aircraft.wtc.upper()
if 'L' == wtc or 'M' == wtc or 'H' == wtc or 'J' == wtc:
self.WTC = wtc
# search performance data -> fallback to A320
if self.Report.aircraft.type in performanceData.Aircrafts: