Fixing conversion to lbs
This commit is contained in:
parent
17bdcef974
commit
4c307b622a
1 changed files with 3 additions and 3 deletions
|
@ -1328,7 +1328,7 @@ var canvas_MCDU_base = {
|
||||||
me["Simple_R6S"].setText("NEXT ");
|
me["Simple_R6S"].setText("NEXT ");
|
||||||
|
|
||||||
if (zfwSet.getValue() == 1 and blockSet.getValue() == 1) {
|
if (zfwSet.getValue() == 1 and blockSet.getValue() == 1) {
|
||||||
lbs1000 = KG2LB * num(zfw.getValue() + block.getValue());
|
lbs1000 = num(zfw.getValue() + block.getValue());
|
||||||
|
|
||||||
tgt_f = ((0.4352 * lbs1000) + 51.006) * 1.47;
|
tgt_f = ((0.4352 * lbs1000) + 51.006) * 1.47;
|
||||||
setprop("FMGC/internal/f-speed", tgt_f);
|
setprop("FMGC/internal/f-speed", tgt_f);
|
||||||
|
@ -1463,7 +1463,7 @@ var canvas_MCDU_base = {
|
||||||
me["Simple_R6S"].setText("NEXT ");
|
me["Simple_R6S"].setText("NEXT ");
|
||||||
|
|
||||||
if (zfwSet.getValue() == 1 and blockSet.getValue() == 1) {
|
if (zfwSet.getValue() == 1 and blockSet.getValue() == 1) {
|
||||||
lbs1000 = KG2LB * num(zfw.getValue() + block.getValue());
|
lbs1000 = num(zfw.getValue() + block.getValue());
|
||||||
|
|
||||||
tgt_f = ((0.4352 * lbs1000) + 51.006) * 1.47;
|
tgt_f = ((0.4352 * lbs1000) + 51.006) * 1.47;
|
||||||
setprop("FMGC/internal/f-speed", tgt_f);
|
setprop("FMGC/internal/f-speed", tgt_f);
|
||||||
|
@ -1595,7 +1595,7 @@ var canvas_MCDU_base = {
|
||||||
me["Simple_R5S"].setText("ENG OUT ACC");
|
me["Simple_R5S"].setText("ENG OUT ACC");
|
||||||
|
|
||||||
if (zfwSet.getValue() == 1 and blockSet.getValue() == 1) {
|
if (zfwSet.getValue() == 1 and blockSet.getValue() == 1) {
|
||||||
lbs1000 = KG2LB * num(zfw.getValue() + block.getValue());
|
lbs1000 = num(zfw.getValue() + block.getValue());
|
||||||
|
|
||||||
tgt_f = ((0.4352 * lbs1000) + 51.006) * 1.47;
|
tgt_f = ((0.4352 * lbs1000) + 51.006) * 1.47;
|
||||||
setprop("FMGC/internal/f-speed", tgt_f);
|
setprop("FMGC/internal/f-speed", tgt_f);
|
||||||
|
|
Loading…
Add table
Reference in a new issue