Exemple #1
0
 def active_runway(self, conditions: Conditions,
                   dynamic_runways: Dict[str, RunwayData]) -> RunwayData:
     logging.warning("TODO: FOBs have no runways.")
     return RunwayData(self.full_name, runway_heading=0, runway_name="")
Exemple #2
0
 def active_runway(self, conditions: Conditions,
                   dynamic_runways: Dict[str, RunwayData]) -> RunwayData:
     # TODO: Assign TACAN and ICLS earlier so we don't need this.
     fallback = RunwayData(self.full_name, runway_heading=0, runway_name="")
     return dynamic_runways.get(self.name, fallback)