Ignore:
Timestamp:
04/21/12 14:49:45 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

The PIREP can be created and sent.

File:
1 edited

Legend:

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

    r96 r97  
    120120
    121121    @property
     122    def logger(self):
     123        """Get the logger used by us."""
     124        return self._logger
     125       
     126    @property
    122127    def simulator(self):
    123128        """Get the simulator used by us."""
     
    130135
    131136    @property
     137    def bookedFlight(self):
     138        """Get the booked flight selected, if any."""
     139        return self._wizard.bookedFlight
     140
     141    @property
     142    def cargoWeight(self):
     143        """Get the cargo weight."""
     144        return self._wizard.cargoWeight
     145
     146    @property
    132147    def zfw(self):
    133148        """Get Zero-Fuel Weight calculated for the current flight."""
     
    135150       
    136151    @property
     152    def filedCruiseAltitude(self):
     153        """Get cruise altitude filed for the current flight."""
     154        return self._wizard.filedCruiseAltitude
     155       
     156    @property
    137157    def cruiseAltitude(self):
    138         """Get cruise altitude calculated for the current flight."""
     158        """Get cruise altitude set for the current flight."""
    139159        return self._wizard.cruiseAltitude
    140        
     160
     161    @property
     162    def route(self):
     163        """Get the flight route."""
     164        return self._wizard.route
     165
     166    @property
     167    def departureMETAR(self):
     168        """Get the METAR of the deprature airport."""
     169        return self._wizard.departureMETAR
     170       
     171    @property
     172    def arrivalMETAR(self):
     173        """Get the METAR of the deprature airport."""
     174        return self._wizard.arrivalMETAR
     175
     176    @property
     177    def departureRunway(self):
     178        """Get the name of the departure runway."""
     179        return self._wizard.departureRunway
     180       
     181    @property
     182    def sid(self):
     183        """Get the SID."""
     184        return self._wizard.sid
     185
    141186    @property
    142187    def v1(self):
     
    155200       
    156201    @property
     202    def arrivalRunway(self):
     203        """Get the arrival runway."""
     204        return self._wizard.arrivalRunway
     205
     206    @property
     207    def star(self):
     208        """Get the STAR."""
     209        return self._wizard.star
     210
     211    @property
     212    def transition(self):
     213        """Get the transition."""
     214        return self._wizard.transition
     215
     216    @property
     217    def approachType(self):
     218        """Get the approach type."""
     219        return self._wizard.approachType
     220
     221    @property
    157222    def vref(self):
    158223        """Get the Vref speed calculated for the flight."""
    159224        return self._wizard.vref
    160225       
     226    @property
     227    def flightType(self):
     228        """Get the flight type."""
     229        return self._wizard.flightType
     230
     231    @property
     232    def online(self):
     233        """Get whether the flight was online or not."""
     234        return self._wizard.online
     235
     236    @property
     237    def comments(self):
     238        """Get the comments."""
     239        return self._flightInfo.comments
     240
     241    @property
     242    def flightDefects(self):
     243        """Get the flight defects."""
     244        return self._flightInfo.flightDefects
     245
    161246    def run(self):
    162247        """Run the GUI."""
Note: See TracChangeset for help on using the changeset viewer.