source: src/const.py@ 8:85698811c70e

Last change on this file since 8:85698811c70e was 8:85698811c70e, checked in by István Váradi <ivaradi@…>, 13 years ago

The tracking of flight stages and some basic logging functionality works

File size: 2.0 KB
Line 
1# Various constants used in the logger
2
3#-------------------------------------------------------------------------------
4
5# The ratio between lbs and kg
6LBSTOKG=0.4536
7
8# The ratio between feet and metre
9FEETTOMETRES=0.3048
10
11#-------------------------------------------------------------------------------
12
13# Flight simulator type: MS Flight Simulator 2004
14SIM_MSFS9 = 1
15
16# Flight simulator type: MS Flight Simulator X
17SIM_MSFSX = 2
18
19# Flight simulator type: X-Plane 9
20SIM_XPLANE9 = 3
21
22# Flight simulator type: X-Plane 10
23SIM_XPLANE10 = 4
24
25#-------------------------------------------------------------------------------
26
27# Aircraft type: Boeing 737-600
28AIRCRAFT_B736 = 1
29
30# Aircraft type: Boeing 737-700
31AIRCRAFT_B737 = 2
32
33# Aircraft type: Boeing 737-800
34AIRCRAFT_B738 = 3
35
36# Aircraft type: Boeing 737-300
37AIRCRAFT_B733 = 4
38
39# Aircraft type: Boeing 737-400
40AIRCRAFT_B734 = 5
41
42# Aircraft type: Boeing 737-500
43AIRCRAFT_B735 = 6
44
45# Aircraft type: Dash-8 Q400
46AIRCRAFT_DH8D = 7
47
48# Aircraft type: Boeing 767-200
49AIRCRAFT_B762 = 8
50
51# Aircraft type: Boeing 767-300
52AIRCRAFT_B763 = 9
53
54# Aircraft type: Canadair CRJ-200
55AIRCRAFT_CRJ2 = 10
56
57# Aircraft type: Fokker F-70
58AIRCRAFT_F70 = 11
59
60# Aircraft type: Lisunov Li-2
61AIRCRAFT_DC3 = 12
62
63# Aircraft type: Tupolev Tu-134
64AIRCRAFT_T134 = 13
65
66# Aircraft type: Tupolev Tu-154
67AIRCRAFT_T154 = 14
68
69# Aircraft type: Yakovlev Yak-40
70AIRCRAFT_YK40 = 15
71
72#-------------------------------------------------------------------------------
73
74# Flight stage: boarding
75STAGE_BOARDING = 1
76
77# Flight stage: pushback, startup and taxi
78STAGE_PUSHANDTAXI = 2
79
80# Flight stage: takeoff
81STAGE_TAKEOFF = 3
82
83# Flight stage: RTO
84STAGE_RTO = 4
85
86# Flight stage: climb
87STAGE_CLIMB = 5
88
89# Flight stage: cruise
90STAGE_CRUISE = 6
91
92# Flight stage: descent
93STAGE_DESCENT = 7
94
95# Flight stage: landing
96STAGE_LANDING = 8
97
98# Flight stage: taxi after landing
99STAGE_TAXIAFTERLAND = 9
100
101# Flight stage: parking
102STAGE_PARKING = 10
103
104# Flight stage: go-around
105STAGE_GOAROUND = 11
106
107# Flight stage: end
108STAGE_END = 12
Note: See TracBrowser for help on using the repository browser.