Ignore:
Timestamp:
05/13/12 07:52:31 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Checklist saving/restoring and editing is implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/const.py

    r170 r175  
    7777# Aircraft type: Yakovlev Yak-40
    7878AIRCRAFT_YK40 = 15
     79
     80#-------------------------------------------------------------------------------
     81
     82# The list of aircraft types that we know of
     83# The order is mostly from most recent to oldest considering
     84# Malev's history
     85aircraftTypes = [AIRCRAFT_B736, AIRCRAFT_B737, AIRCRAFT_B738,
     86                 AIRCRAFT_DH8D,
     87                 AIRCRAFT_F70, AIRCRAFT_CRJ2,
     88                 AIRCRAFT_B762, AIRCRAFT_B763,
     89                 AIRCRAFT_B733, AIRCRAFT_B734, AIRCRAFT_B735,
     90                 AIRCRAFT_T154, AIRCRAFT_T134,
     91                 AIRCRAFT_YK40, AIRCRAFT_DC3]
     92
     93#-------------------------------------------------------------------------------
     94
     95# A mapping of aircraft types to their ICAO codes
     96icaoCodes = { AIRCRAFT_B736 : "B736",
     97              AIRCRAFT_B737 : "B737",
     98              AIRCRAFT_B738 : "B738",
     99              AIRCRAFT_B733 : "B733",
     100              AIRCRAFT_B734 : "B734",
     101              AIRCRAFT_B735 : "B735",
     102              AIRCRAFT_DH8D : "DH8D",
     103              AIRCRAFT_B762 : "B762",
     104              AIRCRAFT_B763 : "B763",
     105              AIRCRAFT_CRJ2 : "CRJ2",
     106              AIRCRAFT_F70  : "F70",
     107              AIRCRAFT_DC3  : "DC3",
     108              AIRCRAFT_T134 : "T134",
     109              AIRCRAFT_T154 : "T154",
     110              AIRCRAFT_YK40 : "YK40" }
    79111
    80112#-------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.