Bugfix
This commit is contained in:
parent
8b003bf8af
commit
8e8f063f5d
1 changed files with 6 additions and 6 deletions
|
@ -799,13 +799,13 @@ var messages_priority_2 = func {
|
||||||
ECAM_controller.warningReset(eng1FireDetFault);
|
ECAM_controller.warningReset(eng1FireDetFault);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (eng1LoopAFault.clearFlag == 0 and (systems.engFireDetectorUnits.vector[0].loopOne == 9 or systems.engFireDetectorUnits.vector[0].loopOne == 8) and systems.engFireDetectorUnits.vector[0].loopTwo != 9 and systems.engFireDetectorUnits.vector[0].loopTwo != 8) {
|
if (eng1LoopAFault.clearFlag == 0 and systems.engFireDetectorUnits.vector[0].loopOne == 9 and systems.engFireDetectorUnits.vector[0].loopTwo != 9) {
|
||||||
eng1LoopAFault.active = 1;
|
eng1LoopAFault.active = 1;
|
||||||
} else {
|
} else {
|
||||||
ECAM_controller.warningReset(eng1LoopAFault);
|
ECAM_controller.warningReset(eng1LoopAFault);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (eng1LoopBFault.clearFlag == 0 and systems.engFireDetectorUnits.vector[0].loopOne != 9 and systems.engFireDetectorUnits.vector[0].loopOne != 8 and (systems.engFireDetectorUnits.vector[0].loopTwo == 9 or systems.engFireDetectorUnits.vector[0].loopTwo == 8)) {
|
if (eng1LoopBFault.clearFlag == 0 and systems.engFireDetectorUnits.vector[0].loopOne != 9 and systems.engFireDetectorUnits.vector[0].loopTwo == 9) {
|
||||||
eng1LoopBFault.active = 1;
|
eng1LoopBFault.active = 1;
|
||||||
} else {
|
} else {
|
||||||
ECAM_controller.warningReset(eng1LoopBFault);
|
ECAM_controller.warningReset(eng1LoopBFault);
|
||||||
|
@ -817,13 +817,13 @@ var messages_priority_2 = func {
|
||||||
ECAM_controller.warningReset(eng2FireDetFault);
|
ECAM_controller.warningReset(eng2FireDetFault);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (eng2LoopAFault.clearFlag == 0 and (systems.engFireDetectorUnits.vector[1].loopOne == 9 or systems.engFireDetectorUnits.vector[1].loopOne == 8) and systems.engFireDetectorUnits.vector[1].loopTwo != 9 and systems.engFireDetectorUnits.vector[1].loopTwo != 8) {
|
if (eng2LoopAFault.clearFlag == 0 and systems.engFireDetectorUnits.vector[1].loopOne == 9 and systems.engFireDetectorUnits.vector[1].loopTwo != 9) {
|
||||||
eng2LoopAFault.active = 1;
|
eng2LoopAFault.active = 1;
|
||||||
} else {
|
} else {
|
||||||
ECAM_controller.warningReset(eng2LoopAFault);
|
ECAM_controller.warningReset(eng2LoopAFault);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (eng2LoopBFault.clearFlag == 0 and systems.engFireDetectorUnits.vector[1].loopOne != 9 and systems.engFireDetectorUnits.vector[1].loopOne != 8 and (systems.engFireDetectorUnits.vector[1].loopTwo == 9 or systems.engFireDetectorUnits.vector[1].loopTwo == 8)) {
|
if (eng2LoopBFault.clearFlag == 0 and systems.engFireDetectorUnits.vector[1].loopOne != 9 and systems.engFireDetectorUnits.vector[1].loopTwo == 9) {
|
||||||
eng2LoopBFault.active = 1;
|
eng2LoopBFault.active = 1;
|
||||||
} else {
|
} else {
|
||||||
ECAM_controller.warningReset(eng2LoopBFault);
|
ECAM_controller.warningReset(eng2LoopBFault);
|
||||||
|
@ -835,13 +835,13 @@ var messages_priority_2 = func {
|
||||||
ECAM_controller.warningReset(apuFireDetFault);
|
ECAM_controller.warningReset(apuFireDetFault);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (apuLoopAFault.clearFlag == 0 and (systems.engFireDetectorUnits.vector[2].loopOne == 9 or systems.engFireDetectorUnits.vector[2].loopOne == 8) and systems.engFireDetectorUnits.vector[2].loopTwo != 9 and systems.engFireDetectorUnits.vector[2].loopTwo != 8) {
|
if (apuLoopAFault.clearFlag == 0 and systems.engFireDetectorUnits.vector[2].loopOne == 9 and systems.engFireDetectorUnits.vector[2].loopTwo != 9) {
|
||||||
apuLoopAFault.active = 1;
|
apuLoopAFault.active = 1;
|
||||||
} else {
|
} else {
|
||||||
ECAM_controller.warningReset(apuLoopAFault);
|
ECAM_controller.warningReset(apuLoopAFault);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (apuLoopBFault.clearFlag == 0 and systems.engFireDetectorUnits.vector[2].loopOne != 9 and systems.engFireDetectorUnits.vector[2].loopOne != 8 and (systems.engFireDetectorUnits.vector[2].loopTwo == 9 or systems.engFireDetectorUnits.vector[2].loopTwo == 8)) {
|
if (apuLoopBFault.clearFlag == 0 and systems.engFireDetectorUnits.vector[2].loopOne != 9 and systems.engFireDetectorUnits.vector[2].loopTwo == 9) {
|
||||||
apuLoopBFault.active = 1;
|
apuLoopBFault.active = 1;
|
||||||
} else {
|
} else {
|
||||||
ECAM_controller.warningReset(apuLoopBFault);
|
ECAM_controller.warningReset(apuLoopBFault);
|
||||||
|
|
Reference in a new issue