This commit is contained in:
Thorsten 2017-10-30 21:47:33 +01:00
commit ab922a71ce
4 changed files with 202 additions and 135 deletions

View file

@ -219,7 +219,7 @@ var canvas_lowerECAM_apu = {
} }
if (getprop("/controls/pneumatic/switches/bleedapu") == 1) { if (getprop("/controls/pneumatic/switches/bleedapu") == 1) {
me["APUBleedValve"].setRotation(90*D2R); me["APUBleedValve"].setRotation(90 * D2R);
me["APUBleedOnline"].show(); me["APUBleedOnline"].show();
} else { } else {
me["APUBleedValve"].setRotation(0); me["APUBleedValve"].setRotation(0);
@ -243,8 +243,8 @@ var canvas_lowerECAM_apu = {
me["APUEGT"].setColor(0.7333,0.3803,0); me["APUEGT"].setColor(0.7333,0.3803,0);
me["APUEGT"].setText(sprintf("%s", "XX")); me["APUEGT"].setText(sprintf("%s", "XX"));
} }
me["APUN-needle"].setRotation((getprop("/ECAM/Lower/APU-N") + 90)*D2R); me["APUN-needle"].setRotation((getprop("/ECAM/Lower/APU-N") + 90) * D2R);
me["APUEGT-needle"].setRotation((getprop("/ECAM/Lower/APU-EGT") + 90)*D2R); me["APUEGT-needle"].setRotation((getprop("/ECAM/Lower/APU-EGT") + 90) * D2R);
me.updateBottomStatus(); me.updateBottomStatus();
}, },
@ -267,8 +267,8 @@ var canvas_lowerECAM_eng = {
me["OilQT1-decimal"].setText(sprintf("%s", int(10*math.mod(getprop("/engines/engine[0]/oil-qt-actual"),1)))); me["OilQT1-decimal"].setText(sprintf("%s", int(10*math.mod(getprop("/engines/engine[0]/oil-qt-actual"),1))));
me["OilQT2-decimal"].setText(sprintf("%s", int(10*math.mod(getprop("/engines/engine[1]/oil-qt-actual"),1)))); me["OilQT2-decimal"].setText(sprintf("%s", int(10*math.mod(getprop("/engines/engine[1]/oil-qt-actual"),1))));
me["OilQT1-needle"].setRotation((getprop("/ECAM/Lower/Oil-QT[0]") + 90)*D2R); me["OilQT1-needle"].setRotation((getprop("/ECAM/Lower/Oil-QT[0]") + 90) * D2R);
me["OilQT2-needle"].setRotation((getprop("/ECAM/Lower/Oil-QT[1]") + 90)*D2R); me["OilQT2-needle"].setRotation((getprop("/ECAM/Lower/Oil-QT[1]") + 90) * D2R);
# Oil Pressure # Oil Pressure
if (getprop("/engines/engine[0]/oil-psi-actual") >= 20) { if (getprop("/engines/engine[0]/oil-psi-actual") >= 20) {
@ -290,8 +290,8 @@ var canvas_lowerECAM_eng = {
me["OilPSI1"].setText(sprintf("%s", math.round(getprop("/engines/engine[0]/oil-psi-actual")))); me["OilPSI1"].setText(sprintf("%s", math.round(getprop("/engines/engine[0]/oil-psi-actual"))));
me["OilPSI2"].setText(sprintf("%s", math.round(getprop("/engines/engine[1]/oil-psi-actual")))); me["OilPSI2"].setText(sprintf("%s", math.round(getprop("/engines/engine[1]/oil-psi-actual"))));
me["OilPSI1-needle"].setRotation((getprop("/ECAM/Lower/Oil-PSI[0]") + 90)*D2R); me["OilPSI1-needle"].setRotation((getprop("/ECAM/Lower/Oil-PSI[0]") + 90) * D2R);
me["OilPSI2-needle"].setRotation((getprop("/ECAM/Lower/Oil-PSI[1]") + 90)*D2R); me["OilPSI2-needle"].setRotation((getprop("/ECAM/Lower/Oil-PSI[1]") + 90) * D2R);
me.updateBottomStatus(); me.updateBottomStatus();
}, },
@ -804,10 +804,10 @@ var canvas_lowerECAM_wheel = {
} }
# Gear Doors # Gear Doors
me["leftdoor"].setRotation(getprop("/ECAM/Lower/door-left")*D2R); me["leftdoor"].setRotation(getprop("/ECAM/Lower/door-left") * D2R);
me["rightdoor"].setRotation(getprop("/ECAM/Lower/door-right")*D2R); me["rightdoor"].setRotation(getprop("/ECAM/Lower/door-right") * D2R);
me["nosegeardoorL"].setRotation(getprop("/ECAM/Lower/door-nose-left")*D2R); me["nosegeardoorL"].setRotation(getprop("/ECAM/Lower/door-nose-left") * D2R);
me["nosegeardoorR"].setRotation(getprop("/ECAM/Lower/door-nose-right")*D2R); me["nosegeardoorR"].setRotation(getprop("/ECAM/Lower/door-nose-right") * D2R);
if (nosedoor == 0) { if (nosedoor == 0) {
me["nosegeardoorL"].setColorFill(0.0667,0.7294,0.3137); me["nosegeardoorL"].setColorFill(0.0667,0.7294,0.3137);

View file

@ -99,7 +99,7 @@ var canvas_PFD_1 = {
getKeys: func() { getKeys: func() {
return ["FMA_man","FMA_manmode","FMA_flxtemp","FMA_thrust","FMA_lvrclb","FMA_pitch","FMA_pitcharm","FMA_pitcharm2","FMA_roll","FMA_rollarm","FMA_combined","FMA_catmode","FMA_cattype","FMA_nodh","FMA_dh","FMA_dhn","FMA_ap","FMA_fd","FMA_athr", return ["FMA_man","FMA_manmode","FMA_flxtemp","FMA_thrust","FMA_lvrclb","FMA_pitch","FMA_pitcharm","FMA_pitcharm2","FMA_roll","FMA_rollarm","FMA_combined","FMA_catmode","FMA_cattype","FMA_nodh","FMA_dh","FMA_dhn","FMA_ap","FMA_fd","FMA_athr",
"FMA_man_box","FMA_flx_box","FMA_thrust_box","FMA_pitch_box","FMA_pitcharm_box","FMA_roll_box","FMA_rollarm_box","FMA_combined_box","FMA_catmode_box","FMA_cattype_box","FMA_cat_box","FMA_dh_box","FMA_ap_box","FMA_fd_box","FMA_athr_box","FMA_Middle1", "FMA_man_box","FMA_flx_box","FMA_thrust_box","FMA_pitch_box","FMA_pitcharm_box","FMA_roll_box","FMA_rollarm_box","FMA_combined_box","FMA_catmode_box","FMA_cattype_box","FMA_cat_box","FMA_dh_box","FMA_ap_box","FMA_fd_box","FMA_athr_box","FMA_Middle1",
"FMA_Middle2","ASI_scale","ASI_target","AI_center","AI_bank","AI_slipskid","FD_roll","FD_pitch","ALT_digits","ALT_tens","VS_pointer","QNH_setting","LOC_pointer","LOC_scale","GS_scale","GS_pointer"]; "FMA_Middle2","ASI_scale","ASI_target","AI_center","AI_bank","AI_slipskid","FD_roll","FD_pitch","ALT_digits","ALT_tens","VS_pointer","QNH_setting","LOC_pointer","LOC_scale","GS_scale","GS_pointer","HDG_target"];
}, },
update: func() { update: func() {
state1 = getprop("/systems/thrust/state1"); state1 = getprop("/systems/thrust/state1");
@ -327,7 +327,7 @@ var canvas_PFD_1 = {
me["ASI_target"].setTranslation(0, ASItrgt * -6.6); me["ASI_target"].setTranslation(0, ASItrgt * -6.6);
# Attitude Indicator # Attitude Indicator
me["AI_slipskid"].setTranslation(getprop("/instrumentation/slip-skid-ball/indicated-slip-skid") * -20, 0); me["AI_slipskid"].setTranslation(getprop("/instrumentation/slip-skid-ball/indicated-slip-skid") * -15, 0);
me["AI_bank"].setRotation(-roll * D2R); me["AI_bank"].setRotation(-roll * D2R);
if (fd1 == 1 and ((!wow1 and !wow2 and roll_mode != " ") or roll_mode != " ") and getprop("/it-autoflight/custom/trk-fpa") == 0 and pitch < 25 and pitch > -13 and roll < 45 and roll > -45) { if (fd1 == 1 and ((!wow1 and !wow2 and roll_mode != " ") or roll_mode != " ") and getprop("/it-autoflight/custom/trk-fpa") == 0 and pitch < 25 and pitch > -13 and roll < 45 and roll > -45) {
@ -343,15 +343,15 @@ var canvas_PFD_1 = {
} }
if (getprop("/it-autoflight/fd/roll-bar") != nil) { if (getprop("/it-autoflight/fd/roll-bar") != nil) {
me["FD_roll"].setTranslation((getprop("/it-autoflight/fd/roll-bar"))*2.0, 0); me["FD_roll"].setTranslation((getprop("/it-autoflight/fd/roll-bar")) * 2.2, 0);
} }
if (getprop("/it-autoflight/fd/pitch-bar") != nil) { if (getprop("/it-autoflight/fd/pitch-bar") != nil) {
me["FD_pitch"].setTranslation(0, -(getprop("/it-autoflight/fd/pitch-bar"))*3.8); me["FD_pitch"].setTranslation(0, -(getprop("/it-autoflight/fd/pitch-bar")) * 3.8);
} }
# Altitude # Altitude
me["ALT_digits"].setText(sprintf("%s", getprop("/instrumentation/altimeter/indicated-altitude-ft-pfd"))); me["ALT_digits"].setText(sprintf("%s", getprop("/instrumentation/altimeter/indicated-altitude-ft-pfd")));
altTens = num(right(sprintf("%02d", getprop("/instrumentation/altimeter/indicated-altitude-ft1")), 2)); altTens = num(right(sprintf("%02d", getprop("/instrumentation/altimeter/indicated-altitude-ft")), 2));
me["ALT_tens"].setTranslation(0, altTens * 1.392); me["ALT_tens"].setTranslation(0, altTens * 1.392);
# QNH # QNH
@ -368,19 +368,38 @@ var canvas_PFD_1 = {
# ILS # ILS
if (getprop("/modes/pfd/ILS1") == 1) { if (getprop("/modes/pfd/ILS1") == 1) {
me["LOC_pointer"].show();
me["LOC_scale"].show(); me["LOC_scale"].show();
me["GS_pointer"].show();
me["GS_scale"].show(); me["GS_scale"].show();
} else { } else {
me["LOC_pointer"].hide();
me["LOC_scale"].hide(); me["LOC_scale"].hide();
me["GS_pointer"].hide();
me["GS_scale"].hide(); me["GS_scale"].hide();
} }
if (getprop("/modes/pfd/ILS1") == 1 and getprop("/instrumentation/nav[0]/in-range") == 1 and getprop("/instrumentation/nav[0]/nav-loc") == 1) {
me["LOC_pointer"].show();
} else {
me["LOC_pointer"].hide();
}
if (getprop("/modes/pfd/ILS1") == 1 and getprop("/instrumentation/nav[0]/gs-in-range") == 1 and getprop("/instrumentation/nav[0]/has-gs") == 1) {
me["GS_pointer"].show();
} else {
me["GS_pointer"].hide();
}
me["LOC_pointer"].setTranslation(-(getprop("/instrumentation/nav[0]/heading-needle-deflection-norm")) * 197, 0);
me["GS_pointer"].setTranslation(0, getprop("/instrumentation/nav[0]/gs-needle-deflection-norm") * 197);
# Heading
# if (getprop("/it-autoflight/custom/show-hdg") == 1) {
# me["HDG_target"].show();
# } else {
me["HDG_target"].hide();
# }
}, },
}; };
setprop("/testing", 0); # REMOVE WHEN PFD FINISHED
setlistener("sim/signals/fdm-initialized", func { setlistener("sim/signals/fdm-initialized", func {
PFD_display = canvas.new({ PFD_display = canvas.new({
"name": "PFD", "name": "PFD",

View file

@ -38,14 +38,14 @@
guidetolerance="10" guidetolerance="10"
inkscape:pageopacity="1" inkscape:pageopacity="1"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:window-width="1600" inkscape:window-width="1920"
inkscape:window-height="850" inkscape:window-height="1030"
id="namedview371" id="namedview371"
showgrid="true" showgrid="true"
inkscape:zoom="1" inkscape:zoom="0.5"
inkscape:cx="627.63171" inkscape:cx="597.50413"
inkscape:cy="770.96194" inkscape:cy="374.5689"
inkscape:window-x="-8" inkscape:window-x="1592"
inkscape:window-y="-8" inkscape:window-y="-8"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg2" inkscape:current-layer="svg2"
@ -71,6 +71,39 @@
height="1023.9705" height="1023.9705"
width="1024" width="1024"
style="display:none;fill:#000000;fill-opacity:0" /> style="display:none;fill:#000000;fill-opacity:0" />
<rect
y="941.81335"
x="213.5808"
height="64.058205"
width="469.54089"
id="rect4416"
style="fill:#646364;fill-opacity:1;stroke:none;stroke-width:2.4000001;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path4422"
d="m 211.98006,940.2104 472.74554,0"
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
<rect
inkscape:label="#rect9211"
y="887.36865"
x="213.58055"
height="54.440548"
width="469.54053"
id="HDG_target_clip"
style="opacity:0.46000001;fill:#ff00ff;fill-opacity:1;stroke:none;stroke-width:1.27696717;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path4418"
d="m 684.7256,940.31065 3.2e-4,64.06045"
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
<path
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
d="m 211.98006,940.21065 0,64.06045"
id="path4420"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path <path
sodipodi:nodetypes="cc" sodipodi:nodetypes="cc"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
@ -91,7 +124,7 @@
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
id="ASI_target" id="ASI_target"
d="m 157.88678,491.12121 -10e-6,43.41526 -40.47717,-21.70763 z" d="m 157.88678,491.12121 -10e-6,43.41526 -40.47717,-21.70763 z"
style="fill:none;fill-opacity:1;stroke:#ac5aae;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" /> style="fill:none;fill-opacity:1;stroke:#238995;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
<rect <rect
style="fill:#646364;fill-opacity:1;stroke:none;stroke-width:2.4000001;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" style="fill:#646364;fill-opacity:1;stroke:none;stroke-width:2.4000001;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
id="ASI_grey" id="ASI_grey"
@ -102,10 +135,10 @@
inkscape:label="#rect4351" /> inkscape:label="#rect4351" />
<rect <rect
inkscape:label="#rect9211" inkscape:label="#rect9211"
y="237.04402" y="237.03366"
x="10.8752" x="7.6752005"
height="551.97998" height="552.00073"
width="111.2864" width="117.69082"
id="ASI_scale_clip" id="ASI_scale_clip"
style="opacity:0.46000001;fill:#ff00ff;fill-opacity:1;stroke:none;stroke-width:1.27696717;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> style="opacity:0.46000001;fill:#ff00ff;fill-opacity:1;stroke:none;stroke-width:1.27696717;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path <path
@ -302,7 +335,7 @@
style="fill:#bfcc2a;fill-opacity:1;stroke:none;stroke-width:3.45797205;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" style="fill:#bfcc2a;fill-opacity:1;stroke:none;stroke-width:3.45797205;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
transform="matrix(0,1,-1,0,0,0)" /> transform="matrix(0,1,-1,0,0,0)" />
<path <path
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:3.2;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
d="m 854.63039,560.79086 0,226.6383" d="m 854.63039,560.79086 0,226.6383"
id="path4309" id="path4309"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
@ -833,7 +866,7 @@
<path <path
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
d="m 123.76482,-2061.3896 0,2574.1872" d="m 123.76482,-2061.3896 0,2574.1872"
id="path4353" id="ASI_line"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" /> sodipodi:nodetypes="cc" />
</g> </g>
@ -1109,39 +1142,45 @@
</g> </g>
<g <g
id="LOC_scale" id="LOC_scale"
inkscape:label="#g4921" inkscape:label="#g4578">
transform="matrix(1.0666667,0,0,1.066636,-0.2,-0.50381959)">
<rect <rect
style="fill:#bfcc2a;fill-opacity:1;stroke:none;stroke-width:3.91476655;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" style="fill:#bfcc2a;fill-opacity:1;stroke:none;stroke-width:3.91476655;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4858" id="rect4858"
width="7.3099508" width="7.7972813"
height="38.711491" height="41.291069"
x="416.67984" x="444.25851"
y="765.60675" /> y="816.11987" />
<g
id="g4523">
<path <path
style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.25;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" sodipodi:nodetypes="zzzzz"
d="m 333.63842,785.11322 c 0,3.29678 -2.67256,5.96936 -5.96935,5.96936 -3.29679,0 -5.96936,-2.67257 -5.96936,-5.96936 0,-3.29679 2.67258,-5.96935 5.96936,-5.96935 3.29678,0 5.96935,2.67257 5.96935,5.96935 z" inkscape:connector-curvature="0"
id="path4874" id="path4874"
inkscape:connector-curvature="0" d="m 355.793,836.92648 c 0,3.51647 -2.85073,6.36714 -6.3673,6.36714 -3.51658,0 -6.36732,-2.85066 -6.36732,-6.36714 0,-3.51647 2.85075,-6.36712 6.36732,-6.36712 3.51656,0 6.3673,2.85066 6.3673,6.36712 z"
sodipodi:nodetypes="zzzzz" /> style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.39996552;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path <path
style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.25;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" sodipodi:nodetypes="zzzzz"
d="m 241.89132,785.11322 c 0,3.29678 -2.67256,5.96936 -5.96935,5.96936 -3.29679,0 -5.96936,-2.67257 -5.96936,-5.96936 0,-3.29679 2.67258,-5.96935 5.96936,-5.96935 3.29678,0 5.96935,2.67257 5.96935,5.96935 z" inkscape:connector-curvature="0"
id="circle4876" id="circle4876"
inkscape:connector-curvature="0" d="m 257.81742,836.9262 c 0,3.51647 -2.85073,6.36714 -6.36731,6.36714 -3.51658,0 -6.36732,-2.85066 -6.36732,-6.36714 0,-3.51647 2.85075,-6.36712 6.36732,-6.36712 3.51656,0 6.36731,2.85066 6.36731,6.36712 z"
sodipodi:nodetypes="zzzzz" /> style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.39996552;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
transform="translate(1.8616028,0)"
id="g4527">
<path <path
style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.25;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" sodipodi:nodetypes="zzzzz"
d="m 608.70092,785.11322 c 0,3.29678 -2.67256,5.96936 -5.96935,5.96936 -3.29679,0 -5.96936,-2.67257 -5.96936,-5.96936 0,-3.29679 2.67258,-5.96935 5.96936,-5.96935 3.29678,0 5.96935,2.67257 5.96935,5.96935 z" inkscape:connector-curvature="0"
id="circle4878" id="circle4878"
inkscape:connector-curvature="0" d="m 649.3818,836.9262 c 0,3.51647 -2.85073,6.36714 -6.36731,6.36714 -3.51657,0 -6.36731,-2.85066 -6.36731,-6.36714 0,-3.51647 2.85075,-6.36712 6.36731,-6.36712 3.51657,0 6.36731,2.85066 6.36731,6.36712 z"
sodipodi:nodetypes="zzzzz" /> style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.39996552;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path <path
style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.25;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" sodipodi:nodetypes="zzzzz"
d="m 516.95382,785.11322 c 0,3.29678 -2.67256,5.96936 -5.96935,5.96936 -3.29679,0 -5.96936,-2.67257 -5.96936,-5.96936 0,-3.29679 2.67258,-5.96935 5.96936,-5.96935 3.29678,0 5.96935,2.67257 5.96935,5.96935 z"
id="circle4880"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="zzzzz" /> id="circle4880"
d="m 551.40661,836.9262 c 0,3.51647 -2.85074,6.36714 -6.36731,6.36714 -3.51658,0 -6.36732,-2.85066 -6.36732,-6.36714 0,-3.51647 2.85075,-6.36712 6.36732,-6.36712 3.51656,0 6.36731,2.85066 6.36731,6.36712 z"
style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.39996552;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g> </g>
<rect <rect
style="fill:none;fill-opacity:1;stroke:#ac5aae;stroke-width:4.0350337;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" style="fill:none;fill-opacity:1;stroke:#ac5aae;stroke-width:4.0350337;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
@ -1154,44 +1193,46 @@
inkscape:label="#rect4872" /> inkscape:label="#rect4872" />
<g <g
id="GS_scale" id="GS_scale"
inkscape:label="#g4952" inkscape:label="#g4569">
transform="matrix(1.0666667,0,0,1.066636,0,0.11184802)">
<rect <rect
transform="matrix(0,1,-1,0,0,0)" transform="matrix(0,1,-1,0,0,0)"
y="-700.08728" y="-746.75977"
x="477.56946" x="509.50464"
height="50.711491" height="54.092258"
width="7.3099508" width="7.7970567"
id="rect4925" id="rect4925"
style="fill:#bfcc2a;fill-opacity:1;stroke:none;stroke-width:4.4806304;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> style="fill:#bfcc2a;fill-opacity:1;stroke:none;stroke-width:4.4806304;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<g
transform="translate(0,-1.0792028)"
id="g4531">
<path <path
transform="matrix(0,1,-1,0,0,0)" sodipodi:nodetypes="zzzzz"
style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.25;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" inkscape:connector-curvature="0"
d="m 395.52413,-669.99731 c 0,3.29678 -2.67257,5.96935 -5.96935,5.96935 -3.29678,0 -5.96936,-2.67256 -5.96936,-5.96935 0,-3.29679 2.67257,-5.96936 5.96936,-5.96936 3.29679,0 5.96935,2.67258 5.96935,5.96936 z"
id="circle4927" id="circle4927"
inkscape:connector-curvature="0" d="m 714.66382,422.10642 c -3.51657,0 -6.36731,-2.85066 -6.36731,-6.36712 0,-3.51646 2.85073,-6.36713 6.36731,-6.36713 3.51658,0 6.36732,2.85066 6.36732,6.36713 0,3.51648 -2.85075,6.36712 -6.36732,6.36712 z"
sodipodi:nodetypes="zzzzz" /> style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.39996552;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path <path
transform="matrix(0,1,-1,0,0,0)" sodipodi:nodetypes="zzzzz"
style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.25;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" inkscape:connector-curvature="0"
d="m 303.77703,-669.99731 c 0,3.29678 -2.67257,5.96935 -5.96935,5.96935 -3.29678,0 -5.96936,-2.67256 -5.96936,-5.96935 0,-3.29679 2.67257,-5.96936 5.96936,-5.96936 3.29679,0 5.96935,2.67258 5.96935,5.96936 z"
id="circle4929" id="circle4929"
inkscape:connector-curvature="0" d="m 714.66382,324.13136 c -3.51657,0 -6.36731,-2.85066 -6.36731,-6.36712 0,-3.51646 2.85073,-6.36713 6.36731,-6.36713 3.51658,0 6.36732,2.85066 6.36732,6.36713 0,3.51648 -2.85075,6.36712 -6.36732,6.36712 z"
sodipodi:nodetypes="zzzzz" /> style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.39996552;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
id="g4565">
<path <path
transform="matrix(0,1,-1,0,0,0)" sodipodi:nodetypes="zzzzz"
style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.25;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" inkscape:connector-curvature="0"
d="m 670.58666,-669.99731 c 0,3.29678 -2.67257,5.96935 -5.96935,5.96935 -3.29678,0 -5.96936,-2.67256 -5.96936,-5.96935 0,-3.29679 2.67257,-5.96936 5.96936,-5.96936 3.29679,0 5.96935,2.67258 5.96935,5.96936 z"
id="circle4931" id="circle4931"
inkscape:connector-curvature="0" d="m 714.66382,716.47762 c -3.51657,0 -6.36731,-2.85066 -6.36731,-6.36712 0,-3.51647 2.85073,-6.36714 6.36731,-6.36714 3.51658,0 6.36732,2.85066 6.36732,6.36714 0,3.51647 -2.85075,6.36712 -6.36732,6.36712 z"
sodipodi:nodetypes="zzzzz" /> style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.39996552;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path <path
transform="matrix(0,1,-1,0,0,0)" sodipodi:nodetypes="zzzzz"
style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.25;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 578.83953,-669.99731 c 0,3.29678 -2.67257,5.96935 -5.96935,5.96935 -3.29678,0 -5.96936,-2.67256 -5.96936,-5.96935 0,-3.29679 2.67257,-5.96936 5.96936,-5.96936 3.29679,0 5.96935,2.67258 5.96935,5.96936 z"
id="circle4933"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="zzzzz" /> id="circle4933"
d="m 714.66382,618.50242 c -3.51657,0 -6.36731,-2.85066 -6.36731,-6.36712 0,-3.51647 2.85073,-6.36714 6.36731,-6.36714 3.51658,0 6.36732,2.85066 6.36732,6.36714 0,3.51647 -2.85075,6.36712 -6.36732,6.36712 z"
style="fill:none;fill-opacity:1;stroke:#cecdce;stroke-width:2.39996552;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g> </g>
<rect <rect
inkscape:label="#rect4872" inkscape:label="#rect4872"
@ -1312,7 +1353,7 @@
inkscape:label="#rect9211" /> inkscape:label="#rect9211" />
<text <text
id="ALT_tens" id="ALT_tens"
y="289.57291" y="289.76563"
x="896.33405" x="896.33405"
style="font-style:normal;font-weight:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#11ba50;fill-opacity:1;stroke:none;stroke-width:0.75" style="font-style:normal;font-weight:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#11ba50;fill-opacity:1;stroke:none;stroke-width:0.75"
xml:space="preserve" xml:space="preserve"
@ -1320,57 +1361,57 @@
inkscape:label="#text913" inkscape:label="#text913"
transform="scale(0.96366556,1.0377044)"><tspan transform="scale(0.96366556,1.0377044)"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:94.99999881%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:94.99999881%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75"
y="289.57291" y="289.76563"
x="896.33405" x="896.33405"
id="tspan911" id="tspan911"
sodipodi:role="line" /><tspan sodipodi:role="line" /><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75"
y="316.92538" y="317.1181"
x="896.33405" x="896.33405"
sodipodi:role="line" sodipodi:role="line"
id="tspan919">40</tspan><tspan id="tspan919">40</tspan><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75"
y="343.75308" y="343.9458"
x="896.33405" x="896.33405"
sodipodi:role="line" sodipodi:role="line"
id="tspan4300">20</tspan><tspan id="tspan4300">20</tspan><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75"
y="370.58075" y="370.77347"
x="896.33405" x="896.33405"
sodipodi:role="line" sodipodi:role="line"
id="tspan931">00</tspan><tspan id="tspan931">00</tspan><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75"
y="397.40842" y="397.60114"
x="896.33405" x="896.33405"
sodipodi:role="line" sodipodi:role="line"
id="tspan927">80</tspan><tspan id="tspan927">80</tspan><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75"
y="424.23611" y="424.42883"
x="896.33405" x="896.33405"
sodipodi:role="line" sodipodi:role="line"
id="tspan925">60</tspan><tspan id="tspan925">60</tspan><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75"
y="451.06378" y="451.2565"
x="896.33405" x="896.33405"
sodipodi:role="line" sodipodi:role="line"
id="tspan923">40</tspan><tspan id="tspan923">40</tspan><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75"
y="477.89145" y="478.08417"
x="896.33405" x="896.33405"
sodipodi:role="line" sodipodi:role="line"
id="tspan921">20</tspan><tspan id="tspan921">20</tspan><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75"
y="504.71915" y="504.91187"
x="896.33405" x="896.33405"
sodipodi:role="line" sodipodi:role="line"
id="tspan917">00</tspan><tspan id="tspan917">00</tspan><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75"
y="531.54681" y="531.73956"
x="896.33405" x="896.33405"
sodipodi:role="line" sodipodi:role="line"
id="tspan915">80</tspan><tspan id="tspan915">80</tspan><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75" style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.83641052px;line-height:87.00000048%;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';fill:#11ba50;fill-opacity:1;stroke-width:0.75"
y="558.37451" y="558.56726"
x="896.33405" x="896.33405"
sodipodi:role="line" sodipodi:role="line"
id="tspan4302">60</tspan></text> id="tspan4302">60</tspan></text>
@ -1760,17 +1801,17 @@
sodipodi:nodetypes="cc" sodipodi:nodetypes="cc"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
id="path4382" id="path4382"
d="m 193.91669,375.84042 14.13625,6.68826" d="m 193.91669,378.22448 14.13625,6.68826"
style="fill:none;fill-opacity:1;stroke:#11ba50;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" /> style="fill:none;fill-opacity:1;stroke:#11ba50;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
<path <path
style="fill:none;fill-opacity:1;stroke:#11ba50;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" style="fill:none;fill-opacity:1;stroke:#11ba50;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
d="m 193.80428,389.42701 14.36107,6.19082" d="m 193.80428,391.81107 14.36107,6.19082"
id="path4384" id="path4384"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" /> sodipodi:nodetypes="cc" />
<path <path
style="fill:none;fill-opacity:1;stroke:#11ba50;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" style="fill:none;fill-opacity:1;stroke:#11ba50;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
d="m 702.88256,375.94042 -14.13625,6.68826" d="m 702.88256,378.32448 -14.13625,6.68826"
id="path4386" id="path4386"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" /> sodipodi:nodetypes="cc" />
@ -1778,7 +1819,7 @@
sodipodi:nodetypes="cc" sodipodi:nodetypes="cc"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
id="path4388" id="path4388"
d="m 702.99497,389.52701 -14.36107,6.19082" d="m 702.99497,391.91107 -14.36107,6.19082"
style="fill:none;fill-opacity:1;stroke:#11ba50;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" /> style="fill:none;fill-opacity:1;stroke:#11ba50;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
<g <g
id="g3954" id="g3954"
@ -1852,4 +1893,11 @@
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" /> style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:3.19995403;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
</g> </g>
</g> </g>
<path
style="fill:none;fill-opacity:1;stroke:#238995;stroke-width:4;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
d="m 426.05644,894.67034 43.41526,10e-6 -21.70763,40.47717 z"
id="HDG_target"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc"
inkscape:label="#rect902" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 298 KiB

After

Width:  |  Height:  |  Size: 300 KiB

View file

@ -256,13 +256,13 @@ var canvas_upperECAM_cfm_eis2 = {
me["N12"].setText(sprintf("%s", math.floor(getprop("/engines/engine[1]/n1-actual") + 0.05))); me["N12"].setText(sprintf("%s", math.floor(getprop("/engines/engine[1]/n1-actual") + 0.05)));
me["N12-decimal"].setText(sprintf("%s", int(10*math.mod(getprop("/engines/engine[1]/n1-actual") + 0.05,1)))); me["N12-decimal"].setText(sprintf("%s", int(10*math.mod(getprop("/engines/engine[1]/n1-actual") + 0.05,1))));
me["N11-needle"].setRotation((getprop("/ECAM/Upper/N1[0]") + 90)*D2R); me["N11-needle"].setRotation((getprop("/ECAM/Upper/N1[0]") + 90) * D2R);
me["N11-thr"].setRotation((getprop("/ECAM/Upper/N1thr[0]") + 90)*D2R); me["N11-thr"].setRotation((getprop("/ECAM/Upper/N1thr[0]") + 90) * D2R);
me["N11-ylim"].setRotation((getprop("/ECAM/Upper/N1ylim") + 90)*D2R); me["N11-ylim"].setRotation((getprop("/ECAM/Upper/N1ylim") + 90) * D2R);
me["N12-needle"].setRotation((getprop("/ECAM/Upper/N1[1]") + 90)*D2R); me["N12-needle"].setRotation((getprop("/ECAM/Upper/N1[1]") + 90) * D2R);
me["N12-thr"].setRotation((getprop("/ECAM/Upper/N1thr[1]") + 90)*D2R); me["N12-thr"].setRotation((getprop("/ECAM/Upper/N1thr[1]") + 90) * D2R);
me["N12-ylim"].setRotation((getprop("/ECAM/Upper/N1ylim") + 90)*D2R); me["N12-ylim"].setRotation((getprop("/ECAM/Upper/N1ylim") + 90) * D2R);
if (getprop("/systems/fadec/eng1/n1") == 1) { if (getprop("/systems/fadec/eng1/n1") == 1) {
me["N11-scale"].setColor(0.8078,0.8039,0.8078); me["N11-scale"].setColor(0.8078,0.8039,0.8078);
@ -336,8 +336,8 @@ var canvas_upperECAM_cfm_eis2 = {
me["EGT1"].setText(sprintf("%s", math.round(getprop("/engines/engine[0]/egt-actual")))); me["EGT1"].setText(sprintf("%s", math.round(getprop("/engines/engine[0]/egt-actual"))));
me["EGT2"].setText(sprintf("%s", math.round(getprop("/engines/engine[1]/egt-actual")))); me["EGT2"].setText(sprintf("%s", math.round(getprop("/engines/engine[1]/egt-actual"))));
me["EGT1-needle"].setRotation((getprop("/ECAM/Upper/EGT[0]") + 90)*D2R); me["EGT1-needle"].setRotation((getprop("/ECAM/Upper/EGT[0]") + 90) * D2R);
me["EGT2-needle"].setRotation((getprop("/ECAM/Upper/EGT[1]") + 90)*D2R); me["EGT2-needle"].setRotation((getprop("/ECAM/Upper/EGT[1]") + 90) * D2R);
if (getprop("/systems/fadec/eng1/egt") == 1) { if (getprop("/systems/fadec/eng1/egt") == 1) {
me["EGT1-scale"].setColor(0.8078,0.8039,0.8078); me["EGT1-scale"].setColor(0.8078,0.8039,0.8078);
@ -470,12 +470,12 @@ var canvas_upperECAM_iae_eis2 = {
me["EPR1"].setText(sprintf("%1.3f", getprop("/engines/engine[0]/epr-actual"))); me["EPR1"].setText(sprintf("%1.3f", getprop("/engines/engine[0]/epr-actual")));
me["EPR2"].setText(sprintf("%1.3f", getprop("/engines/engine[1]/epr-actual"))); me["EPR2"].setText(sprintf("%1.3f", getprop("/engines/engine[1]/epr-actual")));
me["EPR1-needle"].setRotation((getprop("/ECAM/Upper/EPR[0]") + 90)*D2R); me["EPR1-needle"].setRotation((getprop("/ECAM/Upper/EPR[0]") + 90) * D2R);
me["EPR1-thr"].setRotation((getprop("/ECAM/Upper/EPRthr[0]") + 90)*D2R); me["EPR1-thr"].setRotation((getprop("/ECAM/Upper/EPRthr[0]") + 90) * D2R);
me["EPR1-ylim"].setRotation((getprop("/ECAM/Upper/EPRylim") + 90)*D2R); me["EPR1-ylim"].setRotation((getprop("/ECAM/Upper/EPRylim") + 90) * D2R);
me["EPR2-needle"].setRotation((getprop("/ECAM/Upper/EPR[1]") + 90)*D2R); me["EPR2-needle"].setRotation((getprop("/ECAM/Upper/EPR[1]") + 90) * D2R);
me["EPR2-thr"].setRotation((getprop("/ECAM/Upper/EPRthr[1]") + 90)*D2R); me["EPR2-thr"].setRotation((getprop("/ECAM/Upper/EPRthr[1]") + 90) * D2R);
me["EPR2-ylim"].setRotation((getprop("/ECAM/Upper/EPRylim") + 90)*D2R); me["EPR2-ylim"].setRotation((getprop("/ECAM/Upper/EPRylim") + 90) * D2R);
if (getprop("/systems/fadec/eng1/epr") == 1) { if (getprop("/systems/fadec/eng1/epr") == 1) {
me["EPR1-scale"].setColor(0.8078,0.8039,0.8078); me["EPR1-scale"].setColor(0.8078,0.8039,0.8078);
@ -533,8 +533,8 @@ var canvas_upperECAM_iae_eis2 = {
me["EGT1"].setText(sprintf("%s", math.round(getprop("/engines/engine[0]/egt-actual")))); me["EGT1"].setText(sprintf("%s", math.round(getprop("/engines/engine[0]/egt-actual"))));
me["EGT2"].setText(sprintf("%s", math.round(getprop("/engines/engine[1]/egt-actual")))); me["EGT2"].setText(sprintf("%s", math.round(getprop("/engines/engine[1]/egt-actual"))));
me["EGT1-needle"].setRotation((getprop("/ECAM/Upper/EGT[0]") + 90)*D2R); me["EGT1-needle"].setRotation((getprop("/ECAM/Upper/EGT[0]") + 90) * D2R);
me["EGT2-needle"].setRotation((getprop("/ECAM/Upper/EGT[1]") + 90)*D2R); me["EGT2-needle"].setRotation((getprop("/ECAM/Upper/EGT[1]") + 90) * D2R);
if (getprop("/systems/fadec/eng1/egt") == 1) { if (getprop("/systems/fadec/eng1/egt") == 1) {
me["EGT1-scale"].setColor(0.8078,0.8039,0.8078); me["EGT1-scale"].setColor(0.8078,0.8039,0.8078);
@ -579,13 +579,13 @@ var canvas_upperECAM_iae_eis2 = {
me["N12"].setText(sprintf("%s", math.floor(getprop("/engines/engine[1]/n1-actual") + 0.05))); me["N12"].setText(sprintf("%s", math.floor(getprop("/engines/engine[1]/n1-actual") + 0.05)));
me["N12-decimal"].setText(sprintf("%s", int(10*math.mod(getprop("/engines/engine[1]/n1-actual") + 0.05,1)))); me["N12-decimal"].setText(sprintf("%s", int(10*math.mod(getprop("/engines/engine[1]/n1-actual") + 0.05,1))));
me["N11-needle"].setRotation((getprop("/ECAM/Upper/N1[0]") + 90)*D2R); me["N11-needle"].setRotation((getprop("/ECAM/Upper/N1[0]") + 90) * D2R);
me["N11-thr"].setRotation((getprop("/ECAM/Upper/N1thr[0]") + 90)*D2R); me["N11-thr"].setRotation((getprop("/ECAM/Upper/N1thr[0]") + 90) * D2R);
me["N11-ylim"].setRotation((getprop("/ECAM/Upper/N1ylim") + 90)*D2R); me["N11-ylim"].setRotation((getprop("/ECAM/Upper/N1ylim") + 90) * D2R);
me["N12-needle"].setRotation((getprop("/ECAM/Upper/N1[1]") + 90)*D2R); me["N12-needle"].setRotation((getprop("/ECAM/Upper/N1[1]") + 90) * D2R);
me["N12-thr"].setRotation((getprop("/ECAM/Upper/N1thr[1]") + 90)*D2R); me["N12-thr"].setRotation((getprop("/ECAM/Upper/N1thr[1]") + 90) * D2R);
me["N12-ylim"].setRotation((getprop("/ECAM/Upper/N1ylim") + 90)*D2R); me["N12-ylim"].setRotation((getprop("/ECAM/Upper/N1ylim") + 90) * D2R);
if (getprop("/systems/fadec/eng1/n1") == 1) { if (getprop("/systems/fadec/eng1/n1") == 1) {
me["N11-scale"].setColor(0.8078,0.8039,0.8078); me["N11-scale"].setColor(0.8078,0.8039,0.8078);