Ignore:
Timestamp:
09/19/23 11:04:56 (8 months ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

The flight contains if its departure gate is taxi-through

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/flight.py

    r1097 r1106  
    1717from mlx.rpc import BookedFlight
    1818import mlx.web as web
     19from mlx.gates import lhbpGates
    1920
    2021import datetime
     
    65586559        self.setCurrentPage(firstPage)
    65596560        #self.setCurrentPage(10)
     6561
     6562    @property
     6563    def isDepartureGateTaxiThrough(self):
     6564        """Determine if the departure gate is a taxi-through one."""
     6565        if self._departureGate=="-":
     6566            return True
     6567        else:
     6568            gate = lhbpGates.find(self._departureGate)
     6569            return False if gate is None else gate.taxiThrough
    65606570
    65616571    def login(self, callback, pilotID, password):
Note: See TracChangeset for help on using the changeset viewer.