1
0
Fork 0

Fix APU FAULT light

This commit is contained in:
legoboyvdlp R 2020-01-02 22:07:21 +00:00
parent b61b45abde
commit 78fc93c313
2 changed files with 7 additions and 11 deletions

View file

@ -3248,16 +3248,10 @@
<repeatable>false</repeatable>
<binding>
<condition>
<or>
<greater-than-equals>
<property>systems/electrical/bus/dc-bat</property>
<value>25</value>
</greater-than-equals>
<greater-than-equals>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than-equals>
</or>
<greater-than-equals>
<property>systems/electrical/bus/dc-bat</property>
<value>25</value>
</greater-than-equals> <!-- control is on DC BAT bus - so if you enter EMER ELEC with it turned off, too bad -->
</condition>
<command>property-toggle</command>
<property>controls/electrical/switches/apu</property>

View file

@ -1384,12 +1384,14 @@
</test>
</switch>
<switch name="/systems/electrical/light/apu-fault"> <!-- TODO: check out connection to engines -->
<switch name="/systems/electrical/light/apu-fault">
<default value="0"/>
<test logic="AND" value="1">
/controls/electrical/switches/apu eq 1
/systems/electrical/relay/apu-glc/contact-pos eq 0
/systems/electrical/relay/ext-epc/contact-pos eq 0
/systems/electrical/relay/gen-1-glc/contact-pos eq 0
/systems/electrical/relay/gen-2-glc/contact-pos eq 0
/systems/electrical/sources/apu/drive-rpm gt 2000
</test>
</switch>