kns80.xml 26 KB

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