Debian Codegraph @

Aircraft/Generic/DualControl/Instruments/ADF-462/ctl62-adf.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!-- CTL 62 ADF Control for ADF-462 receiver
3 Active and preset displayed +
4 4 frequency memory storage
5 2.375"W x 2.625"H
6 Freq. range 190.0 - 1800.0 (normal)
7 Strap option 2179.0 - 2185.0
8 500 khz spacing
9 Syd Adams
10
11 Adapted for dual control by Anders Gidenstam
12
13 NOTE: ctl62.nas MUST be loaded as Nasal module ADF462.
14 -->
15
16 <PropertyList>
17
18 <!-- Overlay these for the second etc radio. -->
19 <params>
20 <serviceable>instrumentation/adf[0]/serviceable</serviceable>
21 <electrical-supply>systems/electrical/outputs/adf[0]</electrical-supply>
22 <volume-norm>instrumentation/adf[0]/volume-norm</volume-norm>
23 <selected-freq-khz>instrumentation/adf[0]/frequencies/selected-khz</selected-freq-khz>
24 <standby-freq-khz>instrumentation/adf[0]/frequencies/standby-khz</standby-freq-khz>
25 <swap-script>ADF462.swap(0);</swap-script>
26 <small-inc-script>ADF462.adjust_frequency(0, 1.0);</small-inc-script>
27 <small-dec-script>ADF462.adjust_frequency(0, -1.0);</small-dec-script>
28 <big-inc-script>ADF462.adjust_frequency(0, 10.0);</big-inc-script>
29 <big-dec-script>ADF462.adjust_frequency(0, -10.0);</big-dec-script>
30
31 <lighting-norm>controls/lighting/panel-norm</lighting-norm>
32 </params>
33
34 <path>ctl62.ac</path>
35
36 <animation>
37 <type>select</type>
38 <object-name>freq.002</object-name>
39 <object-name>freq.003</object-name>
40 <object-name>freq.dec</object-name>
41 <object-name>freq.004</object-name>
42 <object-name>freq.005</object-name>
43 <condition>
44 <and>
45 <property alias="../../../../params/serviceable"/>
46 <greater-than>
47 <property alias="../../../../../params/electrical-supply"/>
48 <value>1</value>
49 </greater-than>
50 </and>
51 </condition>
52 </animation>
53
54 <animation>
55 <type>select</type>
56 <object-name>stby.002</object-name>
57 <object-name>stby.003</object-name>
58 <object-name>stby.dec</object-name>
59 <object-name>stby.004</object-name>
60 <object-name>stby.005</object-name>
61 <condition>
62 <and>
63 <property alias="../../../../params/serviceable"/>
64 <greater-than>
65 <property alias="../../../../../params/electrical-supply"/>
66 <value>1</value>
67 </greater-than>
68 </and>
69 </condition>
70 </animation>
71
72 <animation>
73 <type>select</type>
74 <object-name>freq.001</object-name>
75 <condition>
76 <and>
77 <property alias="../../../../params/serviceable"/>
78 <greater-than>
79 <property alias="../../../../../params/electrical-supply"/>
80 <value>1</value>
81 </greater-than>
82 <greater-than>
83 <property alias="../../../../../params/selected-freq-khz"/>
84 <value>999.5</value>
85 </greater-than>
86 </and>
87 </condition>
88 </animation>
89
90 <animation>
91 <type>select</type>
92 <object-name>stby.001</object-name>
93 <condition>
94 <and>
95 <property alias="../../../../params/serviceable"/>
96 <greater-than>
97 <property alias="../../../../../params/electrical-supply"/>
98 <value>1</value>
99 </greater-than>
100 <greater-than>
101 <property alias="../../../../../params/standby-freq-khz"/>
102 <value>999.5</value>
103 </greater-than>
104 </and>
105 </condition>
106 </animation>
107
108 <animation>
109 <type>select</type>
110 <object-name>mem.annun</object-name>
111 <condition>
112 <and>
113 <property alias="../../../../params/serviceable"/>
114 <greater-than>
115 <property alias="../../../../../params/electrical-supply"/>
116 <value>1</value>
117 </greater-than>
118 </and>
119 </condition>
120 </animation>
121
122 <animation>
123 <type>select</type>
124 <object-name>CTL-62.xfr</object-name>
125 <condition>
126 <and>
127 <property alias="../../../../params/serviceable"/>
128 <greater-than>
129 <property alias="../../../../../params/electrical-supply"/>
130 <value>1</value>
131 </greater-than>
132 </and>
133 </condition>
134 </animation>
135
136 <animation>
137 <type>select</type>
138 <object-name>CTL-62.mem</object-name>
139 <condition>
140 <and>
141 <property alias="../../../../params/serviceable"/>
142 <greater-than>
143 <property alias="../../../../../params/electrical-supply"/>
144 <value>1</value>
145 </greater-than>
146 </and>
147 </condition>
148 </animation>
149
150 <!-- Active Frequency -->
151 <animation>
152 <type>textranslate</type>
153 <object-name>freq.001</object-name>
154 <property alias="../../params/selected-freq-khz"/>
155 <factor>0.0001</factor>
156 <step>1000</step>
157 <bias>0.05</bias>
158 <axis>
159 <x>0</x>
160 <y>1</y>
161 <z>0</z>
162 </axis>
163 </animation>
164
165 <animation>
166 <type>textranslate</type>
167 <object-name>freq.002</object-name>
168 <property alias="../../params/selected-freq-khz"/>
169 <factor>0.001</factor>
170 <step>100</step>
171 <bias>0.05</bias>
172 <axis>
173 <x>0</x>
174 <y>1</y>
175 <z>0</z>
176 </axis>
177 </animation>
178
179 <animation>
180 <type>textranslate</type>
181 <object-name>freq.003</object-name>
182 <property alias="../../params/selected-freq-khz"/>
183 <factor>0.01</factor>
184 <step>10</step>
185 <bias>0.05</bias>
186 <axis>
187 <x>0</x>
188 <y>1</y>
189 <z>0</z>
190 </axis>
191 </animation>
192
193 <animation>
194 <type>textranslate</type>
195 <object-name>freq.004</object-name>
196 <property alias="../../params/selected-freq-khz"/>
197 <factor>0.1</factor>
198 <step>1</step>
199 <bias>0.05</bias>
200 <axis>
201 <x>0</x>
202 <y>1</y>
203 <z>0</z>
204 </axis>
205 </animation>
206
207 <animation>
208 <type>textranslate</type>
209 <object-name>freq.005</object-name>
210 <property alias="../../params/selected-freq-khz"/>
211 <factor>1.0</factor>
212 <step>0.1</step>
213 <bias>0.05</bias>
214 <axis>
215 <x>0</x>
216 <y>1</y>
217 <z>0</z>
218 </axis>
219 </animation>
220
221 <!-- Preselected Frequency -->
222 <animation>
223 <type>textranslate</type>
224 <object-name>stby.001</object-name>
225 <property alias="../../params/standby-freq-khz"/>
226 <factor>0.0001</factor>
227 <step>1000</step>
228 <bias>0.05</bias>
229 <axis>
230 <x>0</x>
231 <y>1</y>
232 <z>0</z>
233 </axis>
234 </animation>
235
236 <animation>
237 <type>textranslate</type>
238 <object-name>stby.002</object-name>
239 <property alias="../../params/standby-freq-khz"/>
240 <factor>0.001</factor>
241 <step>100</step>
242 <bias>0.05</bias>
243 <axis>
244 <x>0</x>
245 <y>1</y>
246 <z>0</z>
247 </axis>
248 </animation>
249
250 <animation>
251 <type>textranslate</type>
252 <object-name>stby.003</object-name>
253 <property alias="../../params/standby-freq-khz"/>
254 <factor>0.01</factor>
255 <step>10</step>
256 <bias>0.05</bias>
257 <axis>
258 <x>0</x>
259 <y>1</y>
260 <z>0</z>
261 </axis>
262 </animation>
263
264 <animation>
265 <type>textranslate</type>
266 <object-name>stby.004</object-name>
267 <property alias="../../params/standby-freq-khz"/>
268 <factor>0.1</factor>
269 <step>1</step>
270 <bias>0.05</bias>
271 <axis>
272 <x>0</x>
273 <y>1</y>
274 <z>0</z>
275 </axis>
276 </animation>
277
278 <animation>
279 <type>textranslate</type>
280 <object-name>stby.005</object-name>
281 <property alias="../../params/standby-freq-khz"/>
282 <factor>1.0</factor>
283 <step>0.1</step>
284 <bias>0.05</bias>
285 <axis>
286 <x>0</x>
287 <y>1</y>
288 <z>0</z>
289 </axis>
290 </animation>
291
292 <!-- OSG hotspots -->
293 <animation>
294 <type>pick</type>
295 <object-name>CTL-62.xfr</object-name>
296 <action>
297 <button>0</button>
298 <repeatable>false</repeatable>
299 <binding>
300 <command>nasal</command>
301 <script alias="../../../../params/swap-script"/>
302 </binding>
303 </action>
304 </animation>
305
306 <animation>
307 <type>knob</type>
308 <object-name>CTL-62.pwr</object-name>
309 <property alias="../../params/serviceable"/>
310 <interpolation>
311 <entry><ind>0</ind><dep>0</dep></entry>
312 <entry><ind>1.0</ind><dep>30</dep></entry>
313 </interpolation>
314 <center>
315 <x-m>0.0</x-m>
316 <y-m>-0.014</y-m>
317 <z-m>-0.018</z-m>
318 </center>
319 <axis>
320 <x>-1</x>
321 <y>0</y>
322 <z>0</z>
323 </axis>
324 <action>
325 <binding>
326 <command>property-toggle</command>
327 <property alias="../../../../params/serviceable"/>
328 <value type="bool">0</value>
329 <value type="bool">1</value>
330 </binding>
331 </action>
332 </animation>
333
334 <animation>
335 <type>knob</type>
336 <object-name>CTL-62.vol</object-name>
337 <property alias="../../params/volume-norm"/>
338 <factor>300</factor>
339 <center>
340 <x-m>0.0</x-m>
341 <y-m>-0.0138</y-m>
342 <z-m>-0.0183</z-m>
343 </center>
344 <axis>
345 <x>-1</x>
346 <y>0</y>
347 <z>0</z>
348 </axis>
349 <action>
350 <binding>
351 <command>property-adjust</command>
352 <property alias="../../../../params/volume-norm"/>
353 <factor type="double">0.02</factor>
354 <min type="double">0.0</min>
355 <max type="double">1.0</max>
356 </binding>
357 </action>
358 </animation>
359
360 <animation>
361 <type>knob</type>
362 <object-name>freq.knob.small</object-name>
363 <increase>
364 <binding>
365 <command>nasal</command>
366 <script alias="../../../../params/small-inc-script"/>
367 </binding>
368 </increase>
369 <decrease>
370 <binding>
371 <command>nasal</command>
372 <script alias="../../../../params/small-dec-script"/>
373 </binding>
374 </decrease>
375 </animation>
376
377 <animation>
378 <type>knob</type>
379 <object-name>freq.knob.large</object-name>
380 <increase>
381 <binding>
382 <command>nasal</command>
383 <script alias="../../../../params/big-inc-script"/>
384 </binding>
385 </increase>
386 <decrease>
387 <binding>
388 <command>nasal</command>
389 <script alias="../../../../params/big-dec-script"/>
390 </binding>
391 </decrease>
392 </animation>
393
394 <animation>
395 <type>material</type>
396 <object-name>freq.knob.small</object-name>
397 <object-name>freq.knob.large</object-name>
398 <object-name>CTL-62.vol</object-name>
399 <object-name>act.btn</object-name>
400 <object-name>sto.btn</object-name>
401 <object-name>test.btn</object-name>
402 <emission>
403 <factor-prop alias="../../../params/lighting-norm"/>
404 <red>0.4</red>
405 <green>0.4</green>
406 <blue>0.4</blue>
407 </emission>
408 </animation>
409 <animation>
410 <type>material</type>
411 <object-name>CTL-62</object-name>
412 <emission>
413 <factor-prop alias="../../../params/lighting-norm"/>
414 <red>0.15</red>
415 <green>0.15</green>
416 <blue>0.15</blue>
417 </emission>
418 </animation>
419
420 </PropertyList>