A32X: Some wheel ecam work

This commit is contained in:
Joshua Davidson 2017-10-16 20:38:22 -04:00
parent 847901ce64
commit aa3aa29e6b
3 changed files with 250 additions and 588 deletions

View file

@ -135,7 +135,8 @@ var canvas_lowerECAM_apu = {
return m; return m;
}, },
getKeys: func() { getKeys: func() {
return ["APUN-needle","APUEGT-needle","APUN","APUEGT","APUAvail","APUFlapOpen","APUBleedValve","APUBleedOnline","APUGenOnline","APUGentext","APUGenLoad","APUGenbox","APUGenVolt","APUGenHz","APUBleedPSI","APUfuelLO","GW","TAT","SAT","text3724","text3728","text3732"]; return ["APUN-needle","APUEGT-needle","APUN","APUEGT","APUAvail","APUFlapOpen","APUBleedValve","APUBleedOnline","APUGenOnline","APUGentext","APUGenLoad","APUGenbox","APUGenVolt","APUGenHz","APUBleedPSI","APUfuelLO","GW","TAT","SAT","text3724","text3728",
"text3732"];
}, },
update: func() { update: func() {
oat = getprop("/environment/temperature-degc"); oat = getprop("/environment/temperature-degc");
@ -350,7 +351,7 @@ var canvas_lowerECAM_fctl = {
return m; return m;
}, },
getKeys: func() { getKeys: func() {
return["ailL","ailR","elevL","elevR","PTcc","PT","PTupdn","GW","TAT","SAT","elac1","elac2","sec1","sec2","sec3","ailLblue","ailRblue","elevLblue","elevRblue","rudderblue","ailLgreen","ailRgreen","elevLgreen","ruddergreen","PTgreen","elevRyellow", return["GW","TAT","SAT","ailL","ailR","elevL","elevR","PTcc","PT","PTupdn","elac1","elac2","sec1","sec2","sec3","ailLblue","ailRblue","elevLblue","elevRblue","rudderblue","ailLgreen","ailRgreen","elevLgreen","ruddergreen","PTgreen","elevRyellow",
"rudderyellow","PTyellow","rudder","spdbrkblue","spdbrkgreen","spdbrkyellow","spoiler1Rex","spoiler1Rrt","spoiler2Rex","spoiler2Rrt","spoiler3Rex","spoiler3Rrt","spoiler4Rex","spoiler4Rrt","spoiler5Rex","spoiler5Rrt","spoiler1Lex","spoiler1Lrt", "rudderyellow","PTyellow","rudder","spdbrkblue","spdbrkgreen","spdbrkyellow","spoiler1Rex","spoiler1Rrt","spoiler2Rex","spoiler2Rrt","spoiler3Rex","spoiler3Rrt","spoiler4Rex","spoiler4Rrt","spoiler5Rex","spoiler5Rrt","spoiler1Lex","spoiler1Lrt",
"spoiler2Lex","spoiler2Lrt","spoiler3Lex","spoiler3Lrt","spoiler4Lex","spoiler4Lrt","spoiler5Lex","spoiler5Lrt","spoiler1Rf","spoiler2Rf","spoiler3Rf","spoiler4Rf","spoiler5Rf","spoiler1Lf","spoiler2Lf","spoiler3Lf","spoiler4Lf","spoiler5Lf", "spoiler2Lex","spoiler2Lrt","spoiler3Lex","spoiler3Lrt","spoiler4Lex","spoiler4Lrt","spoiler5Lex","spoiler5Lrt","spoiler1Rf","spoiler2Rf","spoiler3Rf","spoiler4Rf","spoiler5Rf","spoiler1Lf","spoiler2Lf","spoiler3Lf","spoiler4Lf","spoiler5Lf",
"ailLscale","ailRscale","path4249","path4249-3","path4249-3-6-7","path4249-3-6-7-5","path4249-3-6"]; "ailLscale","ailRscale","path4249","path4249-3","path4249-3-6-7","path4249-3-6-7-5","path4249-3-6"];
@ -736,8 +737,9 @@ var canvas_lowerECAM_wheel = {
return m; return m;
}, },
getKeys: func() { getKeys: func() {
return ["autobrk","autobrkind","NWSyellowrect","altnbrkyellow","normbrkgreen","spoiler1Rex","spoiler1Rrt","spoiler2Rex","spoiler2Rrt","spoiler3Rex","spoiler3Rrt","spoiler4Rex","spoiler4Rrt","spoiler5Rex","spoiler5Rrt","spoiler1Lex","spoiler1Lrt", return ["GW","TAT","SAT","autobrk","autobrkind","NWSyellowrect","altnbrkyellow","normbrkgreen","spoiler1Rex","spoiler1Rrt","spoiler2Rex","spoiler2Rrt","spoiler3Rex","spoiler3Rrt","spoiler4Rex","spoiler4Rrt","spoiler5Rex","spoiler5Rrt","spoiler1Lex",
"spoiler2Lex","spoiler2Lrt","spoiler3Lex","spoiler3Lrt","spoiler4Lex","spoiler4Lrt","spoiler5Lex","spoiler5Lrt","spoiler1Rf","spoiler2Rf","spoiler3Rf","spoiler4Rf","spoiler5Rf","spoiler1Lf","spoiler2Lf","spoiler3Lf","spoiler4Lf","spoiler5Lf"]; "spoiler1Lrt","spoiler2Lex","spoiler2Lrt","spoiler3Lex","spoiler3Lrt","spoiler4Lex","spoiler4Lrt","spoiler5Lex","spoiler5Lrt","spoiler1Rf","spoiler2Rf","spoiler3Rf","spoiler4Rf","spoiler5Rf","spoiler1Lf","spoiler2Lf","spoiler3Lf","spoiler4Lf",
"spoiler5Lf","braketemp1","braketemp2","braketemp3","braketemp4"];
}, },
update: func() { update: func() {
blue_psi = getprop("/systems/hydraulic/blue-psi"); blue_psi = getprop("/systems/hydraulic/blue-psi");
@ -988,7 +990,6 @@ var canvas_lowerECAM_wheel = {
} }
# Hydraulic Boxes # Hydraulic Boxes
if (getprop("/systems/hydraulic/green-psi") > 1500) { if (getprop("/systems/hydraulic/green-psi") > 1500) {
me["normbrkgreen"].setColor(0,1,0); me["normbrkgreen"].setColor(0,1,0);
} else { } else {
@ -1003,6 +1004,9 @@ var canvas_lowerECAM_wheel = {
me["NWSyellowrect"].setColor(1,0.6,0); me["NWSyellowrect"].setColor(1,0.6,0);
} }
# Hide not yet implemented stuff
me.updateBottomStatus(); me.updateBottomStatus();
}, },
}; };

