Debian Codegraph @

Aircraft/Generic/DualControl/Instruments/VIR-32/ctl32-nav.xml

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