1
0
Fork 0

Fixed nav and gs warning flags in a few instruments

This commit is contained in:
sydadams 2007-04-12 04:40:03 +00:00
parent b960dd4616
commit ef4405819a
5 changed files with 337 additions and 474 deletions

View file

@ -279,10 +279,15 @@ Syd Adams
<type>select</type>
<object-name>nav-warning</object-name>
<condition>
<equals>
<property>instrumentation/nav/in-range</property>
<value>false</value>
</equals>
<or>
<not>
<property>instrumentation/nav/in-range</property>
</not>
<less-than>
<property>systems/electrical/outputs/nav</property>
<value>0.2</value>
</less-than>
</or>
</condition>
</animation>
@ -302,12 +307,12 @@ Syd Adams
<object-name>GSneedle</object-name>
<condition>
<and>
<property>instrumentation/nav/has-gs</property>
<less-than>
<property>instrumentation/nav/gs-distance</property>
<value>30000.0</value>
</less-than>
<property>instrumentation/nav/has-gs</property>
</and>
</and>
</condition>
</animation>

View file

@ -18,59 +18,50 @@ Syd Adams
<object-name>KI206.locneedle</object-name>
<object-name>KI206.gsneedle</object-name>
<object-name>KI206.knob</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>0.1</value>
</greater-than>
</condition>
<emission>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
<emission>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>KI206.gsflag</object-name>
<object-name>KI206.toflag</object-name>
<object-name>KI206.fromflag</object-name>
<object-name>KI206.navflag</object-name>
<object-name>KI206.face</object-name>
<object-name>KI206card</object-name>
<object-name>KI206.locneedle</object-name>
<object-name>KI206.gsneedle</object-name>
<object-name>KI206.knob</object-name>
<condition>
<less-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>0.1</value>
</less-than>
</condition>
<emission>
<red>0.0</red>
<green>0.0</green>
<blue>0.0</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>select</type>
<object-name>KI206.navflag</object-name>
<condition>
<or>
<not>
<property>instrumentation/nav/data-is-valid</property>
</not>
<less-than>
<property>systems/electrical/outputs/nav</property>
<value>0.1</value>
</less-than>
<not>
<property>instrumentation/nav/in-range</property>
</not>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>KI206.gsflag</object-name>
<condition>
<and>
<equals>
<property>instrumentation/nav/has-gs</property>
<value>true</value>
</equals>
<equals>
<property>instrumentation/nav/in-range</property>
<value>true</value>
</equals>
</and>
<or>
<not>
<property>instrumentation/nav/has-gs</property>
</not>
<less-than>
<property>systems/electrical/outputs/nav</property>
<value>0.1</value>
</less-than>
<greater-than>
<property>instrumentation/nav/in-range</property>
<value>30000</value>
</greater-than>
</or>
</condition>
</animation>
@ -78,32 +69,26 @@ Syd Adams
<type>select</type>
<object-name>KI206.toflag</object-name>
<condition>
<equals>
<property>instrumentation/nav/to-flag</property>
<value>true</value>
</equals>
</condition>
<property>instrumentation/nav/to-flag</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>KI206.fromflag</object-name>
<condition>
<equals>
<property>instrumentation/nav/from-flag</property>
<value>true</value>
</equals>
</condition>
<property>instrumentation/nav/from-flag</property>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>KI206card</object-name>
<property>orientation/heading-magnetic-deg</property>
<property>instrumentation/altimeter/indicated-heading-deg</property>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
@ -112,14 +97,14 @@ Syd Adams
<object-name>KI206.locneedle</object-name>
<property>instrumentation/nav/heading-needle-deflection</property>
<interpolation>
<entry><ind>-10.0</ind><dep>-0.0113</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>10.0</ind><dep>0.0113</dep></entry>
<entry><ind>-10.0</ind><dep>-0.0113</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>10.0</ind><dep>0.0113</dep></entry>
</interpolation>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
</animation>
@ -128,16 +113,16 @@ Syd Adams
<object-name>KI206.gsneedle</object-name>
<property>instrumentation/nav/gs-needle-deflection</property>
<interpolation>
<entry><ind>-9999.0</ind><dep>-0.0113</dep></entry>
<entry><ind>-10.0</ind><dep>-0.0113</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>10.0</ind><dep>0.0113</dep></entry>
<entry><ind>9999.0</ind><dep>0.0113</dep></entry>
<entry><ind>-9999.0</ind><dep>-0.0113</dep></entry>
<entry><ind>-10.0</ind><dep>-0.0113</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>10.0</ind><dep>0.0113</dep></entry>
<entry><ind>9999.0</ind><dep>0.0113</dep></entry>
</interpolation>
<axis>
<x>0.0</x>
<y>0.0</y>
<z>1.0</z>
<x>0.0</x>
<y>0.0</y>
<z>1.0</z>
</axis>
</animation>

View file

@ -14,41 +14,14 @@ Syd Adams
<object-name>KI227.needle</object-name>
<object-name>KI227.knob</object-name>
<object-name>KI227.face</object-name>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>0.1</value>
</greater-than>
</condition>
<emission>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>KI227card</object-name>
<object-name>KI227.needle</object-name>
<object-name>KI227.knob</object-name>
<object-name>KI227.face</object-name>
<condition>
<less-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>0.1</value>
</less-than>
</condition>
<emission>
<red>0.0</red>
<green>0.0</green>
<blue>0.0</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227card</object-name>

View file

