Cabin-fans
This commit is contained in:
parent
cd3e092a18
commit
40dc5082e7
3 changed files with 3 additions and 4 deletions
|
@ -5606,7 +5606,7 @@
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-toggle</command>
|
<command>property-toggle</command>
|
||||||
<property>controls/switches/pneumatics/cabin-fans</property>
|
<property>controls/pneumatics/switches/cabin-fans</property>
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
|
@ -5621,7 +5621,7 @@
|
||||||
<condition>
|
<condition>
|
||||||
<or>
|
<or>
|
||||||
<equals>
|
<equals>
|
||||||
<property>controls/switches/pneumatics/cabin-fans</property>
|
<property>controls/pneumatics/switches/cabin-fans</property>
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
</equals>
|
</equals>
|
||||||
<equals>
|
<equals>
|
||||||
|
|
|
@ -31,7 +31,6 @@ var variousReset = func() {
|
||||||
setprop("/controls/CVR/tone", 0);
|
setprop("/controls/CVR/tone", 0);
|
||||||
setprop("/controls/CVR/gndctl", 0);
|
setprop("/controls/CVR/gndctl", 0);
|
||||||
setprop("/controls/CVR/erase", 0);
|
setprop("/controls/CVR/erase", 0);
|
||||||
setprop("/controls/switches/pneumatics/cabin-fans", 1);
|
|
||||||
setprop("/controls/switches/emerCallLtO", 0); # ON light, flashes white for 10s
|
setprop("/controls/switches/emerCallLtO", 0); # ON light, flashes white for 10s
|
||||||
setprop("/controls/switches/emerCallLtC", 0); # CALL light, flashes amber for 10s
|
setprop("/controls/switches/emerCallLtC", 0); # CALL light, flashes amber for 10s
|
||||||
setprop("/controls/switches/emerCall", 0);
|
setprop("/controls/switches/emerCall", 0);
|
||||||
|
|
|
@ -769,7 +769,7 @@
|
||||||
<switch name="/systems/air-conditioning/recirc/cabin-fans">
|
<switch name="/systems/air-conditioning/recirc/cabin-fans">
|
||||||
<default value="0"/>
|
<default value="0"/>
|
||||||
<test logic="AND" value="1">
|
<test logic="AND" value="1">
|
||||||
/controls/switches/pneumatics/cabin-fans eq 1
|
/controls/pneumatics/switches/cabin-fans eq 1
|
||||||
/systems/failures/pneumatics/cabin-fans eq 0
|
/systems/failures/pneumatics/cabin-fans eq 0
|
||||||
</test>
|
</test>
|
||||||
</switch>
|
</switch>
|
||||||
|
|
Loading…
Reference in a new issue