Changeset 790:e69a08004f40


Ignore:
Timestamp:
07/10/16 05:54:17 (8 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added support for the Boeing 737-200 aircraft type (weight data is still missing, re #302)

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • locale/en/mlx.po

    r769 r790  
    2727msgid "aircraft_b738c"
    2828msgstr "Boeing 737-800 (charter)"
     29
     30msgid "aircraft_b732"
     31msgstr "Boeing 737-200"
    2932
    3033msgid "aircraft_b733"
  • locale/hu/mlx.po

    r769 r790  
    2727msgid "aircraft_b738c"
    2828msgstr "Boeing 737-800 (charter)"
     29
     30msgid "aircraft_b732"
     31msgstr "Boeing 737-200"
    2932
    3033msgid "aircraft_b733"
  • src/mlx/acft.py

    r709 r790  
    789789#---------------------------------------------------------------------------------------
    790790
     791class B732(Boeing737CL):
     792    """Boeing 737-200 aircraft."""
     793    def __init__(self, flight):
     794        super(B732, self).__init__(flight)
     795        self.dow = 32700
     796        self.mtow = 62820
     797        self.mlw = 51700
     798        self.mzfw = 48410
     799        self.maxTakeOffPitch = 13.4
     800        self.maxTouchDownPitch = 12.0
     801
     802#---------------------------------------------------------------------------------------
     803
    791804class B733(Boeing737CL):
    792805    """Boeing 737-300 aircraft."""
     
    12011214             const.AIRCRAFT_B738  : B738,
    12021215             const.AIRCRAFT_B738C : B738Charter,
     1216             const.AIRCRAFT_B732  : B732,
    12031217             const.AIRCRAFT_B733  : B733,
    12041218             const.AIRCRAFT_B734  : B734,
  • src/mlx/const.py

    r786 r790  
    6262## Aircraft type: Boeing 737-800 (charter configuration)
    6363AIRCRAFT_B738C = 16
     64
     65## Aircraft type: Boeing 737-200
     66AIRCRAFT_B732 = 18
    6467
    6568## Aircraft type: Boeing 737-300
     
    112115                 AIRCRAFT_F70, AIRCRAFT_CRJ2,
    113116                 AIRCRAFT_B762, AIRCRAFT_B763,
    114                  AIRCRAFT_B733, AIRCRAFT_B734, AIRCRAFT_B735,
     117                 AIRCRAFT_B732, AIRCRAFT_B733, AIRCRAFT_B734, AIRCRAFT_B735,
    115118                 AIRCRAFT_T154, AIRCRAFT_T134,
    116119                 AIRCRAFT_YK40, AIRCRAFT_DC3,
     
    125128              AIRCRAFT_B738  : "B738",
    126129              AIRCRAFT_B738C : "B738C",
     130              AIRCRAFT_B732  : "B732",
    127131              AIRCRAFT_B733  : "B733",
    128132              AIRCRAFT_B734  : "B734",
  • src/mlx/fsuipc.py

    r789 r790  
    21842184                   const.AIRCRAFT_B738  : B737Model,
    21852185                   const.AIRCRAFT_B738C : B737Model,
     2186                   const.AIRCRAFT_B732  : B737Model,
    21862187                   const.AIRCRAFT_B733  : B737Model,
    21872188                   const.AIRCRAFT_B734  : B737Model,
  • src/mlx/gui/common.py

    r741 r790  
    415415                  _const.AIRCRAFT_B738  : xstr("aircraft_b738"),
    416416                  _const.AIRCRAFT_B738C : xstr("aircraft_b738c"),
     417                  _const.AIRCRAFT_B732  : xstr("aircraft_b732"),
    417418                  _const.AIRCRAFT_B733  : xstr("aircraft_b733"),
    418419                  _const.AIRCRAFT_B734  : xstr("aircraft_b734"),
  • src/mlx/rpc.py

    r769 r790  
    4949                      "738"  : const.AIRCRAFT_B738,
    5050                      "73H"  : const.AIRCRAFT_B738C,
     51                      "732"  : const.AIRCRAFT_B732,
    5152                      "733"  : const.AIRCRAFT_B733,
    5253                      "734"  : const.AIRCRAFT_B734,
  • src/mlx/web.py

    r771 r790  
    5959                      "738"  : const.AIRCRAFT_B738,
    6060                      "73H"  : const.AIRCRAFT_B738C,
     61                      "732"  : const.AIRCRAFT_B732,
    6162                      "733"  : const.AIRCRAFT_B733,
    6263                      "734"  : const.AIRCRAFT_B734,
     
    7778                      const.AIRCRAFT_B738  : "738",
    7879                      const.AIRCRAFT_B738C : "73H",
     80                      const.AIRCRAFT_B732  : "732",
    7981                      const.AIRCRAFT_B733  : "733",
    8082                      const.AIRCRAFT_B734  : "734",
  • src/mlx/xplane.py

    r642 r790  
    19081908                   const.AIRCRAFT_B738  : B737Model,
    19091909                   const.AIRCRAFT_B738C : B737Model,
     1910                   const.AIRCRAFT_B732  : B737Model,
    19101911                   const.AIRCRAFT_B733  : B737Model,
    19111912                   const.AIRCRAFT_B734  : B737Model,
Note: See TracChangeset for help on using the changeset viewer.