Changeset 519:4d047bb841c3
- Timestamp:
- 06/05/13 15:33:32 (12 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/checks.py
r518 r519 910 910 def isCondition(self, flight, aircraft, oldState, state): 911 911 """Check if the fault condition holds.""" 912 return ( flight.stage!=const.STAGE_PARKING or \913 not flight.config.usingFS2Crew) and \912 return (not flight.config.usingFS2Crew or not state.parking or 913 flight.stage!=const.STAGE_TAXIAFTERLAND) and \ 914 914 not state.antiCollisionLightsOn and \ 915 915 self.isEngineCondition(state) -
test/test1.txt
r415 r519 14 14 set adf1=382 15 15 set parking=yes 16 16 17 set parking=no 17 18 set lights=3 … … 27 28 set xpdrC=0 28 29 set altimeter=1004 30 29 31 set lights=23 30 32 set gs=60 ias=60 … … 35 37 set n1_1=90 36 38 set n1_2=90 39 37 40 set gs=100 ias=100 38 41 set gs=120 ias=120 39 42 set onTheGround=no 40 43 set altitude=600 44 41 45 set noseGear=0 42 46 set altitude=2000 43 47 set nav1=111.5 44 48 set flapsControl=0 49 45 50 set altimeter=1013.25 46 51 set altitude=10000 … … 48 53 set ias=400 49 54 set altitude=22001 55 50 56 set vs=-200 51 57 set altitude=15000 … … 58 64 set flapsControl=87.5 59 65 set ias=130 gs=130 66 60 67 set altitude=3500 61 68 set ias=125 gs=125 … … 69 76 set latitude=47.49 longitude=21.62 70 77 set lights=23 78 71 79 set onTheGround=yes 72 80 set n1_1=-10 73 81 set n1_2=-10 74 set n1_1=0 75 set n1_2=0 82 set lights=19 83 set n1_1=20 84 set n1_2=20 76 85 set ias=45 gs=45 77 set lights=1978 86 set ias=35 gs=35 79 87 set ias=20 gs=20 80 88 set xpdrC=1 89 90 set parking=yes 91 set n1_1=0 92 set n1_2=0 93 set lights=17 81 94 set ias=0 gs=0 82 set parking=yes95 set lights=1
Note:
See TracChangeset
for help on using the changeset viewer.