1
0
Fork 0

Canvas ND:GS pointer, LOC pointer and dme source fix from Soitenen

This commit is contained in:
Hyde Yamakawa 2014-03-25 17:55:06 -04:00
parent 9b14609b2d
commit da76bc635e
2 changed files with 1293 additions and 1718 deletions

View file

@ -24,15 +24,15 @@
guidetolerance="10"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="716"
inkscape:window-width="1360"
inkscape:window-height="711"
id="namedview102"
showgrid="false"
inkscape:zoom="0.5"
inkscape:cx="432.905"
inkscape:cy="372.682"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:zoom="4"
inkscape:cx="935.56631"
inkscape:cy="485.54807"
inkscape:window-x="0"
inkscape:window-y="33"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"
inkscape:object-nodes="true"
@ -213,13 +213,6 @@
x="844.04407"
id="tspan7245"
sodipodi:role="line">ABCD</tspan></text>
<text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ededed;fill-opacity:1;stroke:none;display:inline;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -232,13 +225,6 @@
id="tspan7251"
x="844.04407"
y="126.12489">999.9</tspan></text>
<path
sodipodi:nodetypes="cccc"
inkscape:connector-curvature="0"
@ -263,13 +249,6 @@
id="tspan3801"
x="36.862175"
y="92.904839">999°/ 99</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -282,13 +261,6 @@
x="77.874374"
id="tspan3809"
sodipodi:role="line">999</tspan></text>
<text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ededed;fill-opacity:1;stroke:none;display:inline;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -301,13 +273,6 @@
id="tspan3813"
x="210.49673"
y="53.306854">999</tspan></text>
<text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ededed;fill-opacity:1;stroke:none;display:inline;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -321,13 +286,6 @@
id="tspan3817"
x="38.276394"
y="53.306854">GS</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -341,13 +299,6 @@
id="tspan3821"
sodipodi:role="line"
style="font-size:24px">TAS</tspan></text>
<g
id="hdgGroup"
inkscape:label="#g3141"><path
@ -368,13 +319,6 @@
x="476.28857"
y="65.781754"
style="font-size:48px">999</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -388,13 +332,6 @@
id="tspan3849"
sodipodi:role="line"
style="font-size:32px;fill:#32f519">HDG</tspan></text>
<text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#32f519;fill-opacity:1;stroke:none;display:inline;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -408,13 +345,6 @@
id="tspan3853"
x="578.66278"
y="67.549522">MAG</tspan></text>
</g><text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#32f519;fill-opacity:1;stroke:none;display:inline;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -428,13 +358,6 @@
id="tspan3056"
x="41.732624"
y="913.5495">VOR L</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -448,13 +371,6 @@
id="tspan3060"
sodipodi:role="line"
style="font-size:24px;fill:#32f519">DME</tspan></text>
<text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#32f519;fill-opacity:1;stroke:none;display:inline;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -468,13 +384,6 @@
id="tspan3068"
x="101.1296"
y="993.85461">99.9</tspan></text>
<text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#32f519;fill-opacity:1;stroke:none;display:inline;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -488,13 +397,6 @@
id="tspan3072"
x="41.732624"
y="954.56171">ABC</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -508,13 +410,6 @@
id="tspan3076"
sodipodi:role="line"
style="font-size:32px;fill:#32f519">VOR R</tspan></text>
<text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#32f519;fill-opacity:1;stroke:none;display:inline;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -528,13 +423,6 @@
id="tspan3080"
x="889.7326"
y="993.85461">DME</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -548,13 +436,6 @@
id="tspan3084"
sodipodi:role="line"
style="font-size:32px;fill:#32f519">99.9</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -568,13 +449,6 @@
id="tspan3088"
sodipodi:role="line"
style="font-size:32px;fill:#32f519">ABC</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -588,13 +462,6 @@
x="844.04407"
id="tspan3092"
sodipodi:role="line">08 34.4z</tspan></text>
<g
inkscape:label="#g3124"
id="compass"><path
@ -619,13 +486,6 @@
x="500.44846"
y="195.26741"
style="font-size:40px">0</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -640,13 +500,6 @@
x="9.1033907"
id="tspan3082"
sodipodi:role="line">33</tspan></text>
<text
transform="matrix(0.5,-0.866026,0.866026,0.5,0,0)"
xml:space="preserve"
@ -661,13 +514,6 @@
x="-478.97894"
y="231.34868"
style="font-size:39.999996px">30</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -682,13 +528,6 @@
x="-845.96948"
id="tspan3090"
sodipodi:role="line">27</tspan></text>
<text
transform="matrix(-0.5,-0.866025,0.866025,-0.5,0,0)"
xml:space="preserve"
@ -703,13 +542,6 @@
x="-992.34058"
y="-584.99097"
style="font-size:39.99995px">24</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -724,13 +556,6 @@
x="-879.19897"
id="tspan3098"
sodipodi:role="line">21</tspan></text>
<text
transform="scale(-1,-1)"
xml:space="preserve"
@ -745,13 +570,6 @@
x="-533.67151"
y="-1436.3594"
style="font-size:40.000004px">18</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -766,13 +584,6 @@
x="-51.792171"
id="tspan3106"
sodipodi:role="line">15</tspan></text>
<text
transform="matrix(-0.5,0.866026,-0.866026,-0.5,0,0)"
xml:space="preserve"
@ -787,13 +598,6 @@
x="435.97983"
y="-1462.8785"
style="font-size:40.000011px">12</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -808,13 +612,6 @@
x="812.80585"
id="tspan3114"
sodipodi:role="line">9</tspan></text>
<text
transform="matrix(0.5,0.866025,-0.866025,0.5,0,0)"
xml:space="preserve"
@ -829,13 +626,6 @@
x="958.43561"
y="-645.76654"
style="font-size:39.999981px">6</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -850,13 +640,6 @@
x="844.79596"
id="tspan3122"
sodipodi:role="line">3</tspan></text>
<path
sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccscccscccscccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccscccccc"
id="path3181"
@ -922,13 +705,6 @@
id="tspan5002"
x="500.86594"
y="464.10147">99</tspan></text>
<path
sodipodi:nodetypes="cscc"
inkscape:connector-curvature="0"
@ -948,13 +724,6 @@
id="tspan3093"
sodipodi:role="line"
style="font-size:32px;fill:#0099d9;fill-opacity:1">TA ONLY</tspan></text>
<g
id="staArrowL"
inkscape:label="#g4072"
@ -1021,13 +790,6 @@
id="tspan3097"
x="41.732624"
y="769.12952">WXR</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -1041,13 +803,6 @@
id="tspan3101"
sodipodi:role="line"
style="font-size:32px;fill:#0099d9;fill-opacity:1">ARPT</tspan></text>
<text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#0099d9;fill-opacity:1;stroke:none;display:inline;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -1061,13 +816,6 @@
id="tspan3105"
x="41.732624"
y="697.12939">WPT</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -1081,13 +829,6 @@
id="tspan3109"
sodipodi:role="line"
style="font-size:32px;fill:#0099d9;fill-opacity:1">STA</tspan></text>
<path
inkscape:label="#path7253"
style="fill:none;stroke:#ededed;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
@ -1131,13 +872,6 @@
id="tspan3179"
x="937.04547"
y="125.43141">NM</tspan></text>
<text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#32f519;fill-opacity:1;stroke:none;display:inline;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -1151,10 +885,6 @@
id="tspan4172"
x="803.289"
y="53.929054">ILS L</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -1168,10 +898,6 @@
id="tspan4176"
sodipodi:role="line"
style="font-size:32px;fill:#ededed;fill-opacity:1">999.99</tspan></text>
</g><g
inkscape:groupmode="layer"
id="layer1"
@ -1257,13 +983,6 @@
x="488.38348"
id="tspan3922"
sodipodi:role="line">0</tspan></text>
<text
transform="matrix(0.866025,-0.5,0.5,0.866025,0,0)"
xml:space="preserve"
@ -1278,13 +997,6 @@
x="-13.265571"
y="377.83694"
style="font-size:80.433212px">33</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -1299,13 +1011,6 @@
x="-503.69513"
id="tspan3930"
sodipodi:role="line">30</tspan></text>
<text
transform="matrix(0,-1,1,0,0,0)"
xml:space="preserve"
@ -1320,13 +1025,6 @@
x="-868.71942"
y="-71.969933"
style="font-size:80.433212px">27</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -1341,13 +1039,6 @@
x="-1019.1653"
id="tspan3938"
sodipodi:role="line">24</tspan></text>
<text
transform="matrix(-0.866026,-0.5,0.5,-0.866026,0,0)"
xml:space="preserve"
@ -1362,13 +1053,6 @@
x="-904.95624"
y="-1033.6982"
style="font-size:80.433212px">21</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -1383,13 +1067,6 @@
x="-557.84332"
id="tspan3946"
sodipodi:role="line">18</tspan></text>
<text
transform="matrix(-0.866025,0.5,-0.5,-0.866025,0,0)"
xml:space="preserve"
@ -1404,13 +1081,6 @@
x="-71.888855"
y="-1543.4183"
style="font-size:80.433212px">15</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -1425,13 +1095,6 @@
x="409.84222"
id="tspan3954"
sodipodi:role="line">12</tspan></text>
<text
transform="matrix(0,1,-1,0,0,0)"
xml:space="preserve"
@ -1446,13 +1109,6 @@
x="801.43085"
y="-1088.3844"
style="font-size:80.433212px">9</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -1467,13 +1123,6 @@
x="941.70276"
id="tspan3962"
sodipodi:role="line">6</tspan></text>
<text
transform="matrix(0.866026,0.5,-0.5,0.866026,0,0)"
xml:space="preserve"
@ -1488,13 +1137,6 @@
x="831.16284"
y="-130.83325"
style="font-size:80.433212px">3</tspan></text>
<path
inkscape:connector-curvature="0"
style="fill:#ededed;fill-opacity:1;fill-rule:nonzero;stroke:#ededed;stroke-width:10.054152;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
@ -1564,10 +1206,6 @@
id="tspan4007"
sodipodi:role="line"
style="font-size:24px">CRS</tspan></text>
<text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ededed;fill-opacity:1;stroke:none;display:inline;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -1581,10 +1219,6 @@
id="tspan4011"
x="854.72168"
y="124.87983">DME</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -1597,10 +1231,6 @@
x="913.95801"
id="tspan4046"
sodipodi:role="line">999</tspan></text>
<text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ededed;fill-opacity:1;stroke:none;display:inline;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -1613,10 +1243,6 @@
id="tspan4071"
x="913.95801"
y="126.12444">99.9</tspan></text>
<g
id="gsGroup"
transform="matrix(0,-1,1,0,746.592,1646.26)"
@ -1662,7 +1288,7 @@
id="path4166"
inkscape:connector-curvature="0"
transform="matrix(0,1,-1,0,1646.26,-746.592)" /><path
style="fill:#ff00ff;stroke:none;display:inline"
style="fill:#ff00ff;stroke:#ff00ff;display:inline;stroke-opacity:1;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none"
d="m 1125.26,226.404 10,20 -10,20.007 -10,-20.007 z"
id="gsDiamond"
inkscape:connector-curvature="0"
@ -1737,13 +1363,6 @@
x="489.24902"
id="tspan3178"
sodipodi:role="line">N</tspan></text>
<path
inkscape:label="#path3017"
sodipodi:nodetypes="cccccc"
@ -1762,13 +1381,6 @@
x="33.519165"
y="530.25165"
style="font-size:32px">W</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3209"
@ -1781,13 +1393,6 @@
x="962.65656"
id="tspan3211"
sodipodi:role="line">E</tspan></text>
<text
xml:space="preserve"
style="font-size:22px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#00ff00;fill-opacity:1;stroke:none;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -1800,13 +1405,6 @@
x="503.03763"
y="1008.2553"
style="font-size:32px">S</tspan></text>
</g><text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#ededed;fill-opacity:1;stroke:none;display:inline;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -1820,13 +1418,6 @@
id="tspan5002-7"
x="511.74799"
y="320.56113">99</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -1840,13 +1431,6 @@
id="tspan3201"
sodipodi:role="line"
style="text-align:center;text-anchor:middle">99</tspan></text>
<text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#ededed;fill-opacity:1;stroke:none;display:inline;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans"
@ -1860,13 +1444,6 @@
id="tspan3205"
x="512.21063"
y="752.73596">99</tspan></text>
<text
inkscape:label="#text7243"
sodipodi:linespacing="125%"
@ -1880,11 +1457,4 @@
id="tspan3209"
sodipodi:role="line"
style="text-align:center;text-anchor:middle">99</tspan></text>
</g></svg>

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 103 KiB

