Move the kr-87 adf from /radios to /instrumentation
This commit is contained in:
parent
c93544468d
commit
71bfe3a4db
7 changed files with 125 additions and 125 deletions
|
@ -18,8 +18,8 @@ Mar 6 2003
|
|||
<h-base>512</h-base>
|
||||
|
||||
<params>
|
||||
<adf-course-rotation-deg>/radios/kr-87/inputs/rotation-deg</adf-course-rotation-deg>
|
||||
<adf-needle-deg>/radios/kr-87/outputs/needle-deg</adf-needle-deg>
|
||||
<adf-course-rotation-deg>/instrumentation/kr-87/inputs/rotation-deg</adf-course-rotation-deg>
|
||||
<adf-needle-deg>/instrumentation/kr-87/outputs/needle-deg</adf-needle-deg>
|
||||
</params>
|
||||
|
||||
<layers>
|
||||
|
|
|
@ -46,7 +46,7 @@ properties' values.
|
|||
<transformations>
|
||||
<transformation>
|
||||
<type>rotation</type>
|
||||
<property>/radios/kr-87/inputs/rotation-deg</property>
|
||||
<property>/instrumentation/kr-87/inputs/rotation-deg</property>
|
||||
<min>-360.0</min>
|
||||
<max>360.0</max>
|
||||
</transformation>
|
||||
|
@ -81,7 +81,7 @@ properties' values.
|
|||
<transformation>
|
||||
<type>rotation</type>
|
||||
<!--set>45</offset-->
|
||||
<property>/radios/kr-87/outputs/needle-deg</property>
|
||||
<property>/instrumentation/kr-87/outputs/needle-deg</property>
|
||||
<min>-360</min>
|
||||
<max>360</max>
|
||||
</transformation>
|
||||
|
@ -179,7 +179,7 @@ properties' values.
|
|||
</transformation>
|
||||
<transformation>
|
||||
<type>rotation</type>
|
||||
<property>/radios/kr-87/inputs/rotation-deg</property>
|
||||
<property>/instrumentation/kr-87/inputs/rotation-deg</property>
|
||||
<min>-360.0</min>
|
||||
<max>360.0</max>
|
||||
</transformation>
|
||||
|
@ -198,7 +198,7 @@ properties' values.
|
|||
<h>24</h>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/inputs/rotation-deg</property>
|
||||
<property>/instrumentation/kr-87/inputs/rotation-deg</property>
|
||||
<step>-1.0</step>
|
||||
<min>0</min>
|
||||
<max>360</max>
|
||||
|
@ -214,7 +214,7 @@ properties' values.
|
|||
<h>24</h>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/inputs/rotation-deg</property>
|
||||
<property>/instrumentation/kr-87/inputs/rotation-deg</property>
|
||||
<step>-5.0</step>
|
||||
<min>0</min>
|
||||
<max>360</max>
|
||||
|
@ -230,7 +230,7 @@ properties' values.
|
|||
<h>24</h>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/inputs/rotation-deg</property>
|
||||
<property>/instrumentation/kr-87/inputs/rotation-deg</property>
|
||||
<step>1.0</step>
|
||||
<min>0</min>
|
||||
<max>360</max>
|
||||
|
@ -246,7 +246,7 @@ properties' values.
|
|||
<h>24</h>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/inputs/rotation-deg</property>
|
||||
<property>/instrumentation/kr-87/inputs/rotation-deg</property>
|
||||
<step>5.0</step>
|
||||
<min>0</min>
|
||||
<max>360</max>
|
||||
|
|
|
@ -223,7 +223,7 @@ Started 24-7-01 by Timothy Gale
|
|||
<transformations>
|
||||
<transformation>
|
||||
<type>rotation</type>
|
||||
<property>/radios/kr-87/outputs/needle-deg</property>
|
||||
<property>/instrumentation/kr-87/outputs/needle-deg</property>
|
||||
<min>-360.0</min>
|
||||
<max>360.0</max>
|
||||
</transformation>
|
||||
|
|
|
@ -46,7 +46,7 @@ properties' values.
|
|||
<name>ADF annunciator</name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/radios/kr-87/annunciators/adf</property>
|
||||
<property>/instrumentation/kr-87/annunciators/adf</property>
|
||||
<value>true</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -79,7 +79,7 @@ properties' values.
|
|||
<name>ANT annunciator</name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/radios/kr-87/annunciators/ant</property>
|
||||
<property>/instrumentation/kr-87/annunciators/ant</property>
|
||||
<value>true</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -112,7 +112,7 @@ properties' values.
|
|||
<name>Selected FRQ display</name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/radios/kr-87/inputs/power-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/power-btn</property>
|
||||
<value>true</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -127,7 +127,7 @@ properties' values.
|
|||
<chunks>
|
||||
<chunk>
|
||||
<type>number-value</type>
|
||||
<property>/radios/kr-87/outputs/selected-khz</property>
|
||||
<property>/instrumentation/kr-87/outputs/selected-khz</property>
|
||||
<format>%4.0f</format>
|
||||
</chunk>
|
||||
</chunks>
|
||||
|
@ -147,7 +147,7 @@ properties' values.
|
|||
<name>BFO annunciator</name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/radios/kr-87/annunciators/bfo</property>
|
||||
<property>/instrumentation/kr-87/annunciators/bfo</property>
|
||||
<value>true</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -180,7 +180,7 @@ properties' values.
|
|||
<name>Standby FRQ annunciator</name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/radios/kr-87/annunciators/frq</property>
|
||||
<property>/instrumentation/kr-87/annunciators/frq</property>
|
||||
<value>true</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -213,11 +213,11 @@ properties' values.
|
|||
<name>Standby FRQ display</name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/radios/kr-87/annunciators/frq</property>
|
||||
<property>/instrumentation/kr-87/annunciators/frq</property>
|
||||
<value>true</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/stby</property>
|
||||
<property>/instrumentation/kr-87/modes/stby</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -232,7 +232,7 @@ properties' values.
|
|||
<chunks>
|
||||
<chunk>
|
||||
<type>number-value</type>
|
||||
<property>/radios/kr-87/outputs/standby-khz</property>
|
||||
<property>/instrumentation/kr-87/outputs/standby-khz</property>
|
||||
<format>%4.0f</format>
|
||||
</chunk>
|
||||
</chunks>
|
||||
|
@ -252,15 +252,15 @@ properties' values.
|
|||
<name>Flight Timer display</name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/radios/kr-87/inputs/power-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/power-btn</property>
|
||||
<value>true</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/stby</property>
|
||||
<property>/instrumentation/kr-87/modes/stby</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/radios/kr-87/annunciators/flt</property>
|
||||
<property>/instrumentation/kr-87/annunciators/flt</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -275,7 +275,7 @@ properties' values.
|
|||
<chunks>
|
||||
<chunk>
|
||||
<type>text-value</type>
|
||||
<property>/radios/kr-87/outputs/timer-string</property>
|
||||
<property>/instrumentation/kr-87/outputs/timer-string</property>
|
||||
</chunk>
|
||||
</chunks>
|
||||
<transformations>
|
||||
|
@ -294,15 +294,15 @@ properties' values.
|
|||
<name>Elapsed Timer display</name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/radios/kr-87/inputs/power-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/power-btn</property>
|
||||
<value>true</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/stby</property>
|
||||
<property>/instrumentation/kr-87/modes/stby</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/radios/kr-87/annunciators/et</property>
|
||||
<property>/instrumentation/kr-87/annunciators/et</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -317,7 +317,7 @@ properties' values.
|
|||
<chunks>
|
||||
<chunk>
|
||||
<type>text-value</type>
|
||||
<property>/radios/kr-87/outputs/timer-string</property>
|
||||
<property>/instrumentation/kr-87/outputs/timer-string</property>
|
||||
</chunk>
|
||||
</chunks>
|
||||
<transformations>
|
||||
|
@ -337,7 +337,7 @@ properties' values.
|
|||
<name>Flight Time annunciator</name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/radios/kr-87/annunciators/flt</property>
|
||||
<property>/instrumentation/kr-87/annunciators/flt</property>
|
||||
<value>true</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -370,7 +370,7 @@ properties' values.
|
|||
<name>Elapsed Time annunciator</name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/radios/kr-87/annunciators/et</property>
|
||||
<property>/instrumentation/kr-87/annunciators/et</property>
|
||||
<value>true</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -464,7 +464,7 @@ properties' values.
|
|||
</transformation>
|
||||
<transformation>
|
||||
<type>rotation</type>
|
||||
<property>/radios/kr-87/inputs/volume</property>
|
||||
<property>/instrumentation/kr-87/inputs/volume</property>
|
||||
<min>0</min>
|
||||
<max>2</max>
|
||||
<scale>140</scale>
|
||||
|
@ -632,7 +632,7 @@ properties' values.
|
|||
<h>14</h>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/radios/kr-87/inputs/adf-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/adf-btn</property>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
|
@ -645,7 +645,7 @@ properties' values.
|
|||
<h>14</h>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/radios/kr-87/inputs/bfo-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/bfo-btn</property>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
|
@ -658,14 +658,14 @@ properties' values.
|
|||
<h>14</h>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/radios/kr-87/inputs/frq-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/frq-btn</property>
|
||||
<value type="bool">true</value>
|
||||
<repeatable type="bool">false</repeatable>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/radios/kr-87/inputs/frq-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/frq-btn</property>
|
||||
<value type="bool">false</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
|
@ -680,14 +680,14 @@ properties' values.
|
|||
<h>14</h>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/radios/kr-87/inputs/flt-et-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/flt-et-btn</property>
|
||||
<value type="bool">true</value>
|
||||
<repeatable type="bool">false</repeatable>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/radios/kr-87/inputs/flt-et-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/flt-et-btn</property>
|
||||
<value type="bool">false</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
|
@ -702,14 +702,14 @@ properties' values.
|
|||
<h>14</h>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/radios/kr-87/inputs/set-rst-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/set-rst-btn</property>
|
||||
<value type="bool">true</value>
|
||||
<repeatable type="bool">false</repeatable>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/radios/kr-87/inputs/set-rst-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/set-rst-btn</property>
|
||||
<value type="bool">false</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
|
@ -726,13 +726,13 @@ properties' values.
|
|||
<h>24</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/count</property>
|
||||
<property>/instrumentation/kr-87/modes/count</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/outputs/elapsed-timer</property>
|
||||
<property>/instrumentation/kr-87/outputs/elapsed-timer</property>
|
||||
<step>-1</step>
|
||||
<min>1.0</min>
|
||||
<max>216000.0</max>
|
||||
|
@ -749,13 +749,13 @@ properties' values.
|
|||
<h>24</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/count</property>
|
||||
<property>/instrumentation/kr-87/modes/count</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/outputs/elapsed-timer</property>
|
||||
<property>/instrumentation/kr-87/outputs/elapsed-timer</property>
|
||||
<step>1</step>
|
||||
<min>1.0</min>
|
||||
<max>216000.0</max>
|
||||
|
@ -772,13 +772,13 @@ properties' values.
|
|||
<h>24</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/count</property>
|
||||
<property>/instrumentation/kr-87/modes/count</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/outputs/elapsed-timer</property>
|
||||
<property>/instrumentation/kr-87/outputs/elapsed-timer</property>
|
||||
<step>-60</step>
|
||||
<min>1.0</min>
|
||||
<max>3599.0</max>
|
||||
|
@ -795,13 +795,13 @@ properties' values.
|
|||
<h>24</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/count</property>
|
||||
<property>/instrumentation/kr-87/modes/count</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/outputs/elapsed-timer</property>
|
||||
<property>/instrumentation/kr-87/outputs/elapsed-timer</property>
|
||||
<step>60</step>
|
||||
<min>1.0</min>
|
||||
<max>3599.0</max>
|
||||
|
@ -819,18 +819,18 @@ properties' values.
|
|||
<condition>
|
||||
<and>
|
||||
<not-equals>
|
||||
<property>/radios/kr-87/modes/count</property>
|
||||
<property>/instrumentation/kr-87/modes/count</property>
|
||||
<value>2</value>
|
||||
</not-equals>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/stby</property>
|
||||
<property>/instrumentation/kr-87/modes/stby</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/outputs/selected-khz</property>
|
||||
<property>/instrumentation/kr-87/outputs/selected-khz</property>
|
||||
<step>-1</step>
|
||||
<min>100</min>
|
||||
<max>1300</max>
|
||||
|
@ -849,18 +849,18 @@ properties' values.
|
|||
<condition>
|
||||
<and>
|
||||
<not-equals>
|
||||
<property>/radios/kr-87/modes/count</property>
|
||||
<property>/instrumentation/kr-87/modes/count</property>
|
||||
<value>2</value>
|
||||
</not-equals>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/stby</property>
|
||||
<property>/instrumentation/kr-87/modes/stby</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/outputs/selected-khz</property>
|
||||
<property>/instrumentation/kr-87/outputs/selected-khz</property>
|
||||
<step>1</step>
|
||||
<min>100</min>
|
||||
<max>1300</max>
|
||||
|
@ -880,18 +880,18 @@ properties' values.
|
|||
<condition>
|
||||
<and>
|
||||
<not-equals>
|
||||
<property>/radios/kr-87/modes/count</property>
|
||||
<property>/instrumentation/kr-87/modes/count</property>
|
||||
<value>2</value>
|
||||
</not-equals>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/stby</property>
|
||||
<property>/instrumentation/kr-87/modes/stby</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/outputs/selected-khz</property>
|
||||
<property>/instrumentation/kr-87/outputs/selected-khz</property>
|
||||
<step>-25</step>
|
||||
<min>100</min>
|
||||
<max>1300</max>
|
||||
|
@ -911,18 +911,18 @@ properties' values.
|
|||
<condition>
|
||||
<and>
|
||||
<not-equals>
|
||||
<property>/radios/kr-87/modes/count</property>
|
||||
<property>/instrumentation/kr-87/modes/count</property>
|
||||
<value>2</value>
|
||||
</not-equals>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/stby</property>
|
||||
<property>/instrumentation/kr-87/modes/stby</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/outputs/selected-khz</property>
|
||||
<property>/instrumentation/kr-87/outputs/selected-khz</property>
|
||||
<step>25</step>
|
||||
<min>100</min>
|
||||
<max>1300</max>
|
||||
|
@ -941,18 +941,18 @@ properties' values.
|
|||
<condition>
|
||||
<and>
|
||||
<not-equals>
|
||||
<property>/radios/kr-87/modes/count</property>
|
||||
<property>/instrumentation/kr-87/modes/count</property>
|
||||
<value>2</value>
|
||||
</not-equals>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/stby</property>
|
||||
<property>/instrumentation/kr-87/modes/stby</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/outputs/standby-khz</property>
|
||||
<property>/instrumentation/kr-87/outputs/standby-khz</property>
|
||||
<step>-1</step>
|
||||
<min>100</min>
|
||||
<max>1300</max>
|
||||
|
@ -971,18 +971,18 @@ properties' values.
|
|||
<condition>
|
||||
<and>
|
||||
<not-equals>
|
||||
<property>/radios/kr-87/modes/count</property>
|
||||
<property>/instrumentation/kr-87/modes/count</property>
|
||||
<value>2</value>
|
||||
</not-equals>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/stby</property>
|
||||
<property>/instrumentation/kr-87/modes/stby</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/outputs/standby-khz</property>
|
||||
<property>/instrumentation/kr-87/outputs/standby-khz</property>
|
||||
<step>1</step>
|
||||
<min>100</min>
|
||||
<max>1300</max>
|
||||
|
@ -1002,18 +1002,18 @@ properties' values.
|
|||
<condition>
|
||||
<and>
|
||||
<not-equals>
|
||||
<property>/radios/kr-87/modes/count</property>
|
||||
<property>/instrumentation/kr-87/modes/count</property>
|
||||
<value>2</value>
|
||||
</not-equals>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/stby</property>
|
||||
<property>/instrumentation/kr-87/modes/stby</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/outputs/standby-khz</property>
|
||||
<property>/instrumentation/kr-87/outputs/standby-khz</property>
|
||||
<step>-25</step>
|
||||
<min>100</min>
|
||||
<max>1300</max>
|
||||
|
@ -1033,18 +1033,18 @@ properties' values.
|
|||
<condition>
|
||||
<and>
|
||||
<not-equals>
|
||||
<property>/radios/kr-87/modes/count</property>
|
||||
<property>/instrumentation/kr-87/modes/count</property>
|
||||
<value>2</value>
|
||||
</not-equals>
|
||||
<equals>
|
||||
<property>/radios/kr-87/modes/stby</property>
|
||||
<property>/instrumentation/kr-87/modes/stby</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/outputs/standby-khz</property>
|
||||
<property>/instrumentation/kr-87/outputs/standby-khz</property>
|
||||
<step>25</step>
|
||||
<min>100</min>
|
||||
<max>1300</max>
|
||||
|
@ -1061,11 +1061,11 @@ properties' values.
|
|||
<w>8</w>
|
||||
<h>16</h>
|
||||
<condition>
|
||||
<property>/radios/kr-87/inputs/power-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/power-btn</property>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/inputs/volume</property>
|
||||
<property>/instrumentation/kr-87/inputs/volume</property>
|
||||
<step>0.1</step>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
|
@ -1091,7 +1091,7 @@ properties' values.
|
|||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/radios/kr-87/inputs/volume</property>
|
||||
<property>/instrumentation/kr-87/inputs/volume</property>
|
||||
<step>-0.1</step>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
|
@ -1108,17 +1108,17 @@ properties' values.
|
|||
<condition>
|
||||
<and>
|
||||
<less-than>
|
||||
<property>/radios/kr-87/inputs/volume</property>
|
||||
<property>/instrumentation/kr-87/inputs/volume</property>
|
||||
<value>0.01</value>
|
||||
</less-than>
|
||||
<not>
|
||||
<property>/radios/kr-87/inputs/power-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/power-btn</property>
|
||||
</not>
|
||||
</and>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/radios/kr-87/inputs/power-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/power-btn</property>
|
||||
<value type="bool">true</value>
|
||||
</binding>
|
||||
</action>
|
||||
|
@ -1133,15 +1133,15 @@ properties' values.
|
|||
<condition>
|
||||
<and>
|
||||
<less-than>
|
||||
<property>/radios/kr-87/inputs/volume</property>
|
||||
<property>/instrumentation/kr-87/inputs/volume</property>
|
||||
<value>0.01</value>
|
||||
</less-than>
|
||||
<property>/radios/kr-87/inputs/power-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/power-btn</property>
|
||||
</and>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/radios/kr-87/inputs/power-btn</property>
|
||||
<property>/instrumentation/kr-87/inputs/power-btn</property>
|
||||
<value type="bool">false</value>
|
||||
</binding>
|
||||
</action>
|
||||
|
|
|
@ -211,7 +211,7 @@ properties' values.
|
|||
<transformation>
|
||||
<type>rotation</type>
|
||||
<!--set>45</offset-->
|
||||
<property>/radios/kr-87/outputs/needle-deg</property>
|
||||
<property>/instrumentation/kr-87/outputs/needle-deg</property>
|
||||
<min>-360</min>
|
||||
<max>360</max>
|
||||
</transformation>
|
||||
|
|
|
@ -50,7 +50,7 @@ adf_working = func {
|
|||
if ( has_power < 1.0 ) {
|
||||
return 0;
|
||||
}
|
||||
if ( !getprop("/radios/kr-87/inputs/power-btn") ) {
|
||||
if ( !getprop("/instrumentation/kr-87/inputs/power-btn") ) {
|
||||
return 0;
|
||||
}
|
||||
if ( !getprop("/instrumentation/adf/serviceable") ) {
|
||||
|
@ -141,10 +141,10 @@ xpdr_working = func {
|
|||
if ( has_power < 1.0 ) {
|
||||
return 0;
|
||||
}
|
||||
if ( !getprop("/radios/kt-70/inputs/func-knob") ) {
|
||||
if ( !getprop("/instrumentation/kt-70/inputs/func-knob") ) {
|
||||
return 0;
|
||||
}
|
||||
if ( !getprop("/radios/kt-70/inputs/serviceable") ) {
|
||||
if ( !getprop("/instrumentation/kt-70/inputs/serviceable") ) {
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
|
@ -198,13 +198,13 @@ initialize_tuners = func {
|
|||
last_nav2_fine = getprop("/radios/nav[1]/inputs/fine-tuner");
|
||||
last_nav2_coarse = getprop("/radios/nav[1]/inputs/coarse-tuner");
|
||||
|
||||
last_adf_fine = getprop( "/radios/adf/inputs/fine-tuner" );
|
||||
last_adf_coarse = getprop("/radios/adf/inputs/coarse-tuner");
|
||||
last_adf_fine = getprop( "/instrumentation/kr-87/inputs/fine-tuner" );
|
||||
last_adf_coarse = getprop("/instrumentation/kr-87/inputs/coarse-tuner");
|
||||
|
||||
last_xpdr[0] = getprop( "/radios/kt-70/inputs/tuner1" );
|
||||
last_xpdr[1] = getprop( "/radios/kt-70/inputs/tuner2" );
|
||||
last_xpdr[2] = getprop( "/radios/kt-70/inputs/tuner3" );
|
||||
last_xpdr[3] = getprop( "/radios/kt-70/inputs/tuner4" );
|
||||
last_xpdr[0] = getprop( "/instrumentation/kt-70/inputs/tuner1" );
|
||||
last_xpdr[1] = getprop( "/instrumentation/kt-70/inputs/tuner2" );
|
||||
last_xpdr[2] = getprop( "/instrumentation/kt-70/inputs/tuner3" );
|
||||
last_xpdr[3] = getprop( "/instrumentation/kt-70/inputs/tuner4" );
|
||||
|
||||
tuners_inited = 1;
|
||||
}
|
||||
|
@ -463,19 +463,19 @@ do_nav2_inputs = func {
|
|||
#
|
||||
do_adf_inputs = func {
|
||||
if ( adf_working() ) {
|
||||
adf_fine = getprop( "/radios/adf/inputs/fine-tuner" );
|
||||
adf_coarse = getprop( "/radios/adf/inputs/coarse-tuner" );
|
||||
adf_count_mode = getprop( "/radios/kr-87/modes/count" );
|
||||
adf_stby_mode = getprop( "/radios/kr-87/modes/stby" );
|
||||
adf_fine = getprop( "/instrumentation/kr-87/inputs/fine-tuner" );
|
||||
adf_coarse = getprop( "/instrumentation/kr-87/inputs/coarse-tuner" );
|
||||
adf_count_mode = getprop( "/instrumentation/kr-87/modes/count" );
|
||||
adf_stby_mode = getprop( "/instrumentation/kr-87/modes/stby" );
|
||||
if ( adf_count_mode == 2 ) {
|
||||
# tune count down timer
|
||||
value = getprop( "/radios/kr-87/outputs/elapsed-timer" );
|
||||
value = getprop( "/instrumentation/kr-87/outputs/elapsed-timer" );
|
||||
} else {
|
||||
# tune frequency
|
||||
if ( adf_stby_mode == 1 ) {
|
||||
value = getprop( "/radios/kr-87/outputs/selected-khz" );
|
||||
value = getprop( "/instrumentation/kr-87/outputs/selected-khz");
|
||||
} else {
|
||||
value = getprop( "/radios/kr-87/outputs/standby-khz" );
|
||||
value = getprop( "/instrumentation/kr-87/outputs/standby-khz" );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -524,12 +524,12 @@ do_adf_inputs = func {
|
|||
last_adf_coarse = adf_coarse;
|
||||
|
||||
if ( adf_count_mode == 2 ) {
|
||||
setprop( "/radios/kr-87/outputs/elapsed-timer", value );
|
||||
setprop( "/instrumentation/kr-87/outputs/elapsed-timer", value );
|
||||
} else {
|
||||
if ( adf_stby_mode == 1 ) {
|
||||
setprop( "/radios/kr-87/outputs/selected-khz", value );
|
||||
setprop( "/instrumentation/kr-87/outputs/selected-khz", value );
|
||||
} else {
|
||||
setprop( "/radios/kr-87/outputs/standby-khz", value );
|
||||
setprop( "/instrumentation/kr-87/outputs/standby-khz", value );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -541,29 +541,29 @@ do_adf_inputs = func {
|
|||
#
|
||||
do_xpdr_inputs = func {
|
||||
# map the function knob
|
||||
raw_knob = getprop( "/radios/kt-70/inputs/raw-func-knob" );
|
||||
raw_knob = getprop( "/instrumentation/kt-70/inputs/raw-func-knob" );
|
||||
if ( raw_knob == 0 ) {
|
||||
setprop( "/radios/kt-70/inputs/func-knob", 0 );
|
||||
setprop( "/instrumentation/kt-70/inputs/func-knob", 0 );
|
||||
} elsif ( raw_knob == 1 ) {
|
||||
setprop( "/radios/kt-70/inputs/func-knob", 1 );
|
||||
setprop( "/instrumentation/kt-70/inputs/func-knob", 1 );
|
||||
} elsif ( raw_knob == 2 ) {
|
||||
setprop( "/radios/kt-70/inputs/func-knob", 2 );
|
||||
setprop( "/instrumentation/kt-70/inputs/func-knob", 2 );
|
||||
} elsif ( raw_knob == 4 ) {
|
||||
setprop( "/radios/kt-70/inputs/func-knob", 3 );
|
||||
setprop( "/instrumentation/kt-70/inputs/func-knob", 3 );
|
||||
} elsif ( raw_knob == 8 ) {
|
||||
setprop( "/radios/kt-70/inputs/func-knob", 4 );
|
||||
setprop( "/instrumentation/kt-70/inputs/func-knob", 4 );
|
||||
} elsif ( raw_knob == 16 ) {
|
||||
setprop( "/radios/kt-70/inputs/func-knob", 5 );
|
||||
setprop( "/instrumentation/kt-70/inputs/func-knob", 5 );
|
||||
}
|
||||
|
||||
if ( xpdr_working() ) {
|
||||
|
||||
xpdr[0] = getprop( "/radios/kt-70/inputs/tuner1" );
|
||||
xpdr[1] = getprop( "/radios/kt-70/inputs/tuner2" );
|
||||
xpdr[2] = getprop( "/radios/kt-70/inputs/tuner3" );
|
||||
xpdr[3] = getprop( "/radios/kt-70/inputs/tuner4" );
|
||||
xpdr[0] = getprop( "/instrumentation/kt-70/inputs/tuner1" );
|
||||
xpdr[1] = getprop( "/instrumentation/kt-70/inputs/tuner2" );
|
||||
xpdr[2] = getprop( "/instrumentation/kt-70/inputs/tuner3" );
|
||||
xpdr[3] = getprop( "/instrumentation/kt-70/inputs/tuner4" );
|
||||
|
||||
id_code = getprop( "/radios/kt-70/outputs/id-code" );
|
||||
id_code = getprop( "/instrumentation/kt-70/outputs/id-code" );
|
||||
|
||||
place = 1000;
|
||||
digit = [ 0, 0, 0, 0 ];
|
||||
|
@ -592,10 +592,10 @@ do_xpdr_inputs = func {
|
|||
while ( digit[i] < 0 ) { digit[i] = digit[i] + 8; }
|
||||
}
|
||||
|
||||
setprop( "/radios/kt-70/inputs/digit1", digit[0] );
|
||||
setprop( "/radios/kt-70/inputs/digit2", digit[1] );
|
||||
setprop( "/radios/kt-70/inputs/digit3", digit[2] );
|
||||
setprop( "/radios/kt-70/inputs/digit4", digit[3] );
|
||||
setprop( "/instrumentation/kt-70/inputs/digit1", digit[0] );
|
||||
setprop( "/instrumentation/kt-70/inputs/digit2", digit[1] );
|
||||
setprop( "/instrumentation/kt-70/inputs/digit3", digit[2] );
|
||||
setprop( "/instrumentation/kt-70/inputs/digit4", digit[3] );
|
||||
|
||||
for ( i = 0; i < 4; i = i + 1 ) {
|
||||
last_xpdr[i] = xpdr[i];
|
||||
|
|
|
@ -619,16 +619,6 @@ Started September 2000 by David Megginson, david@megginson.com
|
|||
</radials>
|
||||
</nav>
|
||||
|
||||
<kr-87>
|
||||
<inputs>
|
||||
<rotation-deg type="double">0</rotation-deg>
|
||||
</inputs>
|
||||
<outputs>
|
||||
<selected-khz type="double">379.0</selected-khz>
|
||||
<standby-khz type="double">341.0</standby-khz>
|
||||
</outputs>
|
||||
</kr-87>
|
||||
|
||||
</radios>
|
||||
|
||||
<!-- Instruments -->
|
||||
|
@ -706,6 +696,16 @@ Started September 2000 by David Megginson, david@megginson.com
|
|||
<volume-norm type="double">0.5</volume-norm>
|
||||
</adf>
|
||||
|
||||
<kr-87>
|
||||
<inputs>
|
||||
<rotation-deg type="double">0</rotation-deg>
|
||||
</inputs>
|
||||
<outputs>
|
||||
<selected-khz type="double">379.0</selected-khz>
|
||||
<standby-khz type="double">341.0</standby-khz>
|
||||
</outputs>
|
||||
</kr-87>
|
||||
|
||||
</instrumentation>
|
||||
|
||||
<systems>
|
||||
|
|
Loading…
Reference in a new issue