Changeset 968:1128dfecb282 for src/mlx
- Timestamp:
- 05/16/19 17:18:27 (6 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/fsuipc.py
r960 r968 1707 1707 """A model handler for the PMDG Boeing 737NG model.""" 1708 1708 @staticmethod 1709 def doesHandle(aircraft, xxx_todo_changeme):1709 def doesHandle(aircraft, aircraftName): 1710 1710 """Determine if this model handler handles the aircraft with the given 1711 1711 name.""" 1712 (name, airPath) = xxx_todo_changeme1712 (name, airPath) = aircraftName 1713 1713 return aircraft.type in [const.AIRCRAFT_B736, 1714 1714 const.AIRCRAFT_B737, … … 1843 1843 """Model handler for the Dreamwings Dash 8-Q400.""" 1844 1844 @staticmethod 1845 def doesHandle(aircraft, xxx_todo_changeme1):1845 def doesHandle(aircraft, aircraftName): 1846 1846 """Determine if this model handler handles the aircraft with the given 1847 1847 name.""" 1848 (name, airPath) = xxx_todo_changeme11848 (name, airPath) = aircraftName 1849 1849 return aircraft.type==const.AIRCRAFT_DH8D and \ 1850 1850 (name.find("Dreamwings")!=-1 or airPath.find("Dreamwings")!=-1) and \ … … 1881 1881 """Model handler for the Majestic Dash 8-Q400.""" 1882 1882 @staticmethod 1883 def doesHandle(aircraft, xxx_todo_changeme2):1883 def doesHandle(aircraft, aircraftName): 1884 1884 """Determine if this model handler handles the aircraft with the given 1885 1885 name.""" 1886 (name, airPath) = xxx_todo_changeme21886 (name, airPath) = aircraftName 1887 1887 return aircraft.type==const.AIRCRAFT_DH8D and \ 1888 1888 (name.find("MJC8Q400")!=-1 or \ … … 1960 1960 """Model for the Digital Aviation F70 implementation on FS9.""" 1961 1961 @staticmethod 1962 def doesHandle(aircraft, xxx_todo_changeme3):1962 def doesHandle(aircraft, aircraftName): 1963 1963 """Determine if this model handler handles the aircraft with the given 1964 1964 name.""" 1965 (name, airPath) = xxx_todo_changeme31965 (name, airPath) = aircraftName 1966 1966 return aircraft.type == const.AIRCRAFT_F70 and \ 1967 1967 (airPath.endswith("fokker70_2k4_v4.1.air") or … … 2150 2150 """Project Tupolev Tu-154.""" 2151 2151 @staticmethod 2152 def doesHandle(aircraft, xxx_todo_changeme4):2152 def doesHandle(aircraft, aircraftName): 2153 2153 """Determine if this model handler handles the aircraft with the given 2154 2154 name.""" 2155 (name, airPath) = xxx_todo_changeme42155 (name, airPath) = aircraftName 2156 2156 print("PTT154Model.doesHandle", aircraft.type, name, airPath) 2157 2157 return aircraft.type==const.AIRCRAFT_T154 and \
Note:
See TracChangeset
for help on using the changeset viewer.