1
0
Fork 0

Update PERF pages to newer format

This commit is contained in:
Matthew Maring 2020-04-19 22:32:06 -04:00 committed by Jonathan Redpath
parent b647909f1a
commit 31a6dcff37

View file

@ -1901,8 +1901,8 @@ var canvas_MCDU_base = {
me["Simple_L0S"].hide();
me.showLeftS(1, 1, 1, 1, 1, 1);
me.showLeftArrow(-1, -1, -1, -1, -1, 1);
me.showRight(1, 1, 1, 1, 1, 1);
me.showRightS(1, 1, 1, 1, 1, 1);
me.showRight(-1, 1, 1, 1, 1, 1);
me.showRightS(-1, 1, 1, 1, 1, 1);
me.showRightArrow(-1, -1, -1, -1, -1, 1);
me.showCenter(1, 1, 1, -1, -1, -1);
me.showCenterS(1, 1, 1, -1, -1, -1);
@ -1956,6 +1956,12 @@ var canvas_MCDU_base = {
me["Simple_Title"].setColor(1, 1, 1);
}
if (fmgc.flightPlanController.flightplans[2].departure_runway != nil) {
me["Simple_Title"].setText(sprintf("TAKE OFF RWY %s", fmgc.flightPlanController.flightplans[2].departure_runway.id));
} else {
me["Simple_Title"].setText("TAKE OFF");
}
if (v1Set.getValue() == 1) {
me["PERFTO_V1"].hide();
me["Simple_L1"].show();
@ -1983,12 +1989,6 @@ var canvas_MCDU_base = {
me["Simple_L5"].setFontSize(small);
}
if (fmgc.flightPlanController.flightplans[2].departure_runway != nil) {
me["Simple_R1"].setText(sprintf("%s",fmgc.flightPlanController.flightplans[2].departure_runway.id));
} else {
me["Simple_R1"].setText("--- ");
}
if (flapTHSSet.getValue() == 1) {
me["Simple_R3"].setFont(default);
me["Simple_R3"].setFontSize(normal);
@ -2606,8 +2606,10 @@ var canvas_MCDU_base = {
me["Simple_R1S"].setText("FINAL");
if (fmgc.flightPlanController.flightplans[2].approach != nil) {
me["Simple_R1"].setText(sprintf("%s",fmgc.flightPlanController.flightplans[2].approach.id));
me["Simple_R1"].setColor(GREEN);
} else {
me["Simple_R1"].setText("--- ");
me["Simple_R1"].setColor(WHITE);
}
me["Simple_R2S"].setText("BARO");