store the WTC in the inbound itself
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user