@ -1,22 +1,20 @@
<?xml version="1.0"?>
<!--
KY196 Comm radio hotspots
KY196 Comm radio PLIB hotspots
-->
<PropertyList>
<name>comm1 hotspots</name>
<w-base>160</w-base>
<h-base>36</h-base>
<w>160</w>
<h>36</h>
<name>comm1 hotspots</name>
<w-base>160</w-base>
<h-base>36</h-base>
<w>160</w>
<h>36</h>
<layers>
</layers>
<actions>
<layers>
</layers>
<actions>
<!-- ************************ COMM 1 *****************-->
<!--
<action>
<name>bezel outline</name>
@ -27,183 +25,135 @@ KY196 Comm radio hotspots
<h>36</h>
</action>
-->
<action>
<name>com frequency decrease (decimal part)</name>
<button>0</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>-0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com frequency decrease (decimal part)</name>
<button>0</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>-0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com frequency decrease (integer part)</name>
<button>1</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com frequency decrease (integer part)</name>
<button>1</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com frequency increase (decimal part)</name>
<button>0</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com frequency increase (decimal part)</name>
<button>0</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com frequency increase (integer part)</name>
<button>1</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com frequency increase (integer part)</name>
<button>1</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com volume increase</name>
<button>0</button>
<x>40</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>/instrumentation/comm/serviceable</property>
<value>true</value>
</equals>
</condition>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/volume</property>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>com volume increase</name>
<button>0</button>
<x>40</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>0</value>
</binding>
</action>
<action>
<name>com power on</name>
<button>0</button>
<x>40</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>/instrumentation/comm/serviceable</property>
<value>false</value>
</equals>
</condition>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm/serviceable</property>
<value>true</value>
</binding>
</action>
<action>
<name>com volume decrease</name>
<button>0</button>
<x>34</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>-0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>0</value>
</binding>
</action>
<action>
<name>com volume decrease</name>
<button>0</button>
<x>34</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<greater-than>
<property>/instrumentation/comm/volume</property>
<value>0.0</value>
</greater-than>
</condition>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/volume</property>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>com power off</name>
<button>0</button>
<x>34</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>/instrumentation/comm/volume</property>
<value>0</value>
</equals>
</condition>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm/serviceable</property>
<value>false</value>
</binding>
</action>
<action>
<name>swap com1 frequencies</name>
<button>0</button>
<x>-30</x>
<y>-14</y>
<w>12</w>
<h>6</h>
<binding>
<command>property-swap</command>
<property>/instrumentation/comm/frequencies/selected-mhz</property>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
</binding>
</action>
</actions>
<action>
<name>swap com1 frequencies</name>
<button>0</button>
<x>-30</x>
<y>-14</y>
<w>12</w>
<h>6</h>
<binding>
<command>property-swap</command>
<property>/instrumentation/comm/frequencies/selected-mhz</property>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -1,20 +1,20 @@
<?xml version="1.0"?>
<!--
KY196 Comm2 radio hotspots
KY196 Comm2 radio PLIB hotspots
Syd Adams
-->
<PropertyList>
<name>comm2 hotspots</name>
<w-base>160</w-base>
<h-base>36</h-base>
<w>160</w>
<h>36</h>
<name>comm2 hotspots</name>
<w-base>160</w-base>
<h-base>36</h-base>
<w>160</w>
<h>36</h>
<actions>
<actions>
<!-- ************************ COMM 2 *****************-->
<!--
<action>
<name>bezel outline</name>
@ -26,183 +26,133 @@ KY196 Comm2 radio hotspots
</action>
-->
<action>
<name>com2 frequency decrease (decimal part)</name>
<button>0</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>-0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency decrease (decimal part)</name>
<button>0</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>-0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency decrease (integer part)</name>
<button>1</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency decrease (integer part)</name>
<button>1</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency increase (decimal part)</name>
<button>0</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency increase (decimal part)</name>
<button>0</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency increase (integer part)</name>
<button>1</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency increase (integer part)</name>
<button>1</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 volume increase</name>
<button>0</button>
<x>40</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>1</value>
</binding>
</action>
<action>
<name>com volume decrease</name>
<button>0</button>
<x>34</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>-0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>1</value>
</binding>
</action>
<action>
<name>com2 volume increase</name>
<button>0</button>
<x>40</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>/instrumentation/comm[1]/serviceable</property>
<value>true</value>
</equals>
</condition>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/volume</property>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>com2 power on</name>
<button>0</button>
<x>40</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>/instrumentation/comm[1]/serviceable</property>
<value>false</value>
</equals>
</condition>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm[1]/serviceable</property>
<value>true</value>
</binding>
</action>
<action>
<name>com2 volume decrease</name>
<button>0</button>
<x>34</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<greater-than>
<property>/instrumentation/comm[1]/volume</property>
<value>0.0</value>
</greater-than>
</condition>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/volume</property>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>com2 power off</name>
<button>0</button>
<x>34</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<condition>
<equals>
<property>/instrumentation/comm[1]/volume</property>
<value>0</value>
</equals>
</condition>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm[1]/serviceable</property>
<value>false</value>
</binding>
</action>
<action>
<name>swap com2 frequencies</name>
<button>0</button>
<x>-30</x>
<y>-14</y>
<w>12</w>
<h>6</h>
<binding>
<command>property-swap</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
</binding>
</action>
</actions>
<action>
<name>swap com2 frequencies</name>
<button>0</button>
<x>-30</x>
<y>-14</y>
<w>12</w>
<h>6</h>
<binding>
<command>property-swap</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
</binding>
</action>
</actions>
</PropertyList>