Pack flow sound; fix bug in ECAM BLEED 2 NOT CLOSED (is buggy ,need to fix; fix pack 2 logic
This commit is contained in:
parent
8e47693170
commit
c0517ded08
5 changed files with 8 additions and 5 deletions
|
@ -839,8 +839,8 @@
|
|||
<pneumatics n="0">
|
||||
<switches n="0">
|
||||
<apu type="bool">0</apu>
|
||||
<bleed-1 type="bool">0</bleed-1>
|
||||
<bleed-2 type="bool">0</bleed-2>
|
||||
<bleed-1 type="bool">1</bleed-1>
|
||||
<bleed-2 type="bool">1</bleed-2>
|
||||
<blower type="bool">0</blower>
|
||||
<cabin-fans type="bool">0</cabin-fans>
|
||||
<extract type="bool">0</extract>
|
||||
|
|
|
@ -1540,7 +1540,7 @@ var messages_priority_2 = func {
|
|||
ECAM_controller.warningReset(eng1BleedNotClsdOff);
|
||||
}
|
||||
|
||||
if (eng2BleedNotClsd.clearFlag == 0 and (phaseVar <= 2 or phaseVar >= 9 or phaseVar == 6) and warningNodes.Timers.bleed2NotShutOutput.getValue == 1) {
|
||||
if (eng2BleedNotClsd.clearFlag == 0 and (phaseVar <= 2 or phaseVar >= 9 or phaseVar == 6) and warningNodes.Timers.bleed2NotShutOutput.getValue() == 1) {
|
||||
eng2BleedNotClsd.active = 1;
|
||||
if (systems.PNEU.Switch.bleed2.getBoolValue()) {
|
||||
eng2BleedNotClsdOff.active = 1;
|
||||
|
|
|
@ -1064,6 +1064,7 @@
|
|||
</condition>
|
||||
<volume>
|
||||
<property>/sim/sound/other/air-con</property>
|
||||
<factor>6</factor>
|
||||
</volume>
|
||||
</ac>
|
||||
|
||||
|
|
|
@ -71,6 +71,8 @@
|
|||
/gear/gear[1]/wow eq 0
|
||||
</test>
|
||||
</test>
|
||||
/systems/pressurization/ditchingpb eq 1
|
||||
/systems/pneumatics/psi/engine-2-psi le 13.8
|
||||
</test>
|
||||
<test logic="AND" value="1">
|
||||
/controls/pneumatics/switches/pack-2 eq 1
|
||||
|
|
|
@ -203,12 +203,12 @@
|
|||
|
||||
<filter>
|
||||
<type>gain</type>
|
||||
<gain>0.025</gain>
|
||||
<gain>1</gain>
|
||||
<input>
|
||||
<condition>
|
||||
<property>/sim/sound/internal-custom</property>
|
||||
</condition>
|
||||
<property>/systems/pneumatic/pack-psi</property>
|
||||
<property>/systems/air-conditioning/mass-flow-cockpit-kg_s</property>
|
||||
</input>
|
||||
<input>0</input>
|
||||
<output>/sim/sound/other/air-con</output>
|
||||
|
|
Loading…
Add table
Reference in a new issue