kns80(1).xml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883
  1. <?xml version="1.0"?>
  2. <!-- KNS 80
  3. Bendix/King VOR/LOC/GS/DME/RVAV Integrated NAV System
  4. Syd Adams
  5. -->
  6. <PropertyList>
  7. <path>kns80.ac</path>
  8. <animation>
  9. <type>material</type>
  10. <object-name>VOR.btn</object-name>
  11. <object-name>RNAV.btn</object-name>
  12. <object-name>HOLD.btn</object-name>
  13. <object-name>USE.btn</object-name>
  14. <object-name>DSP.btn</object-name>
  15. <object-name>DATA.btn</object-name>
  16. <object-name>KNS80.volume</object-name>
  17. <object-name>KNS80.freq</object-name>
  18. <object-name>KNS80.freq1</object-name>
  19. <emission>
  20. <red>0.028</red>
  21. <green>0.014</green>
  22. <blue>0.007</blue>
  23. <factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
  24. </emission>
  25. </animation>
  26. <animation>
  27. <name>dme-on</name>
  28. <object-name>nm.101</object-name>
  29. <object-name>nm.102</object-name>
  30. <object-name>nm.103</object-name>
  31. <object-name>kt.101</object-name>
  32. <object-name>kt.102</object-name>
  33. <object-name>kt.103</object-name>
  34. <object-name>min.101</object-name>
  35. <object-name>min.102</object-name>
  36. </animation>
  37. <animation>
  38. <name>illumination</name>
  39. <object-name>annun.nm</object-name>
  40. <object-name>use.digit</object-name>
  41. </animation>
  42. <animation>
  43. <name>frequencies</name>
  44. <object-name>navfreq.101</object-name>
  45. <object-name>navfreq.102</object-name>
  46. <object-name>navfreq.103</object-name>
  47. <object-name>navfreq.104</object-name>
  48. <object-name>navfreq.105</object-name>
  49. <object-name>freq.annun</object-name>
  50. </animation>
  51. <animation>
  52. <name>radials</name>
  53. <object-name>radial.101</object-name>
  54. <object-name>radial.102</object-name>
  55. <object-name>radial.103</object-name>
  56. <object-name>radial.104</object-name>
  57. <object-name>radial.annun</object-name>
  58. </animation>
  59. <animation>
  60. <name>distance</name>
  61. <object-name>dist.101</object-name>
  62. <object-name>dist.102</object-name>
  63. <object-name>dist.103</object-name>
  64. <object-name>dist.annun</object-name>
  65. </animation>
  66. <animation>
  67. <type>select</type>
  68. <object-name>illumination</object-name>
  69. <condition>
  70. <or>
  71. <property>controls/electric/directbat-switch</property>
  72. <equals>
  73. <property>systems/electrical/suppliers/alternator</property>
  74. <value>28</value>
  75. </equals>
  76. </or>
  77. </condition>
  78. </animation>
  79. <animation>
  80. <type>select</type>
  81. <object-name>display.digit</object-name>
  82. <condition>
  83. <and>
  84. <property>instrumentation/kns-80/flash</property>
  85. </and>
  86. </condition>
  87. </animation>
  88. <animation>
  89. <type>select</type>
  90. <object-name>frequencies</object-name>
  91. <condition>
  92. <and>
  93. <or>
  94. <property>controls/electric/directbat-switch</property>
  95. <equals>
  96. <property>systems/electrical/suppliers/alternator</property>
  97. <value>28</value>
  98. </equals>
  99. </or>
  100. <equals>
  101. <property>instrumentation/kns-80/data-mode</property>
  102. <value>0</value>
  103. </equals>
  104. </and>
  105. </condition>
  106. </animation>
  107. <animation>
  108. <type>select</type>
  109. <object-name>radials</object-name>
  110. <condition>
  111. <and>
  112. <or>
  113. <property>controls/electric/directbat-switch</property>
  114. <equals>
  115. <property>systems/electrical/suppliers/alternator</property>
  116. <value>28</value>
  117. </equals>
  118. </or> <equals>
  119. <property>instrumentation/kns-80/data-mode</property>
  120. <value>1</value>
  121. </equals>
  122. </and>
  123. </condition>
  124. </animation>
  125. <animation>
  126. <type>select</type>
  127. <object-name>distance</object-name>
  128. <condition>
  129. <and>
  130. <or>
  131. <property>controls/electric/directbat-switch</property>
  132. <equals>
  133. <property>systems/electrical/suppliers/alternator</property>
  134. <value>28</value>
  135. </equals>
  136. </or>
  137. <equals>
  138. <property>instrumentation/kns-80/data-mode</property>
  139. <value>2</value>
  140. </equals>
  141. </and>
  142. </condition>
  143. </animation>
  144. <animation>
  145. <type>select</type>
  146. <object-name>dme.invalid</object-name>
  147. <condition>
  148. <and>
  149. <or>
  150. <property>controls/electric/directbat-switch</property>
  151. <equals>
  152. <property>systems/electrical/suppliers/alternator</property>
  153. <value>28</value>
  154. </equals>
  155. </or>
  156. <not>
  157. <property>instrumentation/dme/in-range</property>
  158. </not>
  159. </and>
  160. </condition>
  161. </animation>
  162. <animation>
  163. <type>select</type>
  164. <object-name>dme-on</object-name>
  165. <condition>
  166. <and>
  167. <property>instrumentation/kns-80/serviceable</property>
  168. <property>instrumentation/dme/in-range</property>
  169. </and>
  170. </condition>
  171. </animation>
  172. <animation>
  173. <type>select</type>
  174. <object-name>vor.annun</object-name>
  175. <condition>
  176. <and>
  177. <or>
  178. <property>controls/electric/directbat-switch</property>
  179. <equals>
  180. <property>systems/electrical/suppliers/alternator</property>
  181. <value>28</value>
  182. </equals>
  183. </or>
  184. <equals>
  185. <property>instrumentation/kns-80/nav-mode</property>
  186. <value>0</value>
  187. </equals>
  188. </and>
  189. </condition>
  190. </animation>
  191. <animation>
  192. <type>select</type>
  193. <object-name>par.annun</object-name>
  194. <condition>
  195. <and>
  196. <or>
  197. <property>controls/electric/directbat-switch</property>
  198. <equals>
  199. <property>systems/electrical/suppliers/alternator</property>
  200. <value>28</value>
  201. </equals>
  202. </or>
  203. <equals>
  204. <property>instrumentation/kns-80/nav-mode</property>
  205. <value>1</value>
  206. </equals>
  207. </and>
  208. </condition>
  209. </animation>
  210. <animation>
  211. <type>select</type>
  212. <object-name>enr.annun</object-name>
  213. <condition>
  214. <and>
  215. <or>
  216. <property>controls/electric/directbat-switch</property>
  217. <equals>
  218. <property>systems/electrical/suppliers/alternator</property>
  219. <value>28</value>
  220. </equals>
  221. </or>
  222. <equals>
  223. <property>instrumentation/kns-80/nav-mode</property>
  224. <value>2</value>
  225. </equals>
  226. </and>
  227. </condition>
  228. </animation>
  229. <animation>
  230. <type>select</type>
  231. <object-name>apr.annun</object-name>
  232. <condition>
  233. <and>
  234. <or>
  235. <property>controls/electric/directbat-switch</property>
  236. <equals>
  237. <property>systems/electrical/suppliers/alternator</property>
  238. <value>28</value>
  239. </equals>
  240. </or>
  241. <equals>
  242. <property>instrumentation/kns-80/nav-mode</property>
  243. <value>3</value>
  244. </equals>
  245. </and>
  246. </condition>
  247. </animation>
  248. <animation>
  249. <type>select</type>
  250. <object-name>hld.annun</object-name>
  251. <condition>
  252. <and>
  253. <property>instrumentation/kns-80/serviceable</property>
  254. <property>instrumentation/kns-80/dme-hold</property>
  255. </and>
  256. </condition>
  257. </animation>
  258. <animation>
  259. <type>select</type>
  260. <object-name>ils.annun</object-name>
  261. <condition>
  262. <and>
  263. <property>instrumentation/kns-80/serviceable</property>
  264. <property>instrumentation/nav/has-gs</property>
  265. <property>instrumentation/nav/in-range</property>
  266. </and>
  267. </condition>
  268. </animation>
  269. <animation>
  270. <type>rotate</type>
  271. <object-name>KNS80.volume</object-name>
  272. <property>instrumentation/nav/volume</property>
  273. <interpolation>
  274. <entry><ind>0</ind><dep>0</dep></entry>
  275. <entry><ind>1.0</ind><dep>300</dep></entry>
  276. </interpolation>
  277. <center>
  278. <x-m>0.003</x-m>
  279. <y-m>0.040</y-m>
  280. <z-m>-0.030</z-m>
  281. </center>
  282. <axis>
  283. <x>-1</x>
  284. <y>0</y>
  285. <z>0</z>
  286. </axis>
  287. </animation>
  288. <animation>
  289. <type>translate</type>
  290. <object-name>KNS80.volume</object-name>
  291. <property>instrumentation/nav/ident</property>
  292. <factor>0.005</factor>
  293. <center>
  294. <x-m>0.003</x-m>
  295. <y-m>0.040</y-m>
  296. <z-m>-0.030</z-m>
  297. </center>
  298. <axis>
  299. <x>1</x>
  300. <y>0</y>
  301. <z>0</z>
  302. </axis>
  303. </animation>
  304. <!-- Frequency -->
  305. <animation>
  306. <type>textranslate</type>
  307. <object-name>navfreq.101</object-name>
  308. <property>instrumentation/kns-80/displayed-frequency</property>
  309. <factor>0.001</factor>
  310. <step>100</step>
  311. <bias>0.005</bias>
  312. <axis>
  313. <x>1</x>
  314. <y>0</y>
  315. <z>0</z>
  316. </axis>
  317. </animation>
  318. <animation>
  319. <type>textranslate</type>
  320. <object-name>navfreq.102</object-name>
  321. <property>instrumentation/kns-80/displayed-frequency</property>
  322. <factor>0.01</factor>
  323. <step>10</step>
  324. <bias>0.005</bias>
  325. <axis>
  326. <x>1</x>
  327. <y>0</y>
  328. <z>0</z>
  329. </axis>
  330. </animation>
  331. <animation>
  332. <type>textranslate</type>
  333. <object-name>navfreq.103</object-name>
  334. <property>instrumentation/kns-80/displayed-frequency</property>
  335. <factor>0.1</factor>
  336. <step>1</step>
  337. <bias>0.005</bias>
  338. <axis>
  339. <x>1</x>
  340. <y>0</y>
  341. <z>0</z>
  342. </axis>
  343. </animation>
  344. <animation>
  345. <type>textranslate</type>
  346. <object-name>navfreq.104</object-name>
  347. <property>instrumentation/kns-80/displayed-frequency</property>
  348. <factor>1.0</factor>
  349. <step>0.1</step>
  350. <bias>0.005</bias>
  351. <axis>
  352. <x>1</x>
  353. <y>0</y>
  354. <z>0</z>
  355. </axis>
  356. </animation>
  357. <animation>
  358. <type>textranslate</type>
  359. <object-name>navfreq.105</object-name>
  360. <property>instrumentation/kns-80/displayed-frequency</property>
  361. <factor>10.0</factor>
  362. <step>0.01</step>
  363. <bias>0.005</bias>
  364. <axis>
  365. <x>1</x>
  366. <y>0</y>
  367. <z>0</z>
  368. </axis>
  369. </animation>
  370. <!-- Radials -->
  371. <animation>
  372. <type>textranslate</type>
  373. <object-name>radial.101</object-name>
  374. <property>instrumentation/kns-80/displayed-radial</property>
  375. <factor>0.001</factor>
  376. <step>100</step>
  377. <axis>
  378. <x>1</x>
  379. <y>0</y>
  380. <z>0</z>
  381. </axis>
  382. </animation>
  383. <animation>
  384. <type>textranslate</type>
  385. <object-name>radial.102</object-name>
  386. <property>instrumentation/kns-80/displayed-radial</property>
  387. <factor>0.01</factor>
  388. <step>10</step>
  389. <axis>
  390. <x>1</x>
  391. <y>0</y>
  392. <z>0</z>
  393. </axis>
  394. </animation>
  395. <animation>
  396. <type>textranslate</type>
  397. <object-name>radial.103</object-name>
  398. <property>instrumentation/kns-80/displayed-radial</property>
  399. <factor>0.1</factor>
  400. <step>1</step>
  401. <axis>
  402. <x>1</x>
  403. <y>0</y>
  404. <z>0</z>
  405. </axis>
  406. </animation>
  407. <!-- Distance -->
  408. <animation>
  409. <type>textranslate</type>
  410. <object-name>dist.101</object-name>
  411. <property>instrumentation/kns-80/displayed-distance</property>
  412. <factor>0.01</factor>
  413. <step>10</step>
  414. <bias>0.005</bias>
  415. <axis>
  416. <x>1</x>
  417. <y>0</y>
  418. <z>0</z>
  419. </axis>
  420. </animation>
  421. <animation>
  422. <type>textranslate</type>
  423. <object-name>dist.102</object-name>
  424. <property>instrumentation/kns-80/displayed-distance</property>
  425. <factor>0.1</factor>
  426. <bias>0.005</bias>
  427. <step>1</step>
  428. <axis>
  429. <x>1</x>
  430. <y>0</y>
  431. <z>0</z>
  432. </axis>
  433. </animation>
  434. <animation>
  435. <type>textranslate</type>
  436. <object-name>dist.103</object-name>
  437. <property>instrumentation/kns-80/displayed-distance</property>
  438. <factor>1.0</factor>
  439. <step>0.1</step>
  440. <bias>0.005</bias>
  441. <axis>
  442. <x>1</x>
  443. <y>0</y>
  444. <z>0</z>
  445. </axis>
  446. </animation>
  447. <!-- DME -->
  448. <animation>
  449. <type>textranslate</type>
  450. <object-name>nm.101</object-name>
  451. <property>instrumentation/kns-80/rnav/indicated-distance-nm</property>
  452. <factor>0.01</factor>
  453. <step>10</step>
  454. <bias>0.05</bias>
  455. <axis>
  456. <x>1</x>
  457. <y>0</y>
  458. <z>0</z>
  459. </axis>
  460. </animation>
  461. <animation>
  462. <type>textranslate</type>
  463. <object-name>nm.102</object-name>
  464. <property>instrumentation/kns-80/rnav/indicated-distance-nm</property>
  465. <factor>0.1</factor>
  466. <step>1</step>
  467. <bias>0.05</bias>
  468. <axis>
  469. <x>1</x>
  470. <y>0</y>
  471. <z>0</z>
  472. </axis>
  473. </animation>
  474. <animation>
  475. <type>textranslate</type>
  476. <object-name>nm.103</object-name>
  477. <property>instrumentation/kns-80/rnav/indicated-distance-nm</property>
  478. <factor>1.0</factor>
  479. <step>0.1</step>
  480. <bias>0.05</bias>
  481. <axis>
  482. <x>1</x>
  483. <y>0</y>
  484. <z>0</z>
  485. </axis>
  486. </animation>
  487. <animation>
  488. <type>textranslate</type>
  489. <object-name>kt.101</object-name>
  490. <property>instrumentation/dme/indicated-ground-speed-kt</property>
  491. <factor>0.001</factor>
  492. <step>100</step>
  493. <axis>
  494. <x>1</x>
  495. <y>0</y>
  496. <z>0</z>
  497. </axis>
  498. </animation>
  499. <animation>
  500. <type>textranslate</type>
  501. <object-name>kt.102</object-name>
  502. <property>instrumentation/dme/indicated-ground-speed-kt</property>
  503. <factor>0.01</factor>
  504. <step>10</step>
  505. <axis>
  506. <x>1</x>
  507. <y>0</y>
  508. <z>0</z>
  509. </axis>
  510. </animation>
  511. <animation>
  512. <type>textranslate</type>
  513. <object-name>kt.103</object-name>
  514. <property>instrumentation/dme/indicated-ground-speed-kt</property>
  515. <factor>0.1</factor>
  516. <step>1</step>
  517. <axis>
  518. <x>1</x>
  519. <y>0</y>
  520. <z>0</z>
  521. </axis>
  522. </animation>
  523. <animation>
  524. <type>textranslate</type>
  525. <object-name>min.101</object-name>
  526. <property>instrumentation/dme/indicated-time-min</property>
  527. <factor>0.01</factor>
  528. <step>10</step>
  529. <axis>
  530. <x>1</x>
  531. <y>0</y>
  532. <z>0</z>
  533. </axis>
  534. </animation>
  535. <animation>
  536. <type>textranslate</type>
  537. <object-name>min.102</object-name>
  538. <property>instrumentation/dme/indicated-time-min</property>
  539. <factor>0.1</factor>
  540. <step>1</step>
  541. <axis>
  542. <x>1</x>
  543. <y>0</y>
  544. <z>0</z>
  545. </axis>
  546. </animation>
  547. <!-- USED / DISPLAYED WAYPOINTS -->
  548. <animation>
  549. <type>textranslate</type>
  550. <object-name>use.digit</object-name>
  551. <property>instrumentation/kns-80/use</property>
  552. <factor>0.1</factor>
  553. <step>1</step>
  554. <axis>
  555. <x>1</x>
  556. <y>0</y>
  557. <z>0</z>
  558. </axis>
  559. </animation>
  560. <animation>
  561. <type>textranslate</type>
  562. <object-name>display.digit</object-name>
  563. <property>instrumentation/kns-80/display</property>
  564. <factor>0.1</factor>
  565. <step>1</step>
  566. <axis>
  567. <x>1</x>
  568. <y>0</y>
  569. <z>0</z>
  570. </axis>
  571. </animation>
  572. <!-- OSG hotspots -->
  573. <animation>
  574. <type>pick</type>
  575. <object-name>KNS80.volume</object-name>
  576. <action>
  577. <button>0</button>
  578. <repeatable>true</repeatable>
  579. <interval-sec>0.1</interval-sec>
  580. <binding>
  581. <condition>
  582. <not>
  583. <property>devices/status/keyboard/shift</property>
  584. </not>
  585. </condition>
  586. <command>nasal</command>
  587. <script>systems.kns80.volume(0.05)</script>
  588. </binding>
  589. <binding>
  590. <condition>
  591. <property>devices/status/keyboard/shift</property>
  592. </condition>
  593. <command>property-toggle</command>
  594. <property>instrumentation/nav/ident</property>
  595. </binding>
  596. </action>
  597. </animation>
  598. <animation>
  599. <type>pick</type>
  600. <object-name>KNS80.volume</object-name>
  601. <action>
  602. <button>1</button>
  603. <repeatable>true</repeatable>
  604. <interval-sec>0.1</interval-sec>
  605. <binding>
  606. <command>nasal</command>
  607. <script>systems.kns80.volume(-0.05)</script>
  608. </binding>
  609. </action>
  610. </animation>
  611. <animation>
  612. <type>pick</type>
  613. <object-name>KNS80.volume</object-name>
  614. <action>
  615. <button>3</button>
  616. <binding>
  617. <command>nasal</command>
  618. <script>systems.kns80.volume(0.05)</script>
  619. </binding>
  620. </action>
  621. </animation>
  622. <animation>
  623. <type>pick</type>
  624. <object-name>KNS80.volume</object-name>
  625. <action>
  626. <button>4</button>
  627. <binding>
  628. <command>nasal</command>
  629. <script>systems.kns80.volume(-0.05)</script>
  630. </binding>
  631. </action>
  632. </animation>
  633. <animation>
  634. <type>pick</type>
  635. <object-name>KNS80.freq1</object-name>
  636. <action>
  637. <button>0</button>
  638. <repeatable>true</repeatable>
  639. <interval-sec>0.2</interval-sec>
  640. <binding>
  641. <command>nasal</command>
  642. <script>systems.kns80.data_adjust(1)</script>
  643. </binding>
  644. </action>
  645. </animation>
  646. <animation>
  647. <type>pick</type>
  648. <object-name>KNS80.freq1</object-name>
  649. <action>
  650. <button>1</button>
  651. <repeatable>true</repeatable>
  652. <interval-sec>0.2</interval-sec>
  653. <binding>
  654. <command>nasal</command>
  655. <script>systems.kns80.data_adjust(-1)</script>
  656. </binding>
  657. </action>
  658. </animation>
  659. <animation>
  660. <type>pick</type>
  661. <object-name>KNS80.freq1</object-name>
  662. <action>
  663. <button>3</button>
  664. <binding>
  665. <command>nasal</command>
  666. <script>systems.kns80.data_adjust(1)</script>
  667. </binding>
  668. </action>
  669. </animation>
  670. <animation>
  671. <type>pick</type>
  672. <object-name>KNS80.freq1</object-name>
  673. <action>
  674. <button>4</button>
  675. <binding>
  676. <command>nasal</command>
  677. <script>systems.kns80.data_adjust(-1)</script>
  678. </binding>
  679. </action>
  680. </animation>
  681. <animation>
  682. <type>pick</type>
  683. <object-name>KNS80.freq</object-name>
  684. <action>
  685. <button>0</button>
  686. <repeatable>true</repeatable>
  687. <interval-sec>0.2</interval-sec>
  688. <binding>
  689. <command>nasal</command>
  690. <script>systems.kns80.data_adjust(10)</script>
  691. </binding>
  692. </action>
  693. </animation>
  694. <animation>
  695. <type>pick</type>
  696. <object-name>KNS80.freq</object-name>
  697. <action>
  698. <button>1</button>
  699. <repeatable>true</repeatable>
  700. <interval-sec>0.2</interval-sec>
  701. <binding>
  702. <command>nasal</command>
  703. <script>systems.kns80.data_adjust(-10)</script>
  704. </binding>
  705. </action>
  706. </animation>
  707. <animation>
  708. <type>pick</type>
  709. <object-name>KNS80.freq</object-name>
  710. <action>
  711. <button>3</button>
  712. <binding>
  713. <command>nasal</command>
  714. <script>systems.kns80.data_adjust(10)</script>
  715. </binding>
  716. </action>
  717. </animation>
  718. <animation>
  719. <type>pick</type>
  720. <object-name>KNS80.freq</object-name>
  721. <action>
  722. <button>4</button>
  723. <binding>
  724. <command>nasal</command>
  725. <script>systems.kns80.data_adjust(-10)</script>
  726. </binding>
  727. </action>
  728. </animation>
  729. <animation>
  730. <type>pick</type>
  731. <object-name>HOLD.btn</object-name>
  732. <action>
  733. <button>0</button>
  734. <repeatable>false</repeatable>
  735. <binding>
  736. <command>nasal</command>
  737. <script>systems.kns80.DME_hold();</script>
  738. </binding>
  739. </action>
  740. </animation>
  741. <animation>
  742. <type>pick</type>
  743. <object-name>USE.btn</object-name>
  744. <action>
  745. <button>0</button>
  746. <binding>
  747. <command>nasal</command>
  748. <script>systems.kns80.use_btn();</script>
  749. </binding>
  750. </action>
  751. </animation>
  752. <animation>
  753. <type>pick</type>
  754. <object-name>DSP.btn</object-name>
  755. <action>
  756. <button>0</button>
  757. <binding>
  758. <command>nasal</command>
  759. <script>systems.kns80.display_btn();</script>
  760. </binding>
  761. </action>
  762. </animation>
  763. <animation>
  764. <type>pick</type>
  765. <object-name>DATA.btn</object-name>
  766. <action>
  767. <button>0</button>
  768. <binding>
  769. <command>nasal</command>
  770. <script>systems.kns80.data_btn()</script>
  771. </binding>
  772. </action>
  773. </animation>
  774. <animation>
  775. <type>pick</type>
  776. <object-name>VOR.btn</object-name>
  777. <action>
  778. <button>0</button>
  779. <repeatable>false</repeatable>
  780. <binding>
  781. <command>nasal</command>
  782. <script>
  783. var test = getprop("/instrumentation/kns-80/nav-mode");
  784. if(test != 0){
  785. setprop("/instrumentation/kns-80/nav-mode",0);
  786. setprop("/instrumentation/nav/slaved-to-gps", 0);
  787. }else{
  788. setprop("/instrumentation/kns-80/nav-mode",1);
  789. setprop("/instrumentation/nav/slaved-to-gps", 1);
  790. }
  791. </script>
  792. </binding>
  793. </action>
  794. </animation>
  795. <animation>
  796. <type>pick</type>
  797. <object-name>RNAV.btn</object-name>
  798. <action>
  799. <button>0</button>
  800. <repeatable>false</repeatable>
  801. <binding>
  802. <command>nasal</command>
  803. <script>
  804. var test = getprop("/instrumentation/kns-80/nav-mode");
  805. if(test != 2){setprop("/instrumentation/kns-80/nav-mode",2);
  806. }else{setprop("/instrumentation/kns-80/nav-mode",3);}
  807. setprop("/instrumentation/nav/slaved-to-gps", 1);
  808. </script>
  809. </binding>
  810. </action>
  811. </animation>
  812. </PropertyList>