View file

@ -483,7 +483,7 @@ var NDStyles = {
is_true: func(nd) {
nd.symbols.dme.show();
if(getprop("instrumentation/dme/in-range"))
nd.symbols.dme.setText(sprintf("%3.1f",getprop("instrumentation/nav/nav-distance")*0.000539));
nd.symbols.dme.setText(sprintf("%3.1f",getprop("instrumentation/dme/indicated-distance-nm")));
},
is_false: func(nd) nd.symbols.dme.hide(),
},
@ -537,8 +537,13 @@ var NDStyles = {
init: func(nd,symbol),
predicate: func(nd) nd.in_mode('toggle_display_mode', ['APP']) and getprop("instrumentation/nav/gs-in-range"),
is_true: func(nd) {
if(getprop("instrumentation/nav/gs-needle-deflection-norm") != nil)
nd.symbols.gsDiamond.setTranslation(getprop("instrumentation/nav/gs-needle-deflection-norm")*150,0);
var gs_deflection = getprop("instrumentation/nav/gs-needle-deflection-norm");
if(gs_deflection != nil)
nd.symbols.gsDiamond.setTranslation(gs_deflection*150,0);
if(abs(gs_deflection) < 0.99)
nd.symbols.gsDiamond.setColorFill(1,0,1,1);
else
nd.symbols.gsDiamond.setColorFill(0,0,0,1);
},
is_false: func(nd) nd.symbols.gsGroup.hide(),
},
@ -552,10 +557,10 @@ var NDStyles = {
nd.symbols.locPtr.show();
var deflection = getprop("instrumentation/nav/heading-needle-deflection-norm");
nd.symbols.locPtr.setTranslation(deflection*150,0);
#if(abs(deflection) < 0.99)
# nd.symbols.locPtr.setColorFill(1,0,1,1);
#else
# nd.symbols.locPtr.setColorFill(1,0,1,0);
if(abs(deflection) < 0.99)
nd.symbols.locPtr.setColorFill(1,0,1,1);
else
nd.symbols.locPtr.setColorFill(0,0,0,1);
},
is_false: func(nd) nd.symbols.locPtr.hide(),
},
@ -569,10 +574,10 @@ var NDStyles = {
nd.symbols.locPtr2.show();
var deflection = getprop("instrumentation/nav/heading-needle-deflection-norm");
nd.symbols.locPtr2.setTranslation(deflection*150,0);
#if(abs(deflection) < 0.99)
# nd.symbols.locPtr2.setColorFill(1,0,1,1);
#else
# nd.symbols.locPtr2.setColorFill(1,0,1,0);
if(abs(deflection) < 0.99)
nd.symbols.locPtr2.setColorFill(1,0,1,1);
else
nd.symbols.locPtr2.setColorFill(0,0,0,1);
},
is_false: func(nd) nd.symbols.locPtr2.hide(),
},
@ -1046,7 +1051,7 @@ var NavDisplay = {
me.symbols.vorLId.setText(getprop("instrumentation/nav/frequencies/selected-mhz-fmt"));
me.symbols.vorLId.setColor(0.195,0.96,0.097);
if(getprop("instrumentation/dme/in-range"))
me.symbols.dmeLDist.setText(sprintf("%3.1f",getprop("instrumentation/nav/nav-distance")*0.000539));
me.symbols.dmeLDist.setText(sprintf("%3.1f",getprop("instrumentation/dme/indicated-distance-nm")));
else me.symbols.dmeLDist.setText(" ---");
me.symbols.dmeLDist.setColor(0.195,0.96,0.097);
} elsif(me.get_switch('toggle_lh_vor_adf') == -1) {
@ -1077,7 +1082,7 @@ var NavDisplay = {
me.symbols.vorRId.setText(getprop("instrumentation/nav[1]/frequencies/selected-mhz-fmt"));
me.symbols.vorRId.setColor(0.195,0.96,0.097);
if(getprop("instrumentation/dme[1]/in-range"))
me.symbols.dmeRDist.setText(sprintf("%3.1f",getprop("instrumentation/nav[1]/nav-distance")*0.000539));
me.symbols.dmeRDist.setText(sprintf("%3.1f",getprop("instrumentation/dme[1]/indicated-distance-nm")));
else me.symbols.dmeRDist.setText(" ---");
me.symbols.dmeRDist.setColor(0.195,0.96,0.097);
} elsif(me.get_switch('toggle_rh_vor_adf') == -1) {