Merge branch 'master' into ECAM2
This commit is contained in:
commit
bf4d542cbb
3 changed files with 28 additions and 5 deletions
|
@ -614,6 +614,10 @@ var vertical = func {
|
|||
}
|
||||
}
|
||||
|
||||
var disarmLOC = func {
|
||||
setprop("/it-autoflight/output/loc-armed", 0);
|
||||
}
|
||||
|
||||
var disarmGS = func {
|
||||
alandt.stop();
|
||||
alandt1.stop();
|
||||
|
|
|
@ -388,10 +388,21 @@ var APPanel = {
|
|||
if (dcEss.getValue() >= 25) {
|
||||
var vertTemp = vertMode.getValue();
|
||||
if ((locArm.getBoolValue() or latMode.getValue() == 2) and !apprArm.getBoolValue() and vertTemp != 2 and vertTemp != 6) {
|
||||
setprop("/it-autoflight/input/lat", 0);
|
||||
if (latMode.getValue() == 2) {
|
||||
setprop("/it-autoflight/input/lat", 0);
|
||||
} else {
|
||||
fmgc.disarmLOC();
|
||||
}
|
||||
if (vertTemp == 2 or vertTemp == 6) {
|
||||
me.VSPull();
|
||||
} else {
|
||||
fmgc.disarmGS();
|
||||
}
|
||||
} else {
|
||||
setprop("/it-autoflight/input/lat", 2);
|
||||
if (apprArm.getBoolValue() or vertTemp == 2) {
|
||||
if (vertTemp == 2 or vertTemp == 6) {
|
||||
me.VSPull();
|
||||
} else {
|
||||
fmgc.disarmGS();
|
||||
}
|
||||
}
|
||||
|
@ -513,8 +524,16 @@ var APPanel = {
|
|||
if (dcEss.getValue() >= 25) {
|
||||
var vertTemp = vertMode.getValue();
|
||||
if ((locArm.getBoolValue() or latMode.getValue() == 2) and (apprArm.getBoolValue() or vertTemp == 2 or vertTemp == 6)) {
|
||||
setprop("/it-autoflight/input/lat", 0);
|
||||
me.VSPull();
|
||||
if (latMode.getValue() == 2) {
|
||||
setprop("/it-autoflight/input/lat", 0);
|
||||
} else {
|
||||
fmgc.disarmLOC();
|
||||
}
|
||||
if (vertTemp == 2 or vertTemp == 6) {
|
||||
me.VSPull();
|
||||
} else {
|
||||
fmgc.disarmGS();
|
||||
}
|
||||
} else {
|
||||
setprop("/it-autoflight/input/vert", 2);
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
4770
|
||||
4771
|
Reference in a new issue