View file

@ -1,236 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="1024pt"
height="1024pt"
viewBox="0 0 1024 1024"
version="1.1"
id="svg2"
inkscape:version="0.91 r13725"
sodipodi:docname="status.svg">
<metadata
id="metadata375">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs373" />
<sodipodi:namedview
pagecolor="#000000"
bordercolor="#666666"
borderopacity="1"
objecttolerance="20"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="706"
id="namedview371"
showgrid="true"
inkscape:zoom="0.39"
inkscape:cx="565.89744"
inkscape:cy="670.26029"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg2">
<inkscape:grid
type="xygrid"
id="grid5153" />
</sodipodi:namedview>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:50px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="518.69232"
y="52.393005"
id="PageTitleSTATUS"
sodipodi:linespacing="125%"
inkscape:label="#text3714"><tspan
sodipodi:role="line"
id="tspan3716"
x="518.69232"
y="52.393005"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:50px;font-family:Arial;-inkscape-font-specification:Arial;text-align:center;text-anchor:middle;fill:#ffffff">STATUS</tspan></text>
<rect
style="fill:#ffffff;fill-opacity:1"
id="PageTitleSTATUS2"
width="180.59233"
height="4.677979"
x="427.65146"
y="58.461037"
inkscape:label="#rect3718" />
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:28px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#00a0d2;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;"
x="286.01636"
y="947.15186"
id="text3724-2-2-6"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3726-1-4-5"
x="286.01636"
y="947.15186"
style="font-size:32px;-inkscape-font-specification:Arial;font-family:Arial;font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal;fill:#00a0d2;fill-opacity:1;">°C</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:34px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#00a0d2;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;"
x="500.75214"
y="974.06525"
id="text3724-2-2-6-93"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3726-1-4-5-7"
x="500.75214"
y="974.06525"
style="font-size:34px;-inkscape-font-specification:Arial;font-family:Arial;font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal;fill:#00a0d2;fill-opacity:1;">H</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:28px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#00a0d2;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;"
x="285.86758"
y="1008.0583"
id="text3724-2-2-6-4"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3726-1-4-5-3"
x="285.86758"
y="1008.0583"
style="font-size:32px;-inkscape-font-specification:Arial;font-family:Arial;font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal;fill:#00a0d2;fill-opacity:1;">°C</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:28px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#00a0d2;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;"
x="940.17981"
y="947.52124"
id="text3724-2-2-6-93-1"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3726-1-4-5-7-7"
x="940.17981"
y="947.52124"
style="font-size:32px;-inkscape-font-specification:Arial;font-family:Arial;font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal;fill:#00a0d2;fill-opacity:1;">LBS</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:33px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="695.24951"
y="947.40448"
id="text3912"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3914"
x="695.24951"
y="947.40448"
style="font-size:34px;fill:#ffffff;-inkscape-font-specification:Arial;font-family:Arial;font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal">GW</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:33px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="80.976402"
y="946.65228"
id="text3912-9"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3914-9"
x="80.976402"
y="946.65228"
style="font-size:34px;fill:#ffffff;-inkscape-font-specification:Arial;font-family:Arial;font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal">TAT</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:33px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="79.798637"
y="1007.6474"
id="text3912-9-4"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3914-9-4"
x="79.798637"
y="1007.6474"
style="font-size:34px;fill:#ffffff;-inkscape-font-specification:Arial;font-family:Arial;font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal">SAT</tspan></text>
<g
id="g3466">
<rect
y="899.43646"
x="0.19175777"
height="8.496521"
width="1023.9024"
id="rect3952"
style="fill:#515256;fill-opacity:1" />
<rect
y="907.93317"
x="355.13541"
height="116.24162"
width="8.7250061"
id="rect3956"
style="fill:#515256;fill-opacity:1" />
<rect
y="907.92108"
x="668.33417"
height="116.24162"
width="8.7250061"
id="rect3956-4"
style="fill:#515256;fill-opacity:1" />
</g>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:38px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;text-anchor:end;text-align:end;"
x="267.5513"
y="946.6001"
id="TAT"
sodipodi:linespacing="125%"
inkscape:label="#text5149"><tspan
sodipodi:role="line"
id="tspan5151-5-7-1"
x="232.10431"
y="946.6001"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:34px;font-family:Arial;-inkscape-font-specification:Arial;fill:#00ff00;text-anchor:end;text-align:end;">25</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:38px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;text-anchor:end;text-align:end;"
x="267.5513"
y="1007.0682"
id="SAT"
sodipodi:linespacing="125%"
inkscape:label="#text5149"><tspan
sodipodi:role="line"
id="tspan5151-5-7-1-0"
x="232.10431"
y="1007.0682"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:34px;font-family:Arial;-inkscape-font-specification:Arial;fill:#00ff00;text-anchor:end;text-align:end;">25</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:38px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="909.17999"
y="946.6001"
id="GW"
sodipodi:linespacing="125%"
inkscape:label="#text5149"><tspan
sodipodi:role="line"
id="tspan5151-5-7-1-9"
x="909.17999"
y="946.6001"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:34px;font-family:Arial;-inkscape-font-specification:Arial;text-align:end;text-anchor:end;fill:#00ff00">120000</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:32px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="423.38461"
y="439.38461"
id="NORMAL"
sodipodi:linespacing="125%"
inkscape:label="#text4242"><tspan
sodipodi:role="line"
id="tspan4244"
x="423.38461"
y="439.38461"
style="font-size:46px;fill:#00ff00;fill-opacity:1">NORMAL</tspan></text>
</svg>

Before

Width:  |  Height:  |  Size: 10 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 64 KiB