1
0
Fork 0

Bugfix fire valve

This commit is contained in:
Jonathan Redpath 2022-01-03 21:47:35 +00:00
parent 489411e8c4
commit 57de1cc8e3
2 changed files with 10 additions and 4 deletions

View file

@ -557,7 +557,7 @@ var input = {
hydYellowEDPPumpSwitch: "/controls/hydraulic/switches/yellow-edp",
hydPTUSwitch: "/controls/hydraulic/switches/ptu",
hydPTUFault: "/systems/failures/hydraulic/ptu",
hydPTUActive: "/systems/hydraulic/sources/ptu/ptu-hydraulic-condition",
hydPTUActive: "/systems/hydraulic/sources/ptu/ptu-loop-sound-cmd",
hydPTUDiff: "/systems/hydraulic/yellow-psi-diff",
hydBlueQTY: "/systems/hydraulic/blue-qty",
hydGreenQTY: "/systems/hydraulic/green-qty",

View file

@ -385,7 +385,10 @@
</max>
<value>0</value>
</ifthen>
<property>/systems/hydraulic/sources/green-edp/fire-valve</property>
<difference>
<value>1</value>
<property>/systems/hydraulic/sources/green-edp/fire-valve</property>
</difference>
</product>
</function>
</fcs_function>
@ -432,7 +435,10 @@
</max>
<value>0</value>
</ifthen>
<property>/systems/hydraulic/sources/yellow-edp/fire-valve</property>
<difference>
<value>1</value>
<property>/systems/hydraulic/sources/yellow-edp/fire-valve</property>
</difference>
</product>
</function>
</fcs_function>
@ -557,7 +563,7 @@
<default value="0"/>
<test logic="AND" value="/systems/hydraulic/yellow-psi-ptu">
<test logic="OR">
/position/altitude-ft ge 1500
/position/gear-agl-ft ge 1500
/gear/gear[0]/compression-norm ne 0
</test>
/systems/electrical/bus/dc-service-bus ge 25