Ignore:
Timestamp:
03/16/18 08:58:18 (6 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Aircraft type information (currently DOW, and crew-specific DOW values) are queried via RPC when logging in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/const.py

    r895 r898  
    224224              AIRCRAFT_T154  : "T154",
    225225              AIRCRAFT_YK40  : "YK40",
    226               AIRCRAFT_B462  : "B462" }
     226              AIRCRAFT_B462  : "B462",
     227              AIRCRAFT_IL62  : "IL62" }
     228
     229#-------------------------------------------------------------------------------
     230
     231## A mapping from ICAO codes to the corresponding aircraft types
     232icao2Type = { "B736" : AIRCRAFT_B736,
     233              "B737" : AIRCRAFT_B737,
     234              "B738" : AIRCRAFT_B738,
     235              "B732" : AIRCRAFT_B732,
     236              "B733" : AIRCRAFT_B733,
     237              "B734" : AIRCRAFT_B734,
     238              "B735" : AIRCRAFT_B735,
     239              "DH8D" : AIRCRAFT_DH8D,
     240              "B762" : AIRCRAFT_B762,
     241              "B763" : AIRCRAFT_B763,
     242              "CRJ2" : AIRCRAFT_CRJ2,
     243              "F70"  : AIRCRAFT_F70,
     244              "DC3"  : AIRCRAFT_DC3,
     245              "T134" : AIRCRAFT_T134,
     246              "T154" : AIRCRAFT_T154,
     247              "YK40" : AIRCRAFT_YK40,
     248              "B462" : AIRCRAFT_B462,
     249              "IL62" : AIRCRAFT_IL62 }
    227250
    228251#-------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.