PFD: only show MAN PITCH TRIM msg when in flight.
This commit is contained in:
parent
c6d607e6b2
commit
c7ba88dc23
1 changed files with 30 additions and 20 deletions
|
@ -512,14 +512,18 @@ var canvas_PFD_base = {
|
||||||
me["FMA_rollarm_box"].hide();
|
me["FMA_rollarm_box"].hide();
|
||||||
me["FMA_Middle1"].hide();
|
me["FMA_Middle1"].hide();
|
||||||
me["FMA_Middle2"].hide();
|
me["FMA_Middle2"].hide();
|
||||||
if (fbw_curlaw == 2) {
|
if (wow1.getValue() == 0) {
|
||||||
me["FMA_ctr_msg"].setText("USE MAN PITCH TRIM");
|
if (fbw_curlaw == 2) {
|
||||||
me["FMA_ctr_msg"].setColor(0.7333,0.3803,0);
|
me["FMA_ctr_msg"].setText("USE MAN PITCH TRIM");
|
||||||
me["FMA_ctr_msg"].show();
|
me["FMA_ctr_msg"].setColor(0.7333,0.3803,0);
|
||||||
} else if (fbw_curlaw == 3) {
|
me["FMA_ctr_msg"].show();
|
||||||
me["FMA_ctr_msg"].setText("MAN PITCH TRIM ONLY");
|
} else if (fbw_curlaw == 3) {
|
||||||
me["FMA_ctr_msg"].setColor(1,0,0);
|
me["FMA_ctr_msg"].setText("MAN PITCH TRIM ONLY");
|
||||||
me["FMA_ctr_msg"].show();
|
me["FMA_ctr_msg"].setColor(1,0,0);
|
||||||
|
me["FMA_ctr_msg"].show();
|
||||||
|
} else {
|
||||||
|
me["FMA_ctr_msg"].hide();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
me["FMA_ctr_msg"].hide();
|
me["FMA_ctr_msg"].hide();
|
||||||
}
|
}
|
||||||
|
@ -532,18 +536,24 @@ var canvas_PFD_base = {
|
||||||
} else {
|
} else {
|
||||||
me["FMA_combined"].hide();
|
me["FMA_combined"].hide();
|
||||||
me["FMA_combined_box"].hide();
|
me["FMA_combined_box"].hide();
|
||||||
if (fbw_curlaw == 2) {
|
if (wow1.getValue() == 0) {
|
||||||
me["FMA_ctr_msg"].setText("USE MAN PITCH TRIM");
|
if (fbw_curlaw == 2) {
|
||||||
me["FMA_ctr_msg"].setColor(0.7333,0.3803,0);
|
me["FMA_ctr_msg"].setText("USE MAN PITCH TRIM");
|
||||||
me["FMA_Middle1"].hide();
|
me["FMA_ctr_msg"].setColor(0.7333,0.3803,0);
|
||||||
me["FMA_Middle2"].show();
|
me["FMA_Middle1"].hide();
|
||||||
me["FMA_ctr_msg"].show();
|
me["FMA_Middle2"].show();
|
||||||
} else if (fbw_curlaw == 3) {
|
me["FMA_ctr_msg"].show();
|
||||||
me["FMA_ctr_msg"].setText("MAN PITCH TRIM ONLY");
|
} else if (fbw_curlaw == 3) {
|
||||||
me["FMA_ctr_msg"].setColor(1,0,0);
|
me["FMA_ctr_msg"].setText("MAN PITCH TRIM ONLY");
|
||||||
me["FMA_Middle1"].hide();
|
me["FMA_ctr_msg"].setColor(1,0,0);
|
||||||
me["FMA_Middle2"].show();
|
me["FMA_Middle1"].hide();
|
||||||
me["FMA_ctr_msg"].show();
|
me["FMA_Middle2"].show();
|
||||||
|
me["FMA_ctr_msg"].show();
|
||||||
|
} else {
|
||||||
|
me["FMA_ctr_msg"].hide();
|
||||||
|
me["FMA_Middle1"].show();
|
||||||
|
me["FMA_Middle2"].hide();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
me["FMA_ctr_msg"].hide();
|
me["FMA_ctr_msg"].hide();
|
||||||
me["FMA_Middle1"].show();
|
me["FMA_Middle1"].show();
|
||||||
|
|
Loading…
Add table
Reference in a new issue