kr87.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667
  1. <?xml version="1.0"?>
  2. <!--
  3. KR-87
  4. Bendix/King ADF Reciever
  5. Syd Adams
  6. -->
  7. <PropertyList>
  8. <path>kr87.ac</path>
  9. <animation>
  10. <type>material</type>
  11. <object-name>KR87.adf</object-name>
  12. <object-name>KR87.bfo</object-name>
  13. <object-name>KR87.frq</object-name>
  14. <object-name>KR87.flt</object-name>
  15. <object-name>KR87.set</object-name>
  16. <object-name>KR87.volume</object-name>
  17. <emission>
  18. <red>0.028</red>
  19. <green>0.014</green>
  20. <blue>0.007</blue>
  21. <factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
  22. </emission>
  23. </animation>
  24. <animation>
  25. <name>in-use-leds</name>
  26. <object-name>freq.001</object-name>
  27. <object-name>freq.002</object-name>
  28. <object-name>freq.003</object-name>
  29. <object-name>freq.004</object-name>
  30. </animation>
  31. <animation>
  32. <name>standby-leds</name>
  33. <object-name>stby.001</object-name>
  34. <object-name>stby.002</object-name>
  35. <object-name>stby.003</object-name>
  36. <object-name>stby.004</object-name>
  37. </animation>
  38. <animation>
  39. <type>select</type>
  40. <object-name>in-use-leds</object-name>
  41. <object-name>standby-leds</object-name>
  42. <condition>
  43. <and>
  44. <property>instrumentation/kr-87/inputs/power-btn</property>
  45. <greater-than>
  46. <property>systems/electrical/outputs/nav</property>
  47. <value>1</value>
  48. </greater-than>
  49. </and>
  50. </condition>
  51. </animation>
  52. <animation>
  53. <type>select</type>
  54. <object-name>freq.001</object-name>
  55. <condition>
  56. <and>
  57. <property>instrumentation/kr-87/inputs/power-btn</property>
  58. <greater-than>
  59. <property>systems/electrical/outputs/adf</property>
  60. <value>1</value>
  61. </greater-than>
  62. <greater-than>
  63. <property>instrumentation/kr-87/outputs/selected-khz</property>
  64. <value>999</value>
  65. </greater-than>
  66. </and>
  67. </condition>
  68. </animation>
  69. <animation>
  70. <type>select</type>
  71. <object-name>stby.001</object-name>
  72. <condition>
  73. <and>
  74. <property>instrumentation/kr-87/inputs/power-btn</property>
  75. <or>
  76. <greater-than>
  77. <property>instrumentation/kr-87/outputs/standby-khz</property>
  78. <value>999</value>
  79. </greater-than>
  80. <equals>
  81. <property>instrumentation/kr-87/modes/stby</property>
  82. <value>1</value>
  83. </equals>
  84. </or>
  85. <greater-than>
  86. <property>systems/electrical/outputs/nav</property>
  87. <value>1</value>
  88. </greater-than>
  89. </and>
  90. </condition>
  91. </animation>
  92. <animation>
  93. <type>select</type>
  94. <object-name>stby</object-name>
  95. <condition>
  96. <and>
  97. <property>instrumentation/kr-87/inputs/power-btn</property>
  98. <greater-than>
  99. <property>instrumentation/kr-87/modes/stby</property>
  100. <value>0</value>
  101. </greater-than>
  102. <greater-than>
  103. <property>systems/electrical/outputs/nav</property>
  104. <value>1</value>
  105. </greater-than>
  106. </and>
  107. </condition>
  108. </animation>
  109. <animation>
  110. <type>rotate</type>
  111. <object-name>KR87.volume</object-name>
  112. <property>instrumentation/kr-87/inputs/volume</property>
  113. <interpolation>
  114. <entry><ind>0</ind><dep>0</dep></entry>
  115. <entry><ind>1.0</ind><dep>300</dep></entry>
  116. </interpolation>
  117. <center>
  118. <x-m>0.00</x-m>
  119. <y-m>0.038</y-m>
  120. <z-m>-0.0062</z-m>
  121. </center>
  122. <axis>
  123. <x>-1</x>
  124. <y>0</y>
  125. <z>0</z>
  126. </axis>
  127. </animation>
  128. <animation>
  129. <type>translate</type>
  130. <object-name>KR87.adf</object-name>
  131. <property>instrumentation/kr-87/annunciators/adf</property>
  132. <factor>0.001</factor>
  133. <center>
  134. <x-m>0.00</x-m>
  135. <y-m>0.0</y-m>
  136. <z-m>0.0</z-m>
  137. </center>
  138. <axis>
  139. <x>-1</x>
  140. <y>0</y>
  141. <z>0</z>
  142. </axis>
  143. </animation>
  144. <!-- FREQUENCIES -->
  145. <animation>
  146. <type>textranslate</type>
  147. <object-name>freq.001</object-name>
  148. <property>instrumentation/kr-87/outputs/selected-khz</property>
  149. <factor>0.0001</factor>
  150. <step>1000</step>
  151. <axis>
  152. <x>1</x>
  153. <y>0</y>
  154. <z>0</z>
  155. </axis>
  156. </animation>
  157. <animation>
  158. <type>textranslate</type>
  159. <object-name>freq.002</object-name>
  160. <property>instrumentation/kr-87/outputs/selected-khz</property>
  161. <factor>0.001</factor>
  162. <step>100</step>
  163. <axis>
  164. <x>1</x>
  165. <y>0</y>
  166. <z>0</z>
  167. </axis>
  168. </animation>
  169. <animation>
  170. <type>textranslate</type>
  171. <object-name>freq.003</object-name>
  172. <property>instrumentation/kr-87/outputs/selected-khz</property>
  173. <factor>0.01</factor>
  174. <step>10</step>
  175. <axis>
  176. <x>1</x>
  177. <y>0</y>
  178. <z>0</z>
  179. </axis>
  180. </animation>
  181. <animation>
  182. <type>textranslate</type>
  183. <object-name>freq.004</object-name>
  184. <property>instrumentation/kr-87/outputs/selected-khz</property>
  185. <factor>0.1</factor>
  186. <step>1</step>
  187. <axis>
  188. <x>1</x>
  189. <y>0</y>
  190. <z>0</z>
  191. </axis>
  192. </animation>
  193. <!-- Standby -->
  194. <animation>
  195. <type>textranslate</type>
  196. <object-name>stby.001</object-name>
  197. <property>instrumentation/kr-87/outputs/standby-khz</property>
  198. <factor>0.0001</factor>
  199. <step>1000</step>
  200. <axis>
  201. <x>1</x>
  202. <y>0</y>
  203. <z>0</z>
  204. </axis>
  205. </animation>
  206. <animation>
  207. <type>textranslate</type>
  208. <object-name>stby.002</object-name>
  209. <property>instrumentation/kr-87/outputs/standby-khz</property>
  210. <factor>0.001</factor>
  211. <step>100</step>
  212. <axis>
  213. <x>1</x>
  214. <y>0</y>
  215. <z>0</z>
  216. </axis>
  217. </animation>
  218. <animation>
  219. <type>textranslate</type>
  220. <object-name>stby.003</object-name>
  221. <property>instrumentation/kr-87/outputs/standby-khz</property>
  222. <factor>0.01</factor>
  223. <step>10</step>
  224. <axis>
  225. <x>1</x>
  226. <y>0</y>
  227. <z>0</z>
  228. </axis>
  229. </animation>
  230. <animation>
  231. <type>textranslate</type>
  232. <object-name>stby.004</object-name>
  233. <property>instrumentation/kr-87/outputs/standby-khz</property>
  234. <factor>0.1</factor>
  235. <step>1</step>
  236. <axis>
  237. <x>1</x>
  238. <y>0</y>
  239. <z>0</z>
  240. </axis>
  241. </animation>
  242. <animation>
  243. <type>select</type>
  244. <object-name>ant.annun</object-name>
  245. <condition>
  246. <property>instrumentation/kr-87/annunciators/ant</property>
  247. </condition>
  248. </animation>
  249. <animation>
  250. <type>select</type>
  251. <object-name>adf.annun</object-name>
  252. <condition>
  253. <property>instrumentation/kr-87/annunciators/adf</property>
  254. </condition>
  255. </animation>
  256. <animation>
  257. <type>select</type>
  258. <object-name>bfo.annun</object-name>
  259. <condition>
  260. <property>instrumentation/kr-87/annunciators/bfo</property>
  261. </condition>
  262. </animation>
  263. <animation>
  264. <type>select</type>
  265. <object-name>et.annun</object-name>
  266. <condition>
  267. <property>instrumentation/kr-87/annunciators/et</property>
  268. </condition>
  269. </animation>
  270. <animation>
  271. <type>select</type>
  272. <object-name>flt.annun</object-name>
  273. <condition>
  274. <property>instrumentation/kr-87/annunciators/flt</property>
  275. </condition>
  276. </animation>
  277. <animation>
  278. <type>select</type>
  279. <object-name>frq.annun</object-name>
  280. <condition>
  281. <property>instrumentation/kr-87/annunciators/frq</property>
  282. </condition>
  283. </animation>
  284. <!-- OSG Hotspots -->
  285. <animation>
  286. <type>pick</type>
  287. <object-name>KR87.knob1</object-name>
  288. <action>
  289. <button>0</button>
  290. <repeatable>true</repeatable>
  291. <interval-sec>0.1</interval-sec>
  292. <binding>
  293. <command>property-adjust</command>
  294. <property>instrumentation/kr-87/outputs/standby-khz</property>
  295. <step>1</step>
  296. <min>100</min>
  297. <max>1300</max>
  298. <wrap>true</wrap>
  299. </binding>
  300. </action>
  301. </animation>
  302. <animation>
  303. <type>pick</type>
  304. <object-name>KR87.knob1</object-name>
  305. <action>
  306. <button>1</button>
  307. <repeatable>true</repeatable>
  308. <interval-sec>0.1</interval-sec>
  309. <binding>
  310. <command>property-adjust</command>
  311. <property>instrumentation/kr-87/outputs/standby-khz</property>
  312. <step>-1</step>
  313. <min>100</min>
  314. <max>1300</max>
  315. <wrap>true</wrap>
  316. </binding>
  317. </action>
  318. </animation>
  319. <animation>
  320. <type>pick</type>
  321. <object-name>KR87.knob1</object-name>
  322. <action>
  323. <button>3</button>
  324. <binding>
  325. <command>property-adjust</command>
  326. <property>instrumentation/kr-87/outputs/standby-khz</property>
  327. <step>1</step>
  328. <min>100</min>
  329. <max>1300</max>
  330. <wrap>true</wrap>
  331. </binding>
  332. </action>
  333. </animation>
  334. <animation>
  335. <type>pick</type>
  336. <object-name>KR87.knob1</object-name>
  337. <action>
  338. <button>4</button>
  339. <binding>
  340. <command>property-adjust</command>
  341. <property>instrumentation/kr-87/outputs/standby-khz</property>
  342. <step>-1</step>
  343. <min>100</min>
  344. <max>1300</max>
  345. <wrap>true</wrap>
  346. </binding>
  347. </action>
  348. </animation>
  349. <animation>
  350. <type>pick</type>
  351. <object-name>KR87.knob</object-name>
  352. <action>
  353. <button>0</button>
  354. <repeatable>true</repeatable>
  355. <interval-sec>0.1</interval-sec>
  356. <binding>
  357. <command>property-adjust</command>
  358. <property>instrumentation/kr-87/outputs/standby-khz</property>
  359. <step>100</step>
  360. <min>100</min>
  361. <max>1300</max>
  362. <wrap>true</wrap>
  363. </binding>
  364. </action>
  365. </animation>
  366. <animation>
  367. <type>pick</type>
  368. <object-name>KR87.knob</object-name>
  369. <action>
  370. <button>1</button>
  371. <repeatable>true</repeatable>
  372. <interval-sec>0.1</interval-sec>
  373. <binding>
  374. <command>property-adjust</command>
  375. <property>instrumentation/kr-87/outputs/standby-khz</property>
  376. <step>-100</step>
  377. <min>100</min>
  378. <max>1300</max>
  379. <wrap>true</wrap>
  380. </binding>
  381. </action>
  382. </animation>
  383. <animation>
  384. <type>pick</type>
  385. <object-name>KR87.knob</object-name>
  386. <action>
  387. <button>3</button>
  388. <binding>
  389. <command>property-adjust</command>
  390. <property>instrumentation/kr-87/outputs/standby-khz</property>
  391. <step>100</step>
  392. <min>100</min>
  393. <max>1300</max>
  394. <wrap>true</wrap>
  395. </binding>
  396. </action>
  397. </animation>
  398. <animation>
  399. <type>pick</type>
  400. <object-name>KR87.knob</object-name>
  401. <action>
  402. <button>4</button>
  403. <binding>
  404. <command>property-adjust</command>
  405. <property>instrumentation/kr-87/outputs/standby-khz</property>
  406. <step>-100</step>
  407. <min>100</min>
  408. <max>1300</max>
  409. <wrap>true</wrap>
  410. </binding>
  411. </action>
  412. </animation>
  413. <animation>
  414. <type>pick</type>
  415. <object-name>KR87.volume</object-name>
  416. <action>
  417. <button>0</button>
  418. <repeatable>true</repeatable>
  419. <interval-sec>0.1</interval-sec>
  420. <binding>
  421. <condition>
  422. <property>instrumentation/kr-87/inputs/power-btn</property>
  423. </condition>
  424. <command>property-adjust</command>
  425. <property>instrumentation/kr-87/inputs/volume</property>
  426. <step>0.05</step>
  427. <min>0.0</min>
  428. <max>1.0</max>
  429. <wrap>false</wrap>
  430. </binding>
  431. <binding>
  432. <condition>
  433. <not>
  434. <property>instrumentation/kr-87/inputs/power-btn</property>
  435. </not>
  436. </condition>
  437. <command>property-assign</command>
  438. <property>instrumentation/kr-87/inputs/power-btn</property>
  439. <value>1</value>
  440. </binding>
  441. </action>
  442. </animation>
  443. <animation>
  444. <type>pick</type>
  445. <object-name>KR87.volume</object-name>
  446. <action>
  447. <button>1</button>
  448. <repeatable>true</repeatable>
  449. <interval-sec>0.1</interval-sec>
  450. <binding>
  451. <condition>
  452. <greater-than>
  453. <property>instrumentation/kr-87/inputs/volume</property>
  454. <value>0.0</value>
  455. </greater-than>
  456. </condition>
  457. <command>property-adjust</command>
  458. <property>instrumentation/kr-87/inputs/volume</property>
  459. <step>-0.05</step>
  460. <min>0.0</min>
  461. <max>1.0</max>
  462. <wrap>false</wrap>
  463. </binding>
  464. <binding>
  465. <condition>
  466. <equals>
  467. <property>instrumentation/kr-87/inputs/volume</property>
  468. <value>0</value>
  469. </equals>
  470. </condition>
  471. <command>property-assign</command>
  472. <property>instrumentation/kr-87/inputs/power-btn</property>
  473. <value>0</value>
  474. </binding>
  475. </action>
  476. </animation>
  477. <animation>
  478. <type>pick</type>
  479. <object-name>KR87.volume</object-name>
  480. <action>
  481. <button>3</button>
  482. <repeatable>true</repeatable>
  483. <interval-sec>0.1</interval-sec>
  484. <binding>
  485. <condition>
  486. <property>instrumentation/kr-87/inputs/power-btn</property>
  487. </condition>
  488. <command>property-adjust</command>
  489. <property>instrumentation/kr-87/inputs/volume</property>
  490. <step>0.05</step>
  491. <min>0.0</min>
  492. <max>1.0</max>
  493. <wrap>false</wrap>
  494. </binding>
  495. <binding>
  496. <condition>
  497. <not>
  498. <property>instrumentation/kr-87/inputs/power-btn</property>
  499. </not>
  500. </condition>
  501. <command>property-assign</command>
  502. <property>instrumentation/kr-87/inputs/power-btn</property>
  503. <value>1</value>
  504. </binding>
  505. </action>
  506. </animation>
  507. <animation>
  508. <type>pick</type>
  509. <object-name>KR87.volume</object-name>
  510. <action>
  511. <button>4</button>
  512. <repeatable>true</repeatable>
  513. <interval-sec>0.1</interval-sec>
  514. <binding>
  515. <condition>
  516. <greater-than>
  517. <property>instrumentation/kr-87/inputs/volume</property>
  518. <value>0.0</value>
  519. </greater-than>
  520. </condition>
  521. <command>property-adjust</command>
  522. <property>instrumentation/kr-87/inputs/volume</property>
  523. <step>-0.05</step>
  524. <min>0.0</min>
  525. <max>1.0</max>
  526. <wrap>false</wrap>
  527. </binding>
  528. <binding>
  529. <condition>
  530. <equals>
  531. <property>instrumentation/kr-87/inputs/volume</property>
  532. <value>0</value>
  533. </equals>
  534. </condition>
  535. <command>property-assign</command>
  536. <property>instrumentation/kr-87/inputs/power-btn</property>
  537. <value>0</value>
  538. </binding>
  539. </action>
  540. </animation>
  541. <animation>
  542. <type>pick</type>
  543. <object-name>KR87.adf</object-name>
  544. <action>
  545. <button>0</button>
  546. <repeatable>false</repeatable>
  547. <binding>
  548. <command>property-toggle</command>
  549. <property>instrumentation/kr-87/inputs/adf-btn</property>
  550. </binding>
  551. </action>
  552. </animation>
  553. <animation>
  554. <type>pick</type>
  555. <object-name>KR87.bfo</object-name>
  556. <action>
  557. <button>0</button>
  558. <repeatable>false</repeatable>
  559. <binding>
  560. <command>property-toggle</command>
  561. <property>instrumentation/kr-87/inputs/bfo-btn</property>
  562. </binding>
  563. </action>
  564. </animation>
  565. <animation>
  566. <type>pick</type>
  567. <object-name>KR87.frq</object-name>
  568. <action>
  569. <button>0</button>
  570. <repeatable>false</repeatable>
  571. <binding>
  572. <command>property-assign</command>
  573. <property>instrumentation/kr-87/inputs/frq-btn</property>
  574. <value>1</value>
  575. </binding>
  576. <mod-up>
  577. <binding>
  578. <command>property-assign</command>
  579. <property>instrumentation/kr-87/inputs/frq-btn</property>
  580. <value>0</value>
  581. </binding>
  582. </mod-up>
  583. </action>
  584. </animation>
  585. <animation>
  586. <type>pick</type>
  587. <object-name>KR87.flt</object-name>
  588. <action>
  589. <button>0</button>
  590. <repeatable>false</repeatable>
  591. <binding>
  592. <command>property-assign</command>
  593. <property>instrumentation/kr-87/inputs/flt-et-btn</property>
  594. <value>1</value>
  595. </binding>
  596. <mod-up>
  597. <binding>
  598. <command>property-assign</command>
  599. <property>instrumentation/kr-87/inputs/flt-et-btn</property>
  600. <value>0</value>
  601. </binding>
  602. </mod-up>
  603. </action>
  604. </animation>
  605. <animation>
  606. <type>pick</type>
  607. <object-name>KR87.set</object-name>
  608. <action>
  609. <button>0</button>
  610. <repeatable>false</repeatable>
  611. <binding>
  612. <command>property-assign</command>
  613. <property>instrumentation/kr-87/inputs/set-rst-btn</property>
  614. <value>1</value>
  615. </binding>
  616. <mod-up>
  617. <binding>
  618. <command>property-assign</command>
  619. <property>instrumentation/kr-87/inputs/set-rst-btn</property>
  620. <value>0</value>
  621. </binding>
  622. </mod-up>
  623. </action>
  624. </animation>
  625. </PropertyList>