1
0
Fork 0

Fix that yellow elec pump would come on with yellow elec pump failed

This commit is contained in:
legoboyvdlp R 2020-10-18 17:42:36 +01:00
parent bcf4754174
commit 83e80c0a73

View file

@ -230,6 +230,7 @@
<default value="0"/> <default value="0"/>
<test logic="AND" value="1"> <test logic="AND" value="1">
/controls/hydraulic/switches/yellow-elec eq 1 /controls/hydraulic/switches/yellow-elec eq 1
/systems/failures/hydraulic/yellow-elec ne 1
<test logic="OR"> <!-- TODO: via 3XX CB 122VU --> <test logic="OR"> <!-- TODO: via 3XX CB 122VU -->
/systems/electrical/sources/ext/output-volt ge 110 /systems/electrical/sources/ext/output-volt ge 110
/systems/electrical/bus/ac-2 ge 110 /systems/electrical/bus/ac-2 ge 110
@ -239,20 +240,13 @@
<fcs_function name="/systems/hydraulic/sources/yellow-elec/source-psi"> <fcs_function name="/systems/hydraulic/sources/yellow-elec/source-psi">
<function> <function>
<ifthen> <table>
<nq> <independentVar lookup="row">/systems/hydraulic/sources/yellow-elec/pump-operate</independentVar>
<property>/systems/failures/hydraulic/yellow-elec</property> <tableData>
<value>1</value> 0 0
</nq> 1 3000
<table> </tableData>
<independentVar lookup="row">/systems/hydraulic/sources/yellow-elec/pump-operate</independentVar> </table>
<tableData>
0 0
1 3000
</tableData>
</table>
<value>0</value>
</ifthen>
</function> </function>
</fcs_function> </fcs_function>