Debian Codegraph @

Aircraft/Generic/DualControl/Instruments/VHF-22/ctl22-com.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!-- CTL 22 Comm1 Control for VHF-22 tranceiver
3 Active and preset displayed +
4 6 frequency memory storage
5 2.375"W x 2.625"H
6 Freq. range 118.000 - 135.975 (normal) @ 25 khz spacing
7 Syd Adams
8
9 Adapted for dual control by Anders Gidenstam
10
11 NOTE: ctl22.nas MUST be loaded as Nasal module VHF22.
12 -->
13
14 <PropertyList>
15
16 <!-- Overlay these for the second etc radio. -->
17 <params>
18 <serviceable>instrumentation/comm[0]/serviceable</serviceable>
19 <electrical-supply>systems/electrical/outputs/comm[0]</electrical-supply>
20 <volume-norm>instrumentation/comm[0]/volume</volume-norm>
21 <selected-freq-mhz>instrumentation/comm[0]/frequencies/selected-mhz</selected-freq-mhz>
22 <standby-freq-mhz>instrumentation/comm[0]/frequencies/standby-mhz</standby-freq-mhz>
23 <swap-script>VHF22.swap(0);</swap-script>
24 <small-inc-script>VHF22.adjust_frequency(0, 0.025);</small-inc-script>
25 <small-dec-script>VHF22.adjust_frequency(0, -0.025);</small-dec-script>
26 <big-inc-script>VHF22.adjust_frequency(0, 1.0);</big-inc-script>
27 <big-dec-script>VHF22.adjust_frequency(0, -1.0);</big-dec-script>
28
29 <lighting-norm>controls/lighting/panel-norm</lighting-norm>
30 </params>
31
32 <path>ctl22.ac</path>
33
34 <animation>
35 <type>select</type>
36 <object-name>freq.001</object-name>
37 <object-name>freq.002</object-name>
38 <object-name>freq.003</object-name>
39 <object-name>freq.dec</object-name>
40 <object-name>freq.004</object-name>
41 <object-name>freq.005</object-name>
42 <object-name>freq.006</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.001</object-name>
57 <object-name>stby.002</object-name>
58 <object-name>stby.003</object-name>
59 <object-name>stby.dec</object-name>
60 <object-name>stby.004</object-name>
61 <object-name>stby.005</object-name>
62 <object-name>stby.006</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-22.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-22.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 <animation>
189 <type>textranslate</type>
190 <object-name>freq.006</object-name>
191 <property alias="../../params/selected-freq-mhz"/>
192 <factor>100.0</factor>
193 <step>0.001</step>
194 <bias>0.0005</bias>
195 <axis>
196 <x>0</x>
197 <y>1</y>
198 <z>0</z>
199 </axis>
200 </animation>
201
202 <!-- Preselected Frequency -->
203
204 <animation>
205 <type>textranslate</type>
206 <object-name>stby.001</object-name>
207 <property alias="../../params/standby-freq-mhz"/>
208 <factor>0.001</factor>
209 <step>100</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.002</object-name>
221 <property alias="../../params/standby-freq-mhz"/>
222 <factor>0.01</factor>
223 <step>10</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.003</object-name>
235 <property alias="../../params/standby-freq-mhz"/>
236 <factor>0.1</factor>
237 <step>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.004</object-name>
249 <property alias="../../params/standby-freq-mhz"/>
250 <factor>1.0</factor>
251 <step>0.1</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>textranslate</type>
262 <object-name>stby.005</object-name>
263 <property alias="../../params/standby-freq-mhz"/>
264 <factor>10.0</factor>
265 <step>0.01</step>
266 <bias>0.0005</bias>
267 <axis>
268 <x>0</x>
269 <y>1</y>
270 <z>0</z>
271 </axis>
272 </animation>
273
274 <animation>
275 <type>textranslate</type>
276 <object-name>stby.006</object-name>
277 <property alias="../../params/standby-freq-mhz"/>
278 <factor>100</factor>
279 <step>0.001</step>
280 <bias>0.0005</bias>
281 <axis>
282 <x>0</x>
283 <y>1</y>
284 <z>0</z>
285 </axis>
286 </animation>
287
288 <animation>
289 <type>pick</type>
290 <object-name>CTL-22.xfr</object-name>
291 <action>
292 <button>0</button>
293 <repeatable>false</repeatable>
294 <binding>
295 <command>nasal</command>
296 <script alias="../../../../params/swap-script"/>
297 </binding>
298 </action>
299 </animation>
300
301 <animation>
302 <type>knob</type>
303 <object-name>CTL-22.pwr</object-name>
304 <property alias="../../params/serviceable"/>
305 <interpolation>
306 <entry><ind>0</ind><dep>0</dep></entry>
307 <entry><ind>1.0</ind><dep>30</dep></entry>
308 </interpolation>
309 <center>
310 <x-m>0.0</x-m>
311 <y-m>-0.014</y-m>
312 <z-m>-0.018</z-m>
313 </center>
314 <axis>
315 <x>-1</x>
316 <y>0</y>
317 <z>0</z>
318 </axis>
319 <action>
320 <binding>
321 <command>property-toggle</command>
322 <property alias="../../../../params/serviceable"/>
323 <value type="bool">0</value>
324 <value type="bool">1</value>
325 </binding>
326 </action>
327 </animation>
328
329 <animation>
330 <type>knob</type>
331 <object-name>CTL-22.vol</object-name>
332 <property alias="../../params/volume-norm"/>
333 <factor>300</factor>
334 <center>
335 <x-m>0.0</x-m>
336 <y-m>-0.0138</y-m>
337 <z-m>-0.0183</z-m>
338 </center>
339 <axis>
340 <x>-1</x>
341 <y>0</y>
342 <z>0</z>
343 </axis>
344 <action>
345 <binding>
346 <command>property-adjust</command>
347 <property alias="../../../../params/volume-norm"/>
348 <factor type="double">0.02</factor>
349 <min type="double">0.0</min>
350 <max type="double">1.0</max>
351 </binding>
352 </action>
353 </animation>
354
355 <animation>
356 <type>knob</type>
357 <object-name>freq.knob.kHz</object-name>
358 <increase>
359 <binding>
360 <command>nasal</command>
361 <script alias="../../../../params/small-inc-script"/>
362 </binding>
363 </increase>
364 <decrease>
365 <binding>
366 <command>nasal</command>
367 <script alias="../../../../params/small-dec-script"/>
368 </binding>
369 </decrease>
370 </animation>
371
372 <animation>
373 <type>knob</type>
374 <object-name>freq.knob.MHz</object-name>
375 <increase>
376 <binding>
377 <command>nasal</command>
378 <script alias="../../../../params/big-inc-script"/>
379 </binding>
380 </increase>
381 <decrease>
382 <binding>
383 <command>nasal</command>
384 <script alias="../../../../params/big-dec-script"/>
385 </binding>
386 </decrease>
387 </animation>
388
389 <animation>
390 <type>material</type>
391 <object-name>freq.knob.kHz</object-name>
392 <object-name>freq.knob.MHz</object-name>
393 <object-name>CTL-22.vol</object-name>
394 <object-name>act.btn</object-name>
395 <object-name>sto.btn</object-name>
396 <object-name>test.btn</object-name>
397 <emission>
398 <factor-prop alias="../../../params/lighting-norm"/>
399 <red>0.4</red>
400 <green>0.4</green>
401 <blue>0.4</blue>
402 </emission>
403 </animation>
404 <animation>
405 <type>material</type>
406 <object-name>CTL-22</object-name>
407 <emission>
408 <factor-prop alias="../../../params/lighting-norm"/>
409 <red>0.15</red>
410 <green>0.15</green>
411 <blue>0.15</blue>
412 </emission>
413 </animation>
414
415 </PropertyList>