1
0
Fork 0

Merge branch 'Work' of \New Git\fgdata

This commit is contained in:
Vivian Meazza 2011-01-26 11:35:41 +00:00
commit 5f1208ea3a
3 changed files with 1414 additions and 1432 deletions

File diff suppressed because it is too large Load diff

View file

@ -2,6 +2,233 @@ var input = func(v) {
setprop("/instrumentation/cdu/input",getprop("/instrumentation/cdu/input")~v);
}
var input = func(v) {
setprop("/instrumentation/cdu/input",getprop("/instrumentation/cdu/input")~v);
}
var key = func(v) {
var cduDisplay = getprop("/instrumentation/cdu/display");
var serviceable = getprop("/instrumentation/cdu/serviceable");
var eicasDisplay = getprop("/instrumentation/eicas/display");
var cduInput = getprop("/instrumentation/cdu/input");
if (serviceable == 1){
if (v == "LSK1L"){
if (cduDisplay == "DEP_ARR_INDEX"){
cduDisplay = "RTE1_DEP";
}
if (cduDisplay == "EICAS_MODES"){
eicasDisplay = "ENG";
}
if (cduDisplay == "EICAS_SYN"){
eicasDisplay = "ELEC";
}
if (cduDisplay == "INIT_REF"){
cduDisplay = "IDENT";
}
if (cduDisplay == "NAV_RAD"){
setprop("/instrumentation/nav[0]/frequencies/selected-mhz",cduInput);
cduInput = "";
}
if (cduDisplay == "RTE1_1"){
setprop("/autopilot/route-manager/departure/airport",cduInput);
cduInput = "";
}
if (cduDisplay == "RTE1_LEGS"){
if (cduInput == "DELETE"){
setprop("/autopilot/route-manager/input","@DELETE1");
cduInput = "";
}
else{
setprop("/autopilot/route-manager/input","@INSERT2:"~cduInput);
}
}
if (cduDisplay == "TO_REF"){
setprop("/instrumentation/fmc/to-flap",cduInput);
cduInput = "";
}
}
if (v == "LSK1R"){
if (cduDisplay == "EICAS_MODES"){
eicasDisplay = "FUEL";
}
if (cduDisplay == "EICAS_SYN"){
eicasDisplay = "HYD";
}
if (cduDisplay == "NAV RAD"){
setprop("/instrumentation/nav[1]/frequencies/selected-mhz",cduInput);
cduInput = "";
}
if (cduDisplay == "RTE1_1"){
setprop("/autopilot/route-manager/destination/airport",cduInput);
cduInput = "";
}
if (cduDisplay == "RTE1_LEGS"){
setprop("/autopilot/route-manager/route/wp[1]/altitude-ft",cduInput);
if (substr(cduInput,0,2) == "FL"){
setprop("/autopilot/route-manager/route/wp[1]/altitude-ft",substr(cduInput,2)*100);
}
cduInput = "";
}
}
if (v == "LSK2L"){
if (cduDisplay == "EICAS_MODES"){
eicasDisplay = "STAT";
}
if (cduDisplay == "EICAS_SYN"){
eicasDisplay = "ECS";
}
if (cduDisplay == "POS_INIT"){
setprop("/instrumentation/fmc/ref-airport",cduInput);
cduInput = "";;
}
if (cduDisplay == "INIT_REF"){
cduDisplay = "POS_INIT";
}
if (cduDisplay == "RTE1_1"){
setprop("/autopilot/route-manager/departure/runway",cduInput);
cduInput = "";;
}
if (cduDisplay == "RTE1_LEGS"){
if (cduInput == "DELETE"){
setprop("/autopilot/route-manager/input","@DELETE2");
cduInput = "";
}
else{
setprop("/autopilot/route-manager/input","@INSERT3:"~cduInput);
}
}
}
if (v == "LSK2R"){
if (cduDisplay == "DEP_ARR_INDEX"){
cduDisplay = "RTE1_ARR";
}
if (cduDisplay == "EICAS_MODES"){
eicasDisplay = "GEAR";
}
if (cduDisplay == "EICAS_SYN"){
eicasDisplay = "DRS";
}
if (cduDisplay == "RTE1_LEGS"){
setprop("/autopilot/route-manager/route/wp[2]/altitude-ft",cduInput);
if (substr(cduInput,0,2) == "FL"){
setprop("/autopilot/route-manager/route/wp[2]/altitude-ft",substr(cduInput,2)*100);
}
cduInput = "";
}
}
if (v == "LSK3L"){
if (cduDisplay == "INIT_REF"){
cduDisplay = "PERF_INIT";
}
if (cduDisplay == "RTE1_LEGS"){
if (cduInput == "DELETE"){
setprop("/autopilot/route-manager/input","@DELETE3");
cduInput = "";
}
else{
setprop("/autopilot/route-manager/input","@INSERT4:"~cduInput);
}
}
}
if (v == "LSK3R"){
if (cduDisplay == "RTE1_LEGS"){
setprop("/autopilot/route-manager/route/wp[3]/altitude-ft",cduInput);
if (substr(cduInput,0,2) == "FL"){
setprop("/autopilot/route-manager/route/wp[3]/altitude-ft",substr(cduInput,2)*100);
}
cduInput = "";
}
}
if (v == "LSK4L"){
if (cduDisplay == "INIT_REF"){
cduDisplay = "THR_LIM";
}
if (cduDisplay == "RTE1_LEGS"){
if (cduInput == "DELETE"){
setprop("/autopilot/route-manager/input","@DELETE4");
cduInput = "";
}
else{
setprop("/autopilot/route-manager/input","@INSERT5:"~cduInput);
}
}
}
if (v == "LSK4R"){
if (cduDisplay == "RTE1_LEGS"){
setprop("/autopilot/route-manager/route/wp[4]/altitude-ft",cduInput);
if (substr(cduInput,0,2) == "FL"){
setprop("/autopilot/route-manager/route/wp[4]/altitude-ft",substr(cduInput,2)*100);
}
cduInput = "";
}
}
if (v == "LSK5L"){
if (cduDisplay == "INIT_REF"){
cduDisplay = "TO_REF";
}
if (cduDisplay == "RTE1_LEGS"){
if (cduInput == "DELETE"){
setprop("/autopilot/route-manager/input","@DELETE5");
cduInput = "";
}
else{
setprop("/autopilot/route-manager/input","@INSERT6:"~cduInput);
}
}
}
if (v == "LSK5R"){
if (cduDisplay == "RTE1_LEGS"){
setprop("/autopilot/route-manager/route/wp[5]/altitude-ft",cduInput);
if (substr(cduInput,0,2) == "FL"){
setprop("/autopilot/route-manager/route/wp[5]/altitude-ft",substr(cduInput,2)*100);
}
cduInput = "";
}
}
if (v == "LSK6L"){
if (cduDisplay == "INIT_REF"){
cduDisplay = "APP_REF";
}
if (cduDisplay == "APP_REF"){
cduDisplay = "INIT_REF";
}
if ((cduDisplay == "IDENT") or (cduDisplay = "PERF_INIT") or (cduDisplay = "POS_INIT") or (cduDisplay = "POS_REF") or (cduDisplay = "THR_LIM") or (cduDisplay = "TO_REF")){
cduDisplay = "INIT_REF";
}
}
if (v == "LSK6R"){
if (cduDisplay == "THR_LIM"){
cduDisplay = "TO_REF";
}
if (cduDisplay == "APP_REF"){
cduDisplay = "THR_LIM";
}
if ((cduDisplay == "RTE1_1") or (cduDisplay == "RTE1_LEGS")){
setprop("/autopilot/route-manager/input","@ACTIVATE");
}
if ((cduDisplay == "POS_INIT") or (cduDisplay == "DEP") or (cduDisplay == "RTE1_ARR") or (cduDisplay == "RTE1_DEP")){
cduDisplay = "RTE1_1";
}
if ((cduDisplay == "IDENT") or (cduDisplay == "TO_REF")){
cduDisplay = "POS_INIT";
}
if (cduDisplay == "EICAS_SYN"){
cduDisplay = "EICAS_MODES";
}
if (cduDisplay == "EICAS_MODES"){
cduDisplay = "EICAS_SYN";
}
}
setprop("/instrumentation/cdu/display",cduDisplay);
if (eicasDisplay != nil){
setprop("/instrumentation/eicas/display",eicasDisplay);
}
setprop("/instrumentation/cdu/input",cduInput);
}
}
var delete = func {
var length = size(getprop("/instrumentation/cdu/input")) - 1;
setprop("/instrumentation/cdu/input",substr(getprop("/instrumentation/cdu/input"),0,length));
@ -54,8 +281,12 @@ var cdu = func{
title = "APPROACH REF";
line1lt = "GROSS WT";
line1rt = "FLAPS VREF";
line1l = getprop("/instrumentation/fmc/vspeeds/Vref");
line4lt = getprop("/autopilot/route-manager/destination/airport");
if (getprop("/instrumentation/fmc/vspeeds/Vref") != nil){
line1l = getprop("/instrumentation/fmc/vspeeds/Vref");
}
if (getprop("/autopilot/route-manager/destination/airport") != nil){
line4lt = getprop("/autopilot/route-manager/destination/airport");
}
line6l = "<INDEX";
line6r = "THRUST LIM>";
}
@ -63,9 +294,13 @@ var cdu = func{
title = "DEP/ARR INDEX";
line1l = "<DEP";
line1ct = "RTE 1";
line1c = getprop("/autopilot/route-manager/departure/airport");
if (getprop("/autopilot/route-manager/departure/airport") != nil){
line1c = getprop("/autopilot/route-manager/departure/airport");
}
line1r = "ARR>";
line2c = getprop("/autopilot/route-manager/destination/airport");
if (getprop("/autopilot/route-manager/destination/airport") != nil){
line2c = getprop("/autopilot/route-manager/destination/airport");
}
line2r = "ARR>";
line3l = "<DEP";
line3r = "ARR>";
@ -107,10 +342,14 @@ var cdu = func{
if (display == "IDENT") {
title = "IDENT";
line1lt = "MODEL";
line1l = getprop("/instrumentation/cdu/ident/model");
if (getprop("/instrumentation/cdu/ident/model") != nil){
line1l = getprop("/instrumentation/cdu/ident/model");
}
line1rt = "ENGINES";
line2lt = "NAV DATA";
line1r = getprop("/instrumentation/cdu/ident/engines");
if (getprop("/instrumentation/cdu/ident/engines") != nil){
line1r = getprop("/instrumentation/cdu/ident/engines");
}
line6l = "<INDEX";
line6r = "POS INIT>";
}
@ -191,11 +430,17 @@ var cdu = func{
title = "RTE 1";
page = "1/2";
line1lt = "ORIGIN";
line1l = getprop("/autopilot/route-manager/departure/airport");
if (getprop("/autopilot/route-manager/departure/airport") != nil){
line1l = getprop("/autopilot/route-manager/departure/airport");
}
line1rt = "DEST";
line1r = getprop("/autopilot/route-manager/destination/airport");
if (getprop("/autopilot/route-manager/destination/airport") != nil){
line1r = getprop("/autopilot/route-manager/destination/airport");
}
line2lt = "RUNWAY";
line2l = getprop("/autopilot/route-manager/departure/runway");
if (getprop("/autopilot/route-manager/departure/runway") != nil){
line2l = getprop("/autopilot/route-manager/departure/runway");
}
line2rt = "FLT NO";
line3rt = "CO ROUTE";
line5l = "<RTE COPY";
@ -231,20 +476,34 @@ var cdu = func{
line6r = "ACTIVATE>";
}
if (display == "RTE1_ARR") {
title = getprop("/autopilot/route-manager/destination/airport")~" ARRIVALS";
if (getprop("/autopilot/route-manager/destination/airport") != nil){
title = getprop("/autopilot/route-manager/destination/airport")~" ARRIVALS";
}
else{
title = "ARRIVALS";
}
line1lt = "STARS";
line1rt = "APPROACHES";
line1r = getprop("/autopilot/route-manager/destination/runway");
if (getprop("/autopilot/route-manager/destination/runway") != nil){
line1r = getprop("/autopilot/route-manager/destination/runway");
}
line2lt = "TRANS";
line3rt = "RUNWAYS";
line6l = "<INDEX";
line6r = "ROUTE>";
}
if (display == "RTE1_DEP") {
title = getprop("/autopilot/route-manager/departure/airport")~" DEPARTURES";
if (getprop("/autopilot/route-manager/departure/airport") != nil){
title = getprop("/autopilot/route-manager/departure/airport")~" DEPARTURES";
}
else{
title = "DEPARTURES";
}
line1lt = "SIDS";
line1rt = "RUNWAYS";
line1r = getprop("/autopilot/route-manager/departure/runway");
if (getprop("/autopilot/route-manager/departure/runway") != nil){
line1r = getprop("/autopilot/route-manager/departure/runway");
}
line2lt = "TRANS";
line6l = "<ERASE";
line6r = "ROUTE>";
@ -257,22 +516,70 @@ var cdu = func{
title = "RTE 1 LEGS";
}
if (getprop("/autopilot/route-manager/route/wp[1]/id") != nil){
line1lt = sprintf("%3.0f", getprop("/autopilot/route-manager/route/wp[1]/leg-bearing-true-deg"));
line1l = getprop("/autopilot/route-manager/route/wp[1]/id");
line2ct = sprintf("%3.0f", getprop("/autopilot/route-manager/route/wp[1]/leg-distance-nm"))~" NM";
line1r = sprintf("%5.0f", getprop("/autopilot/route-manager/route/wp[1]/altitude-ft"));
if (getprop("/autopilot/route-manager/route/wp[1]/speed-kts") != nil){
line4r = getprop("/autopilot/route-manager/route/wp[1]/speed-kts")~"/"~sprintf("%5.0f", getprop("/autopilot/route-manager/route/wp[1]/altitude-ft"));
}
}
if (getprop("/autopilot/route-manager/route/wp[2]/id") != nil){
if (getprop("/autopilot/route-manager/route/wp[2]/leg-bearing-true-deg") != nil){
line2lt = sprintf("%3.0f", getprop("/autopilot/route-manager/route/wp[2]/leg-bearing-true-deg"));
}
line2l = getprop("/autopilot/route-manager/route/wp[2]/id");
if (getprop("/autopilot/route-manager/route/wp[2]/leg-distance-nm") != nil){
line3ct = sprintf("%3.0f", getprop("/autopilot/route-manager/route/wp[2]/leg-distance-nm"))~" NM";
}
line2r = sprintf("%5.0f", getprop("/autopilot/route-manager/route/wp[2]/altitude-ft"));
if (getprop("/autopilot/route-manager/route/wp[2]/speed-kts") != nil){
line4r = getprop("/autopilot/route-manager/route/wp[2]/speed-kts")~"/"~sprintf("%5.0f", getprop("/autopilot/route-manager/route/wp[2]/altitude-ft"));
}
}
if (getprop("/autopilot/route-manager/route/wp[3]/id") != nil){
if (getprop("/autopilot/route-manager/route/wp[3]/leg-bearing-true-deg") != nil){
line3lt = sprintf("%3.0f", getprop("/autopilot/route-manager/route/wp[3]/leg-bearing-true-deg"));
}
line3l = getprop("/autopilot/route-manager/route/wp[3]/id");
if (getprop("/autopilot/route-manager/route/wp[3]/leg-distance-nm") != nil){
line4ct = sprintf("%3.0f", getprop("/autopilot/route-manager/route/wp[3]/leg-distance-nm"))~" NM";
}
line3r = sprintf("%5.0f", getprop("/autopilot/route-manager/route/wp[3]/altitude-ft"));
if (getprop("/autopilot/route-manager/route/wp[3]/speed-kts") != nil){
line3r = getprop("/autopilot/route-manager/route/wp[3]/speed-kts")~"/"~sprintf("%5.0f", getprop("/autopilot/route-manager/route/wp[3]/altitude-ft"));;
}
}
if (getprop("/autopilot/route-manager/route/wp[4]/id") != nil){
if (getprop("/autopilot/route-manager/route/wp[4]/leg-bearing-true-deg") != nil){
line4lt = sprintf("%3.0f", getprop("/autopilot/route-manager/route/wp[4]/leg-bearing-true-deg"));
}
line4l = getprop("/autopilot/route-manager/route/wp[4]/id");
if (getprop("/autopilot/route-manager/route/wp[4]/leg-distance-nm") != nil){
line5ct = sprintf("%3.0f", getprop("/autopilot/route-manager/route/wp[4]/leg-distance-nm"))~" NM";
}
line4r = sprintf("%5.0f", getprop("/autopilot/route-manager/route/wp[4]/altitude-ft"));
if (getprop("/autopilot/route-manager/route/wp[4]/speed-kts") != nil){
line4r = getprop("/autopilot/route-manager/route/wp[4]/speed-kts")~"/"~sprintf("%5.0f", getprop("/autopilot/route-manager/route/wp[4]/altitude-ft"));
}
}
if (getprop("/autopilot/route-manager/route/wp[5]/id") != nil){
if (getprop("/autopilot/route-manager/route/wp[5]/leg-bearing-true-deg") != nil){
line5lt = sprintf("%3.0f", getprop("/autopilot/route-manager/route/wp[5]/leg-bearing-true-deg"));
}
line5l = getprop("/autopilot/route-manager/route/wp[5]/id");
line5r = sprintf("%5.0f", getprop("/autopilot/route-manager/route/wp[5]/altitude-ft"));
if (getprop("/autopilot/route-manager/route/wp[5]/speed-kts") != nil){
line4r = getprop("/autopilot/route-manager/route/wp[5]/speed-kts")~"/"~sprintf("%5.0f", getprop("/autopilot/route-manager/route/wp[5]/altitude-ft"));
}
}
line6l = "<RTE 2 LEGS";
line6r = "RTE DATA>";
if (getprop("/autopilot/route-manager/active") == 1){
line6r = "RTE DATA>";
}
else{
line6r = "ACTIVATE>";
}
}
if (display == "THR_LIM") {
title = "THRUST LIM";
@ -295,13 +602,19 @@ var cdu = func{
line1lt = "FLAP/ACCEL HT";
line1l = getprop("/instrumentation/fmc/to-flap");
line1rt = "REF V1";
line1r = sprintf("%3.0f", getprop("/instrumentation/fmc/vspeeds/V1"));
if (getprop("/instrumentation/fmc/vspeeds/V1") != nil){
line1r = sprintf("%3.0f", getprop("/instrumentation/fmc/vspeeds/V1"));
}
line2lt = "E/O ACCEL HT";
line2rt = "REF VR";
line2r = sprintf("%3.0f", getprop("/instrumentation/fmc/vspeeds/VR"));
if (getprop("/instrumentation/fmc/vspeeds/VR") != nil){
line2r = sprintf("%3.0f", getprop("/instrumentation/fmc/vspeeds/VR"));
}
line3lt = "THR REDUCTION";
line3rt = "REF V2";
line3r = sprintf("%3.0f", getprop("/instrumentation/fmc/vspeeds/V2"));
if (getprop("/instrumentation/fmc/vspeeds/V2") != nil){
line3r = sprintf("%3.0f", getprop("/instrumentation/fmc/vspeeds/V2"));
}
line4lt = "WIND/SLOPE";
line4rt = "TRIM CG";
line5rt = "POS SHIFT";

View file

@ -7,6 +7,17 @@
<texture alias="../../texture"/>
</animation>
<animation>
<type>material</type>
<object-name>CDU</object-name>
<emission>
<factor-prop>/controls/lighting/panel-norm</factor-prop>
<red>0.1</red>
<green>0.1</green>
<blue>0.1</blue>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>Btn.A</object-name>
@ -78,9 +89,10 @@
<object-name>Btn.side.r.4</object-name>
<object-name>Btn.side.r.5</object-name>
<object-name>Btn.side.r.6</object-name>
<condition>
<property>/instrumentation/cdu/serviceable</property>
</condition>
<emission>
<factor-prop>/instrumentation/cdu/serviceable</factor-prop>
<red>1</red>
<green>0.8</green>
<blue>0.5</blue>
@ -92,7 +104,7 @@
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.000</y-m>
<z-m> 0.110</z-m>
<z-m> 0.104</z-m>
</offsets>
<overlay>
<params>
@ -113,7 +125,7 @@
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.043</y-m>
<z-m> 0.110</z-m>
<z-m> 0.103</z-m>
</offsets>
<overlay>
<params>
@ -133,8 +145,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m>-0.048</y-m>
<z-m> 0.103</z-m>
<y-m>-0.045</y-m>
<z-m> 0.097</z-m>
</offsets>
<overlay>
<params>
@ -154,8 +166,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m>-0.052</y-m>
<z-m> 0.098</z-m>
<y-m>-0.049</y-m>
<z-m> 0.092</z-m>
</offsets>
<overlay>
<params>
@ -176,7 +188,7 @@
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.000</y-m>
<z-m> 0.103</z-m>
<z-m> 0.097</z-m>
</offsets>
<overlay>
<params>
@ -197,7 +209,7 @@
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.000</y-m>
<z-m> 0.098</z-m>
<z-m> 0.092</z-m>
</offsets>
<overlay>
<params>
@ -217,8 +229,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.048</y-m>
<z-m> 0.103</z-m>
<y-m> 0.045</y-m>
<z-m> 0.097</z-m>
</offsets>
<overlay>
<params>
@ -238,8 +250,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.052</y-m>
<z-m> 0.098</z-m>
<y-m> 0.049</y-m>
<z-m> 0.092</z-m>
</offsets>
<overlay>
<params>
@ -259,8 +271,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m>-0.048</y-m>
<z-m> 0.090</z-m>
<y-m>-0.045</y-m>
<z-m> 0.085</z-m>
</offsets>
<overlay>
<params>
@ -280,8 +292,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m>-0.052</y-m>
<z-m> 0.085</z-m>
<y-m>-0.049</y-m>
<z-m> 0.080</z-m>
</offsets>
<overlay>
<params>
@ -302,7 +314,7 @@
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.000</y-m>
<z-m> 0.090</z-m>
<z-m> 0.085</z-m>
</offsets>
<overlay>
<params>
@ -323,7 +335,7 @@
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.000</y-m>
<z-m> 0.085</z-m>
<z-m> 0.080</z-m>
</offsets>
<overlay>
<params>
@ -343,8 +355,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.048</y-m>
<z-m> 0.090</z-m>
<y-m> 0.045</y-m>
<z-m> 0.085</z-m>
</offsets>
<overlay>
<params>
@ -364,8 +376,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.052</y-m>
<z-m> 0.085</z-m>
<y-m> 0.049</y-m>
<z-m> 0.080</z-m>
</offsets>
<overlay>
<params>
@ -385,8 +397,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m>-0.048</y-m>
<z-m> 0.077</z-m>
<y-m>-0.045</y-m>
<z-m> 0.073</z-m>
</offsets>
<overlay>
<params>
@ -406,8 +418,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m>-0.052</y-m>
<z-m> 0.072</z-m>
<y-m>-0.049</y-m>
<z-m> 0.068</z-m>
</offsets>
<overlay>
<params>
@ -428,7 +440,7 @@
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.000</y-m>
<z-m> 0.077</z-m>
<z-m> 0.073</z-m>
</offsets>
<overlay>
<params>
@ -449,7 +461,7 @@
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.000</y-m>
<z-m> 0.072</z-m>
<z-m> 0.068</z-m>
</offsets>
<overlay>
<params>
@ -469,8 +481,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.048</y-m>
<z-m> 0.077</z-m>
<y-m> 0.045</y-m>
<z-m> 0.073</z-m>
</offsets>
<overlay>
<params>
@ -490,8 +502,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.052</y-m>
<z-m> 0.072</z-m>
<y-m> 0.049</y-m>
<z-m> 0.068</z-m>
</offsets>
<overlay>
<params>
@ -511,8 +523,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m>-0.048</y-m>
<z-m> 0.064</z-m>
<y-m>-0.045</y-m>
<z-m> 0.061</z-m>
</offsets>
<overlay>
<params>
@ -532,8 +544,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m>-0.052</y-m>
<z-m> 0.059</z-m>
<y-m>-0.049</y-m>
<z-m> 0.056</z-m>
</offsets>
<overlay>
<params>
@ -554,7 +566,7 @@
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.000</y-m>
<z-m> 0.064</z-m>
<z-m> 0.061</z-m>
</offsets>
<overlay>
<params>
@ -575,7 +587,7 @@
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.000</y-m>
<z-m> 0.059</z-m>
<z-m> 0.056</z-m>
</offsets>
<overlay>
<params>
@ -595,8 +607,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.048</y-m>
<z-m> 0.064</z-m>
<y-m> 0.045</y-m>
<z-m> 0.061</z-m>
</offsets>
<overlay>
<params>
@ -616,8 +628,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.052</y-m>
<z-m> 0.059</z-m>
<y-m> 0.049</y-m>
<z-m> 0.056</z-m>
</offsets>
<overlay>
<params>
@ -637,8 +649,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m>-0.048</y-m>
<z-m> 0.051</z-m>
<y-m>-0.045</y-m>
<z-m> 0.049</z-m>
</offsets>
<overlay>
<params>
@ -658,8 +670,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m>-0.052</y-m>
<z-m> 0.046</z-m>
<y-m>-0.049</y-m>
<z-m> 0.044</z-m>
</offsets>
<overlay>
<params>
@ -680,7 +692,7 @@
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.000</y-m>
<z-m> 0.051</z-m>
<z-m> 0.049</z-m>
</offsets>
<overlay>
<params>
@ -701,7 +713,7 @@
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.000</y-m>
<z-m> 0.046</z-m>
<z-m> 0.044</z-m>
</offsets>
<overlay>
<params>
@ -721,8 +733,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.048</y-m>
<z-m> 0.051</z-m>
<y-m> 0.045</y-m>
<z-m> 0.049</z-m>
</offsets>
<overlay>
<params>
@ -742,8 +754,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.052</y-m>
<z-m> 0.046</z-m>
<y-m> 0.049</y-m>
<z-m> 0.044</z-m>
</offsets>
<overlay>
<params>
@ -763,8 +775,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m>-0.048</y-m>
<z-m> 0.038</z-m>
<y-m>-0.045</y-m>
<z-m> 0.037</z-m>
</offsets>
<overlay>
<params>
@ -784,8 +796,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m>-0.052</y-m>
<z-m> 0.033</z-m>
<y-m>-0.049</y-m>
<z-m> 0.032</z-m>
</offsets>
<overlay>
<params>
@ -806,7 +818,7 @@
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.000</y-m>
<z-m> 0.038</z-m>
<z-m> 0.037</z-m>
</offsets>
<overlay>
<params>
@ -827,7 +839,7 @@
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.000</y-m>
<z-m> 0.033</z-m>
<z-m> 0.032</z-m>
</offsets>
<overlay>
<params>
@ -847,8 +859,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.048</y-m>
<z-m> 0.038</z-m>
<y-m> 0.045</y-m>
<z-m> 0.037</z-m>
</offsets>
<overlay>
<params>
@ -868,8 +880,8 @@
<path>Aircraft/Instruments-3d/cdu/display-text-value.xml</path>
<offsets>
<x-m> 0.004</x-m>
<y-m> 0.052</y-m>
<z-m> 0.033</z-m>
<y-m> 0.049</y-m>
<z-m> 0.032</z-m>
</offsets>
<overlay>
<params>
@ -915,81 +927,8 @@
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>DEP_ARR_INDEX</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/cdu/display</property>
<value type="string">RTE1_DEP</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>EICAS_MODES</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/eicas/display</property>
<value type="string">ENG</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>EICAS_SYN</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/eicas/display</property>
<value type="string">ELEC</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>INIT_REF</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/cdu/display</property>
<value type="string">IDENT</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>NAV_RAD</value>
</equals>
</condition>
<command>nasal</command>
<script>setprop("/instrumentation/nav[0]/frequencies/selected-mhz",getprop("/instrumentation/cdu/input"));
setprop("/instrumentation/cdu/input","");</script>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>RTE1_1</value>
</equals>
</condition>
<command>nasal</command>
<script>setprop("/autopilot/route-manager/departure/airport",getprop("/instrumentation/cdu/input"));
setprop("/instrumentation/cdu/input","");</script>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>TO_REF</value>
</equals>
</condition>
<command>nasal</command>
<script>setprop("/instrumentation/fmc/to-flap",getprop("/instrumentation/cdu/input"));
setprop("/instrumentation/cdu/input","");</script>
<script>cdu.key('LSK1L');</script>
</binding>
</action>
</animation>
@ -1001,48 +940,8 @@
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>EICAS_MODES</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/eicas/display</property>
<value type="string">FUEL</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>EICAS_SYN</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/eicas/display</property>
<value type="string">HYD</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>NAV_RAD</value>
</equals>
</condition>
<command>nasal</command>
<script>setprop("/instrumentation/nav[1]/frequencies/selected-mhz",getprop("/instrumentation/cdu/input"));
setprop("/instrumentation/cdu/input","");</script>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>RTE1_1</value>
</equals>
</condition>
<command>nasal</command>
<script>setprop("/autopilot/route-manager/destination/airport",getprop("/instrumentation/cdu/input"));
setprop("/instrumentation/cdu/input","");</script>
<script>cdu.key('LSK1R');</script>
</binding>
</action>
</animation>
@ -1054,59 +953,8 @@
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>EICAS_MODES</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/eicas/display</property>
<value type="string">STAT</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>EICAS_SYN</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/eicas/display</property>
<value type="string">ECS</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>INIT_REF</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/cdu/display</property>
<value type="string">POS_INIT</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>POS_INIT</value>
</equals>
</condition>
<command>nasal</command>
<script>setprop("/instrumentation/fmc/ref-airport",getprop("/instrumentation/cdu/input"));
setprop("/instrumentation/cdu/input","");</script>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>RTE1_1</value>
</equals>
</condition>
<command>nasal</command>
<script>setprop("/autopilot/route-manager/departure/runway",getprop("/instrumentation/cdu/input"));
setprop("/instrumentation/cdu/input","");</script>
<script>cdu.key('LSK2L');</script>
</binding>
</action>
</animation>
@ -1118,37 +966,8 @@
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>DEP_ARR_INDEX</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/cdu/display</property>
<value type="string">RTE1_ARR</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>EICAS_MODES</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/eicas/display</property>
<value type="string">GEAR</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>EICAS_SYN</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/eicas/display</property>
<value type="string">DRS</value>
<command>nasal</command>
<script>cdu.key('LSK2R');</script>
</binding>
</action>
</animation>
@ -1160,15 +979,8 @@
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>INIT_REF</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/cdu/display</property>
<value type="string">PERF_INIT</value>
<command>nasal</command>
<script>cdu.key('LSK3L');</script>
</binding>
</action>
</animation>
@ -1180,15 +992,8 @@
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>INIT_REF</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/cdu/display</property>
<value type="string">THR_LIM</value>
<command>nasal</command>
<script>cdu.key('LSK4L');</script>
</binding>
</action>
</animation>
@ -1200,15 +1005,8 @@
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>INIT_REF</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/cdu/display</property>
<value type="string">TO_REF</value>
<command>nasal</command>
<script>cdu.key('LSK5L');</script>
</binding>
</action>
</animation>
@ -1219,55 +1017,8 @@
<action>
<button>0</button>
<binding>
<condition>
<or>
<equals>
<property>/instrumentation/cdu/display</property>
<value>INIT_REF</value>
</equals>
<equals>
<property>/instrumentation/cdu/display</property>
<value>APP_REF</value>
</equals>
</or>
</condition>
<command>property-cycle</command>
<property>/instrumentation/cdu/display</property>
<value type="string">APP_REF</value>
<value type="string">INIT_REF</value>
</binding>
<binding>
<condition>
<or>
<equals>
<property>/instrumentation/cdu/display</property>
<value>IDENT</value>
</equals>
<equals>
<property>/instrumentation/cdu/display</property>
<value>PERF_INIT</value>
</equals>
<equals>
<property>/instrumentation/cdu/display</property>
<value>POS_INIT</value>
</equals>
<equals>
<property>/instrumentation/cdu/display</property>
<value>POS_REF</value>
</equals>
<equals>
<property>/instrumentation/cdu/display</property>
<value>THR_LIM</value>
</equals>
<equals>
<property>/instrumentation/cdu/display</property>
<value>TO_REF</value>
</equals>
</or>
</condition>
<command>property-assign</command>
<property>/instrumentation/cdu/display</property>
<value type="string">INIT_REF</value>
<command>nasal</command>
<script>cdu.key('LSK6L');</script>
</binding>
</action>
</animation>
@ -1278,103 +1029,11 @@
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>APP_REF</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/cdu/display</property>
<value type="string">THR_LIM</value>
</binding>
<binding>
<condition>
<or>
<equals>
<property>/instrumentation/cdu/display</property>
<value>IDENT</value>
</equals>
<equals>
<property>/instrumentation/cdu/display</property>
<value>TO_REF</value>
</equals>
</or>
</condition>
<command>property-assign</command>
<property>/instrumentation/cdu/display</property>
<value type="string">POS_INIT</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>EICAS_MODES</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/cdu/display</property>
<value type="string">EICAS_SYN</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>EICAS_SYN</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/cdu/display</property>
<value type="string">EICAS_MODES</value>
</binding>
<binding>
<condition>
<or>
<equals>
<property>/instrumentation/cdu/display</property>
<value>POS_INIT</value>
</equals>
<equals>
<property>/instrumentation/cdu/display</property>
<value>DEP</value>
</equals>
<equals>
<property>/instrumentation/cdu/display</property>
<value>RTE1_ARR</value>
</equals>
<equals>
<property>/instrumentation/cdu/display</property>
<value>RTE1_DEP</value>
</equals>
</or>
</condition>
<command>property-assign</command>
<property>/instrumentation/cdu/display</property>
<value type="string">RTE1_1</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>RTE1_1</value>
</equals>
</condition>
<command>property-assign</command>
<property>/autopilot/route-manager/input</property>
<value type="string">@activate</value>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>THR_LIM</value>
</equals>
</condition>
<command>property-assign</command>
<property>/instrumentation/cdu/display</property>
<value type="string">TO_REF</value>
<binding>
<command>nasal</command>
<script>cdu.key('LSK6R');</script>
</binding>
</action>
</animation>
@ -2032,6 +1691,16 @@
<command>nasal</command>
<script>cdu.delete();</script>
</binding>
<binding>
<condition>
<equals>
<property>/instrumentation/cdu/display</property>
<value>RTE1_LEGS</value>
</equals>
</condition>
<command>nasal</command>
<script>cdu.input('DELETE');</script>
</binding>
</action>
</animation>