Debian Codegraph @

Aircraft/Generic/DualControl/Instruments/KDI-572/kdi572.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!--
3 Author : Syd Adams
4 KDI-572 DME Indicator
5 -->
6 <PropertyList>
7
8 <path>dme.ac</path>
9
10 <animation>
11 <type>select</type>
12 <object-name>dmeface</object-name>
13 <condition>
14 <and>
15 <greater-than>
16 <property>systems/electrical/outputs/dme</property>
17 <value>8</value>
18 </greater-than>
19 <greater-than>
20 <property>instrumentation/dme/switch-position</property>
21 <value>0</value>
22 </greater-than>
23 </and>
24 </condition>
25 </animation>
26
27 <animation>
28 <type>select</type>
29 <object-name>DME.nm</object-name>
30 <object-name>DME.nm1</object-name>
31 <object-name>DME.nm2</object-name>
32 <object-name>DME.nm3</object-name>
33 <object-name>DME.kt1</object-name>
34 <object-name>DME.kt2</object-name>
35 <object-name>DME.kt3</object-name>
36 <object-name>DME.mn1</object-name>
37 <object-name>DME.mn2</object-name>
38 <condition>
39 <and>
40 <greater-than>
41 <property>systems/electrical/outputs/dme</property>
42 <value>8</value>
43 </greater-than>
44 <property>instrumentation/dme/in-range</property>
45 </and>
46 </condition>
47 </animation>
48
49 <animation>
50 <type>rotate</type>
51 <object-name>DMEswitch</object-name>
52 <property>instrumentation/dme/switch-position</property>
53 <interpolation>
54 <entry>
55 <ind>0</ind><dep>0.0</dep>
56 </entry>
57 <entry>
58 <ind>1</ind><dep>35.0</dep>
59 </entry>
60 <entry>
61 <ind>2</ind><dep>90.0</dep>
62 </entry>
63 <entry>
64 <ind>3</ind><dep>150.0</dep>
65 </entry>
66 </interpolation>
67 <axis>
68 <x>-1</x>
69 <y>0</y>
70 <z>0</z>
71 </axis>
72 <center>
73 <x-m>0</x-m>
74 <y-m>0</y-m>
75 <z-m>-0.010</z-m>
76 </center>
77 </animation>
78
79 <!-- distance-->
80
81 <animation>
82 <type>textranslate</type>
83 <object-name>DME.nm1</object-name>
84 <property>instrumentation/dme/indicated-distance-nm</property>
85 <factor>0.01</factor>
86 <step>10</step>
87 <axis>
88 <x>1</x>
89 <y>0</y>
90 <z>0</z>
91 </axis>
92 </animation>
93
94 <animation>
95 <type>textranslate</type>
96 <object-name>DME.nm2</object-name>
97 <property>instrumentation/dme/indicated-distance-nm</property>
98 <factor>0.1</factor>
99 <step>1</step>
100 <axis>
101 <x>1</x>
102 <y>0</y>
103 <z>0</z>
104 </axis>
105 </animation>
106
107 <animation>
108 <type>textranslate</type>
109 <object-name>DME.nm3</object-name>
110 <property>instrumentation/dme/indicated-distance-nm</property>
111 <factor>1.0</factor>
112 <step>0.1</step>
113 <axis>
114 <x>1</x>
115 <y>0</y>
116 <z>0</z>
117 </axis>
118 </animation>
119
120 <!-- speed-->
121
122 <animation>
123 <type>textranslate</type>
124 <object-name>DME.kt1</object-name>
125 <property>instrumentation/dme/indicated-ground-speed-kt</property>
126 <factor>0.001</factor>
127 <step>100</step>
128 <axis>
129 <x>1</x>
130 <y>0</y>
131 <z>0</z>
132 </axis>
133 </animation>
134
135 <animation>
136 <type>textranslate</type>
137 <object-name>DME.kt2</object-name>
138 <property>instrumentation/dme/indicated-ground-speed-kt</property>
139 <factor>0.01</factor>
140 <step>10</step>
141 <axis>
142 <x>1</x>
143 <y>0</y>
144 <z>0</z>
145 </axis>
146 </animation>
147
148 <animation>
149 <type>textranslate</type>
150 <object-name>DME.kt3</object-name>
151 <property>instrumentation/dme/indicated-ground-speed-kt</property>
152 <factor>0.1</factor>
153 <step>1</step>
154 <axis>
155 <x>1</x>
156 <y>0</y>
157 <z>0</z>
158 </axis>
159 </animation>
160
161 <!-- time-->
162
163 <animation>
164 <type>textranslate</type>
165 <object-name>DME.mn1</object-name>
166 <property>instrumentation/dme/indicated-time-min</property>
167 <factor>0.01</factor>
168 <step>10</step>
169 <axis>
170 <x>1</x>
171 <y>0</y>
172 <z>0</z>
173 </axis>
174 </animation>
175
176 <animation>
177 <type>textranslate</type>
178 <object-name>DME.mn2</object-name>
179 <property>instrumentation/dme/indicated-time-min</property>
180 <factor>0.1</factor>
181 <step>1</step>
182 <axis>
183 <x>1</x>
184 <y>0</y>
185 <z>0</z>
186 </axis>
187 </animation>
188
189 <!-- Pick animations -->
190
191 <animation>
192 <type>pick</type>
193 <object-name>DMEswitch</object-name>
194 <action>
195 <button>0</button>
196 <repeatable>false</repeatable>
197 <binding>
198 <command>nasal</command>
199 <script>KDI572.dme_step(1)</script>
200 </binding>
201 </action>
202 <action>
203 <button>1</button>
204 <repeatable>false</repeatable>
205 <binding>
206 <command>nasal</command>
207 <script>KDI572.dme_step(-1)</script>
208 </binding>
209 </action>
210 <action>
211 <button>3</button>
212 <repeatable>false</repeatable>
213 <binding>
214 <command>nasal</command>
215 <script>KDI572.dme_step(-1)</script>
216 </binding>
217 </action>
218 <action>
219 <button>4</button>
220 <repeatable>false</repeatable>
221 <binding>
222 <command>nasal</command>
223 <script>KDI572.dme_step(1)</script>
224 </binding>
225 </action>
226 </animation>
227
228 </PropertyList>