| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
<PropertyList> |
| 8 |
|
| 9 |
<path>ctl92.ac</path> |
| 10 |
|
| 11 |
<animation> |
| 12 |
<type>select</type> |
| 13 |
<object-name>C92freq.001</object-name> |
| 14 |
<object-name>C92freq.002</object-name> |
| 15 |
<object-name>C92freq.003</object-name> |
| 16 |
<object-name>C92freq.004</object-name> |
| 17 |
<object-name>C92mem.annun</object-name> |
| 18 |
<condition> |
| 19 |
<and> |
| 20 |
<greater-than> |
| 21 |
<property>systems/electrical/outputs/transponder</property> |
| 22 |
<value>1</value> |
| 23 |
</greater-than> |
| 24 |
<greater-than> |
| 25 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 26 |
<value>0</value> |
| 27 |
</greater-than> |
| 28 |
</and> |
| 29 |
</condition> |
| 30 |
</animation> |
| 31 |
|
| 32 |
<animation> |
| 33 |
<type>select</type> |
| 34 |
<object-name>C92mem.annun</object-name> |
| 35 |
<condition> |
| 36 |
<property>instrumentation/tdr-94/mem-selected</property> |
| 37 |
</condition> |
| 38 |
</animation> |
| 39 |
|
| 40 |
|
| 41 |
<animation> |
| 42 |
<type>knob</type> |
| 43 |
<object-name>CTL-92.pwr</object-name> |
| 44 |
|
| 45 |
<action> |
| 46 |
<binding> |
| 47 |
<command>property-cycle</command> |
| 48 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 49 |
<wrap>0</wrap> |
| 50 |
|
| 51 |
<value>0</value> |
| 52 |
<value>1</value> |
| 53 |
<value>4</value> |
| 54 |
<value>5</value> |
| 55 |
|
| 56 |
</binding> |
| 57 |
</action> |
| 58 |
|
| 59 |
|
| 60 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 61 |
<interpolation> |
| 62 |
<entry><ind>0</ind><dep>0.0</dep></entry> |
| 63 |
<entry><ind>1</ind><dep>30.0</dep></entry> |
| 64 |
|
| 65 |
|
| 66 |
<entry><ind>2</ind><dep>30.0</dep></entry> |
| 67 |
<entry><ind>3</ind><dep>30.0</dep></entry> |
| 68 |
|
| 69 |
<entry><ind>4</ind><dep>60.0</dep></entry> |
| 70 |
<entry><ind>5</ind><dep>90.0</dep></entry> |
| 71 |
</interpolation> |
| 72 |
<center> |
| 73 |
<x-m>0.0</x-m> |
| 74 |
<y-m>-0.014</y-m> |
| 75 |
<z-m>-0.018</z-m> |
| 76 |
</center> |
| 77 |
<axis> |
| 78 |
<x>-1</x> |
| 79 |
<y>0</y> |
| 80 |
<z>0</z> |
| 81 |
</axis> |
| 82 |
</animation> |
| 83 |
|
| 84 |
<animation> |
| 85 |
<type>textranslate</type> |
| 86 |
<object-name>C92freq.001</object-name> |
| 87 |
<property>instrumentation/transponder/inputs/digit[3]</property> |
| 88 |
<factor>0.1</factor> |
| 89 |
<step>1</step> |
| 90 |
<axis> |
| 91 |
<x>0</x> |
| 92 |
<y>1</y> |
| 93 |
<z>0</z> |
| 94 |
</axis> |
| 95 |
</animation> |
| 96 |
|
| 97 |
<animation> |
| 98 |
<type>textranslate</type> |
| 99 |
<object-name>C92freq.002</object-name> |
| 100 |
<property>instrumentation/transponder/inputs/digit[2]</property> |
| 101 |
<factor>0.1</factor> |
| 102 |
<step>1</step> |
| 103 |
<axis> |
| 104 |
<x>0</x> |
| 105 |
<y>1</y> |
| 106 |
<z>0</z> |
| 107 |
</axis> |
| 108 |
</animation> |
| 109 |
|
| 110 |
<animation> |
| 111 |
<type>textranslate</type> |
| 112 |
<object-name>C92freq.003</object-name> |
| 113 |
<property>instrumentation/transponder/inputs/digit[1]</property> |
| 114 |
<factor>0.1</factor> |
| 115 |
<step>1</step> |
| 116 |
<axis> |
| 117 |
<x>0</x> |
| 118 |
<y>1</y> |
| 119 |
<z>0</z> |
| 120 |
</axis> |
| 121 |
</animation> |
| 122 |
|
| 123 |
<animation> |
| 124 |
<type>textranslate</type> |
| 125 |
<object-name>C92freq.004</object-name> |
| 126 |
<property>instrumentation/transponder/inputs/digit[0]</property> |
| 127 |
<factor>0.1</factor> |
| 128 |
<step>1</step> |
| 129 |
<axis> |
| 130 |
<x>0</x> |
| 131 |
<y>1</y> |
| 132 |
<z>0</z> |
| 133 |
</axis> |
| 134 |
</animation> |
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
<animation> |
| 139 |
<type>pick</type> |
| 140 |
<object-name>atc.ident</object-name> |
| 141 |
<action> |
| 142 |
<button>0</button> |
| 143 |
<repeatable>false</repeatable> |
| 144 |
<binding> |
| 145 |
<command>property-toggle</command> |
| 146 |
<property>instrumentation/transponder/inputs/ident-btn</property> |
| 147 |
</binding> |
| 148 |
</action> |
| 149 |
</animation> |
| 150 |
|
| 151 |
<animation> |
| 152 |
<type>pick</type> |
| 153 |
<object-name>atc.pre</object-name> |
| 154 |
<action> |
| 155 |
<button>0</button> |
| 156 |
<repeatable>false</repeatable> |
| 157 |
<binding> |
| 158 |
<command>property-assign</command> |
| 159 |
<property>instrumentation/transponder/id-code</property> |
| 160 |
<value>1200</value> |
| 161 |
</binding> |
| 162 |
</action> |
| 163 |
</animation> |
| 164 |
|
| 165 |
<animation> |
| 166 |
<type>pick</type> |
| 167 |
<object-name>CTL-92.toggle</object-name> |
| 168 |
<action> |
| 169 |
<repeatable>false</repeatable> |
| 170 |
<binding> |
| 171 |
<command>property-toggle</command> |
| 172 |
<property>instrumentation/tdr-94/mem-selected</property> |
| 173 |
</binding> |
| 174 |
</action> |
| 175 |
</animation> |
| 176 |
|
| 177 |
<animation> |
| 178 |
<type>pick</type> |
| 179 |
<object-name>atc.test</object-name> |
| 180 |
<action> |
| 181 |
<button>0</button> |
| 182 |
<repeatable>false</repeatable> |
| 183 |
<binding> |
| 184 |
<command>property-assign</command> |
| 185 |
<property>instrumentation/tdr-94/saved-mode</property> |
| 186 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 187 |
</binding> |
| 188 |
<binding> |
| 189 |
<command>property-assign</command> |
| 190 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 191 |
<value>2</value> |
| 192 |
</binding> |
| 193 |
|
| 194 |
<mod-up> |
| 195 |
|
| 196 |
<binding> |
| 197 |
<command>property-assign</command> |
| 198 |
<property>instrumentation/transponder/inputs/knob-mode</property> |
| 199 |
<property>instrumentation/tdr-94/saved-mode</property> |
| 200 |
</binding> |
| 201 |
</mod-up> |
| 202 |
</action> |
| 203 |
</animation> |
| 204 |
|
| 205 |
<animation> |
| 206 |
<type>knob</type> |
| 207 |
<object-name>CTL92.knob</object-name> |
| 208 |
<action> |
| 209 |
<binding> |
| 210 |
<command>nasal</command> |
| 211 |
<script><![CDATA[ |
| 212 |
var loDigit = getprop('instrumentation/transponder/inputs/digit[2]') or 2; |
| 213 |
var hiDigit = getprop('instrumentation/transponder/inputs/digit[3]') or 1; |
| 214 |
|
| 215 |
var offset = int(cmdarg().getNode('offset').getValue()); |
| 216 |
var incr = (offset > 0); |
| 217 |
|
| 218 |
if ((incr and loDigit == 7) or (!incr and loDigit == 0)) { |
| 219 |
hiDigit = math.mod(hiDigit + offset, 8); |
| 220 |
} |
| 221 |
|
| 222 |
loDigit = math.mod(loDigit + offset, 8); |
| 223 |
setprop('instrumentation/transponder/inputs/digit[2]', loDigit); |
| 224 |
setprop('instrumentation/transponder/inputs/digit[3]', hiDigit); |
| 225 |
]]></script> |
| 226 |
</binding> |
| 227 |
</action> |
| 228 |
</animation> |
| 229 |
|
| 230 |
<animation> |
| 231 |
<type>knob</type> |
| 232 |
<object-name>CTL92.knob1</object-name> |
| 233 |
<action> |
| 234 |
<binding> |
| 235 |
<command>nasal</command> |
| 236 |
<script><![CDATA[ |
| 237 |
var loDigit = getprop('instrumentation/transponder/inputs/digit[0]') or 0; |
| 238 |
var hiDigit = getprop('instrumentation/transponder/inputs/digit[1]') or 0; |
| 239 |
|
| 240 |
var offset = int(cmdarg().getNode('offset').getValue()); |
| 241 |
var incr = (offset > 0); |
| 242 |
|
| 243 |
if ((incr and loDigit == 7) or (!incr and loDigit == 0)) { |
| 244 |
hiDigit = math.mod(hiDigit + offset, 8); |
| 245 |
} |
| 246 |
|
| 247 |
loDigit = math.mod(loDigit + offset, 8); |
| 248 |
setprop('instrumentation/transponder/inputs/digit[0]', loDigit); |
| 249 |
setprop('instrumentation/transponder/inputs/digit[1]', hiDigit); |
| 250 |
]]></script> |
| 251 |
</binding> |
| 252 |
</action> |
| 253 |
</animation> |
| 254 |
|
| 255 |
|
| 256 |
</PropertyList> |