Debian Codegraph @

Aircraft/Instruments/twin-magneto-switch.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!--
3 Electrical panel.
4 John Check <[email protected]>
5 -->
6
7 <PropertyList>
8 <name>Dual magneto switch panel</name>
9 <w-base>150</w-base>
10 <h-base>72</h-base>
11
12 <params>
13 <magneto0-select>/controls/engines/engine[0]/magnetos</magneto0-select>
14 <starter0-select>/controls/engines/engine[0]/starter</starter0-select>
15 <magneto1-select>/controls/engines/engine[1]/magnetos</magneto1-select>
16 <starter1-select>/controls/engines/engine[1]/starter</starter1-select>
17 </params>
18
19 <layers>
20
21 <layer>
22 <name>backplate</name>
23 <texture>
24 <path>Aircraft/Instruments/Textures/flaps.rgb</path>
25 <x1>0.378125</x1>
26 <y1>0.65</y1>
27 <x2>1.0</x2>
28 <y2>1.0</y2>
29 </texture>
30 <w>150</w>
31 <h>72</h>
32 </layer>
33
34 <!-- engine 0 -->
35 <layer>
36 <name>magneto 0 label</name>
37 <texture>
38 <path>Aircraft/Instruments/Textures/flaps.rgb</path>
39 <x1>0.0</x1>
40 <y1>0.65</y1>
41 <x2>0.375</x2>
42 <y2>1.0</y2>
43 </texture>
44 <w>64</w>
45 <h>64</h>
46 <transformations>
47 <transformation>
48 <type>x-shift</type>
49 <offset>-35</offset>
50 </transformation>
51 <transformation>
52 <type>y-shift</type>
53 <offset>-5</offset>
54 </transformation>
55 </transformations>
56 </layer>
57
58 <layer>
59 <name>magneto 0 switch</name>
60 <type>switch</type>
61 <layer>
62 <condition>
63 <property alias="../../../../../params/starter0-select"/>
64 </condition>
65 <name>starter engage</name>
66 <texture>
67 <path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
68 <x1>0.53125</x1>
69 <x2>0.59765625</x2>
70 <y1>0.05859375</y1>
71 <y2>0.1484375</y2>
72 </texture>
73 <w>30</w>
74 <h>40</h>
75 <transformations>
76 <transformation>
77 <type>x-shift</type>
78 <offset>-40</offset>
79 </transformation>
80 <transformation>
81 <type>y-shift</type>
82 <offset>-13</offset>
83 </transformation>
84 <transformation>
85 <type>rotation</type>
86 <offset>90</offset>
87 </transformation>
88 <transformation>
89 <type>y-shift</type>
90 <offset>-5</offset>
91 </transformation>
92 </transformations>
93 </layer>
94 <layer>
95 <name>magneto 0 select</name>
96 <texture>
97 <path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
98 <x1>0.53125</x1>
99 <x2>0.59765625</x2>
100 <y1>0.05859375</y1>
101 <y2>0.1484375</y2>
102 </texture>
103 <w>30</w>
104 <h>40</h>
105 <transformations>
106 <transformation>
107 <type>x-shift</type>
108 <offset>-40</offset>
109 </transformation>
110 <transformation>
111 <type>y-shift</type>
112 <offset>-13</offset>
113 </transformation>
114 <transformation>
115 <type>rotation</type>
116 <property alias="../../../../../../params/magneto0-select"/>
117 <min>-0</min>
118 <max>135</max>
119 <scale>45</scale>
120 <offset>-90</offset>
121 </transformation>
122 <transformation>
123 <type>y-shift</type>
124 <offset>-5</offset>
125 </transformation>
126 </transformations>
127 </layer>
128 </layer>
129
130 <!-- engine 1 -->
131 <layer>
132 <name>magneto 1 label</name>
133 <texture>
134 <path>Aircraft/Instruments/Textures/flaps.rgb</path>
135 <x1>0.0</x1>
136 <y1>0.65</y1>
137 <x2>0.375</x2>
138 <y2>1.0</y2>
139 </texture>
140 <w>64</w>
141 <h>64</h>
142 <transformations>
143 <transformation>
144 <type>x-shift</type>
145 <offset>35</offset>
146 </transformation>
147 <transformation>
148 <type>y-shift</type>
149 <offset>-5</offset>
150 </transformation>
151 </transformations>
152 </layer>
153 <layer>
154 <name>magneto 1 switch</name>
155 <type>switch</type>
156 <layer>
157 <condition>
158 <property alias="../../../../../params/starter1-select"/>
159 </condition>
160 <name>starter engage</name>
161 <texture>
162 <path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
163 <x1>0.53125</x1>
164 <x2>0.59765625</x2>
165 <y1>0.05859375</y1>
166 <y2>0.1484375</y2>
167 </texture>
168 <w>30</w>
169 <h>40</h>
170 <transformations>
171 <transformation>
172 <type>x-shift</type>
173 <offset>30</offset>
174 </transformation>
175 <transformation>
176 <type>y-shift</type>
177 <offset>-13</offset>
178 </transformation>
179 <transformation>
180 <type>rotation</type>
181 <offset>90</offset>
182 </transformation>
183 <transformation>
184 <type>y-shift</type>
185 <offset>-5</offset>
186 </transformation>
187 </transformations>
188 </layer>
189 <layer>
190 <name>magneto 1 select</name>
191 <texture>
192 <path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
193 <x1>0.53125</x1>
194 <x2>0.59765625</x2>
195 <y1>0.05859375</y1>
196 <y2>0.1484375</y2>
197 </texture>
198 <w>30</w>
199 <h>40</h>
200 <transformations>
201 <transformation>
202 <type>x-shift</type>
203 <offset>30</offset>
204 </transformation>
205 <transformation>
206 <type>y-shift</type>
207 <offset>-13</offset>
208 </transformation>
209 <transformation>
210 <type>rotation</type>
211 <property alias="../../../../../../params/magneto1-select"/>
212 <min>-0</min>
213 <max>135</max>
214 <scale>45</scale>
215 <offset>-90</offset>
216 </transformation>
217 <transformation>
218 <type>y-shift</type>
219 <offset>-5</offset>
220 </transformation>
221 </transformations>
222 </layer>
223 </layer>
224
225 </layers>
226
227 <actions>
228 <!--engine 0 -->
229 <action>
230 <name>Rotate knob left</name>
231 <button>0</button>
232 <x>-70</x>
233 <y>-35</y>
234 <w>30</w>
235 <h>72</h>
236 <binding>
237 <command>property-adjust</command>
238 <property alias="../../../../params/magneto0-select"/>
239 <step>-1</step>
240 <min>0</min>
241 <max>3</max>
242 <wrap>0</wrap>
243 </binding>
244 </action>
245
246 <action>
247 <name>Rotate knob right</name>
248 <button>0</button>
249 <x>-40</x>
250 <y>-35</y>
251 <w>30</w>
252 <h>72</h>
253 <binding>
254 <command>property-adjust</command>
255 <property alias="../../../../params/magneto0-select"/>
256 <step>1</step>
257 <min>0</min>
258 <max>3</max>
259 <wrap>0</wrap>
260 </binding>
261 </action>
262
263 <action>
264 <name>Start</name>
265 <button>1</button>
266 <x>-70</x>
267 <y>-35</y>
268 <w>72</w>
269 <h>72</h>
270 <binding>
271 <command>property-toggle</command>
272 <property alias="../../../../params/starter0-select"/>
273 </binding>
274 </action>
275 <!--engine 1 -->
276 <action>
277 <name>Rotate knob left</name>
278 <button>0</button>
279 <x>0</x>
280 <y>-35</y>
281 <w>30</w>
282 <h>72</h>
283 <binding>
284 <command>property-adjust</command>
285 <property alias="../../../../params/magneto1-select"/>
286 <step>-1</step>
287 <min>0</min>
288 <max>3</max>
289 <wrap>0</wrap>
290 </binding>
291 </action>
292
293 <action>
294 <name>Rotate knob right</name>
295 <button>0</button>
296 <x>20</x>
297 <y>-35</y>
298 <w>30</w>
299 <h>72</h>
300 <binding>
301 <command>property-adjust</command>
302 <property alias="../../../../params/magneto1-select"/>
303 <step>1</step>
304 <min>0</min>
305 <max>3</max>
306 <wrap>0</wrap>
307 </binding>
308 </action>
309
310 <action>
311 <name>Start</name>
312 <button>1</button>
313 <x>5</x>
314 <y>-35</y>
315 <w>72</w>
316 <h>72</h>
317 <binding>
318 <command>property-toggle</command>
319 <property alias="../../../../params/starter1-select"/>
320 </binding>
321 </action>
322 </actions>
323
324 </PropertyList>