kr87_panel.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?xml version="1.0"?>
  2. <!-- KR-87 ADF Hotspots -->
  3. <!-- Gary R. Neely 'Buckaroo', 2011 -->
  4. <PropertyList>
  5. <name>Main Panel</name>
  6. <background>Aircraft/Optica/Panels/transparent-bg.rgb</background>
  7. <w>96</w>
  8. <h>32</h>
  9. <instruments>
  10. <instrument>
  11. <name>panel hotspots</name>
  12. <x>48</x>
  13. <y>16</y>
  14. <w>96</w>
  15. <h>32</h>
  16. <w-base>96</w-base>
  17. <h-base>32</h-base>
  18. <actions>
  19. <action>
  20. <name>KR87Power</name>
  21. <button>0</button>
  22. <x>17</x>
  23. <y>-14</y>
  24. <w>9</w>
  25. <h>14</h>
  26. <binding>
  27. <command>property-toggle</command>
  28. <property>/controls/switches/kr-87</property>
  29. </binding>
  30. </action>
  31. <action>
  32. <name>AdfTFR</name>
  33. <button>0</button>
  34. <x>-14</x>
  35. <y>-15</y>
  36. <w>8</w>
  37. <h>10</h>
  38. <binding>
  39. <condition>
  40. <property>/systems/electrical/outputs/kr-87</property>
  41. </condition>
  42. <command>property-swap</command>
  43. <property>/instrumentation/adf[0]/frequencies/selected-khz</property>
  44. <property>/instrumentation/adf[0]/frequencies/standby-khz</property>
  45. </binding>
  46. </action>
  47. <action>
  48. <name>CommInc</name>
  49. <button>0</button>
  50. <x>29</x>
  51. <y>-10</y>
  52. <w>9</w>
  53. <h>20</h>
  54. <binding>
  55. <condition>
  56. <property>/systems/electrical/outputs/kr-87</property>
  57. </condition>
  58. <command>property-adjust</command>
  59. <property>/instrumentation/adf[0]/frequencies/selected-khz</property>
  60. <step>10</step>
  61. <min>190</min>
  62. <max>1750</max>
  63. <wrap>true</wrap>
  64. </binding>
  65. </action>
  66. <action>
  67. <name>CommDec</name>
  68. <button>1</button>
  69. <x>29</x>
  70. <y>-10</y>
  71. <w>9</w>
  72. <h>20</h>
  73. <binding>
  74. <condition>
  75. <property>/systems/electrical/outputs/kr-87</property>
  76. </condition>
  77. <command>property-adjust</command>
  78. <property>/instrumentation/adf[0]/frequencies/selected-khz</property>
  79. <step>-10</step>
  80. <min>190</min>
  81. <max>1750</max>
  82. <wrap>true</wrap>
  83. </binding>
  84. </action>
  85. <action>
  86. <name>CommSmInc</name>
  87. <button>0</button>
  88. <x>38</x>
  89. <y>-10</y>
  90. <w>9</w>
  91. <h>20</h>
  92. <binding>
  93. <condition>
  94. <property>/systems/electrical/outputs/kr-87</property>
  95. </condition>
  96. <command>property-adjust</command>
  97. <property>/instrumentation/adf[0]/frequencies/selected-khz</property>
  98. <step>1</step>
  99. <min>190</min>
  100. <max>1750</max>
  101. <wrap>true</wrap>
  102. </binding>
  103. </action>
  104. <action>
  105. <name>CommSmDec</name>
  106. <button>1</button>
  107. <x>38</x>
  108. <y>-10</y>
  109. <w>9</w>
  110. <h>20</h>
  111. <binding>
  112. <condition>
  113. <property>/systems/electrical/outputs/kr-87</property>
  114. </condition>
  115. <command>property-adjust</command>
  116. <property>/instrumentation/adf[0]/frequencies/selected-khz</property>
  117. <step>-1</step>
  118. <min>190</min>
  119. <max>1750</max>
  120. <wrap>true</wrap>
  121. </binding>
  122. </action>
  123. </actions>
  124. </instrument>
  125. </instruments>
  126. </PropertyList>