<?xml version="1.0"?>

<!--
I-NEMO
777-Seattle, EFB Display
APR 2014
-->

<PropertyList>

<path>EFB.ac</path>

<Mickey include="EFB_Buttons.xml" omit-node="y"/>
<Goofy include="EFB_Cnv_Keyboard.xml" omit-node="y"/>
<Pluto include="EFB_Chart_Full_Keyboard.xml" omit-node="y"/>
<Donald_Duck include="EFB_Chart_ZoomPan.xml" omit-node="y"/>
<Uncle_Scrooge include="EFB_WorldMap.xml" omit-node="y"/>
<Beagle_Boys include="EFB_Display_Lines.xml" omit-node="y"/>


<effect>
        <inherits-from>Effects/model-transparent</inherits-from>
        <object-name>Lettering_EFB</object-name>
        <object-name>Lettering_Btn</object-name>
        <object-name>Display</object-name>
        <object-name>Chart_1</object-name>		
        <object-name>Chart_1_Rot</object-name>		
        <object-name>Chart_2</object-name>
        <object-name>Chart_4</object-name>
        <object-name>Display_Keyboard</object-name>
        <object-name>Display_Ovlay_1</object-name>
        <object-name>LED_ON</object-name>

<!--
        <object-name>Chart_SEL_1</object-name>
        <object-name>Chart_SEL_2</object-name>
        <object-name>Chart_SEL_3</object-name>
        <object-name>Charts_APT</object-name>
        <object-name>Charts_IAP</object-name>
        <object-name>Charts_SID</object-name>
        <object-name>Charts_STAR</object-name>

        <object-name>DRC_MarkerL</object-name>
        <object-name>DRC_MarkerR</object-name>
        <object-name>IN_1</object-name>
        <object-name>IN_2</object-name>
        <object-name>IN_3</object-name>
        <object-name>IN_4</object-name>
        <object-name>IN_5</object-name>
        <object-name>IN_Marker</object-name>
        <object-name>K_MSG</object-name>
        <object-name>OUT_1</object-name>
        <object-name>OUT_2</object-name>
        <object-name>OUT_3</object-name>
        <object-name>OUT_4</object-name>
        <object-name>OUT_5</object-name>
        <object-name>OUT_Marker</object-name>
-->
        <object-name>ProcManual</object-name>		
        <object-name>airportmarker</object-name>
        <object-name>marker</object-name>
        <object-name>worldmap</object-name>
        <object-name>worldmap2</object-name>
</effect>

<!-- Screen Display switches On when there's atleast 9 volts of power -->

	<animation>
		<type>select</type>
		<object-name>Display</object-name>
		<object-name>LED_ON</object-name>
		<object-name>worldmap</object-name>
		<object-name>airportmarker</object-name>
		<object-name>Chart</object-name>
		<condition>
			<greater-than>
				<property>systems/electrical/CPT-FLT-INST</property>
				<value>9</value>
			</greater-than>
		</condition>
	</animation>	

    <animation>
        <type>material</type>
        <object-name>Lettering_EFB</object-name>
        <object-name>Lettering_Btn</object-name>
        <condition>
             <greater-than>
                <property>systems/electrical/CPT-FLT-INST</property>
                <value>24.0</value>
             </greater-than>
             <greater-than>
                <property>/sim/time/sun-angle-rad</property>
                <value>1.70</value>
             </greater-than>
        </condition>
        <emission>
            <red>0.2</red>
            <green>0.8</green>
            <blue>0.2</blue>
            <factor-prop>controls/lighting/panel-flood-intencity</factor-prop>
        </emission>
    </animation>
	
<!-- TEXT COLOR -->

<animation>
        <type>material</type>
        <object-name>text</object-name>
		<diffuse>
			<red-prop>/instrumentation/efb/text-color</red-prop>
			<blue-prop>/instrumentation/efb/text-color</blue-prop>
			<green-prop>/instrumentation/efb/text-color</green-prop>
		</diffuse>
		<emission>
			<red-prop>/instrumentation/efb/text-color</red-prop>
			<blue-prop>/instrumentation/efb/text-color</blue-prop>
			<green-prop>/instrumentation/efb/text-color</green-prop>
		</emission>
 </animation>
	
<!-- AIRPORT/CHART - CHART TYPE SELECTION -"VIRTUAL" KEYBOARD -->

    <animation>
        <type>pick</type>
        <object-name>Charts_STAR</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-cycle</command>
                <property>/instrumentation/efb/VK_Chart_Type</property>
				<value>STAR</value>
            </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>Charts_IAP</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-cycle</command>
                <property>/instrumentation/efb/VK_Chart_Type</property>
				<value>IAP</value>
            </binding>
        </action>
    </animation>
	
    <animation>
        <type>pick</type>
        <object-name>Charts_SID</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-cycle</command>
                <property>/instrumentation/efb/VK_Chart_Type</property>
				<value>SID</value>
            </binding>
        </action>
    </animation>
	
	 <animation>
        <type>pick</type>
        <object-name>Charts_APT</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-cycle</command>
                <property>/instrumentation/efb/VK_Chart_Type</property>
				<value>APT</value>
            </binding>
        </action>
    </animation>

<!-- CONVERSION - "VIRTUAL" KEYBOARD Selectors -->

	<animation>
        <type>pick</type>
        <object-name>IN_1</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-cycle</command>
                <property>/instrumentation/efb/VK_IN_Marker</property>
				<value>1</value>
		    </binding>
        </action>
     </animation>
	
    <animation>
        <type>pick</type>
        <object-name>IN_2</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-cycle</command>
                <property>/instrumentation/efb/VK_IN_Marker</property>
				<value>2</value>
            </binding>
        </action>
    </animation>
	
	<animation>
        <type>pick</type>
        <object-name>IN_3</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-cycle</command>
                <property>/instrumentation/efb/VK_IN_Marker</property>
				<value>3</value>
            </binding>
        </action>
    </animation>
	
	<animation>
        <type>pick</type>
        <object-name>IN_4</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-cycle</command>
                <property>/instrumentation/efb/VK_IN_Marker</property>
				<value>4</value>
            </binding>
        </action>
    </animation>
	
	<animation>
        <type>pick</type>
        <object-name>IN_5</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-cycle</command>
                <property>/instrumentation/efb/VK_IN_Marker</property>
				<value>5</value>
            </binding>
        </action>
    </animation>
	
    <animation>
        <type>pick</type>
        <object-name>OUT_1</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-cycle</command>
                <property>/instrumentation/efb/VK_OUT_Marker</property>
				<value>1</value>
            </binding>
        </action>
    </animation>
	
	<animation>
        <type>pick</type>
        <object-name>OUT_2</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-cycle</command>
                <property>/instrumentation/efb/VK_OUT_Marker</property>
				<value>2</value>
            </binding>
        </action>
    </animation>
	
	<animation>
        <type>pick</type>
        <object-name>OUT_3</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-cycle</command>
                <property>/instrumentation/efb/VK_OUT_Marker</property>
				<value>3</value>
            </binding>
        </action>
    </animation>
	
	<animation>
        <type>pick</type>
        <object-name>OUT_4</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-cycle</command>
                <property>/instrumentation/efb/VK_OUT_Marker</property>
				<value>4</value>				
            </binding>
        </action>
    </animation>
	
	<animation>
        <type>pick</type>
        <object-name>OUT_5</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-cycle</command>
                <property>/instrumentation/efb/VK_OUT_Marker</property>
				<value>5</value>
            </binding>
        </action>
    </animation>

<!-- INPUT/OUPUT Markers Selection -->

       <animation>
          <name>Move-IN_Marker</name>
          <type>translate</type>
          <object-name>IN_Marker</object-name>
          <property>/instrumentation/efb/VK_IN_Marker</property>
          <interpolation>
             <entry><ind>1</ind><dep>0.0</dep></entry>
             <entry><ind>2</ind><dep>-0.0122</dep></entry>
             <entry><ind>3</ind><dep>-0.0243</dep></entry>
             <entry><ind>4</ind><dep>-0.0365</dep></entry>
             <entry><ind>5</ind><dep>-0.0487</dep></entry>
          </interpolation>
          <axis>
             <x>0</x>
             <y>0</y>
             <z>1</z>
          </axis>
       </animation>

       <animation>
          <name>Move-OUT_Marker</name>
          <type>translate</type>
          <object-name>OUT_Marker</object-name>
          <property>/instrumentation/efb/VK_OUT_Marker</property>
          <interpolation>
             <entry><ind>1</ind><dep>0.0</dep></entry>
             <entry><ind>2</ind><dep>-0.0122</dep></entry>
             <entry><ind>3</ind><dep>-0.0243</dep></entry>
             <entry><ind>4</ind><dep>-0.0365</dep></entry>
             <entry><ind>5</ind><dep>-0.0487</dep></entry>
          </interpolation>
          <axis>
             <x>0</x>
             <y>0</y>
             <z>1</z>
          </axis>
       </animation>

<!-- INPUT/OUPUT DRC Marker Selection -->


       <animation>
          <name>Move_DRC_MarkerL</name>
          <type>translate</type>
          <object-name>DRC_MarkerL</object-name>
          <property>/instrumentation/efb/VK_DRC_MarkerL</property>
          <interpolation>
             <entry><ind>1</ind><dep>0.0</dep></entry>
             <entry><ind>2</ind><dep>-0.0246</dep></entry>
             <entry><ind>3</ind><dep>-0.0493</dep></entry>
          </interpolation>
          <axis>
             <x>0</x>
             <y>0</y>
             <z>1</z>
          </axis>
       </animation>

       <animation>
          <name>Move_DRC_MarkerR</name>
          <type>translate</type>
          <object-name>DRC_MarkerR</object-name>
          <property>/instrumentation/efb/VK_DRC_MarkerR</property>
          <interpolation>
             <entry><ind>1</ind><dep>0.0</dep></entry>
             <entry><ind>2</ind><dep>-0.0246</dep></entry>
          </interpolation>
          <axis>
             <x>0</x>
             <y>0</y>
             <z>1</z>
          </axis>
       </animation>
	   
<!-- Page Selection -->

	<animation>
		<type>select</type>
		<object-name>Display</object-name>
		<condition>
			<or>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>MENU</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>VIDEO</value>
				</equals>	
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>DOCUMENTS</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>PERFORMANCE</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>IDENT</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>SYSTEMS</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>CHECKLISTS</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>INITIALIZE</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES_CNV_SPD</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES_CNV_LNG</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES_CNV_WGT</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES_CNV_TMP</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES_CNV_VLM</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES_CNV_TMZ</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES_DESC_RATE</value>
				</equals>				
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>APT INFO</value>
				</equals>				
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>MONITOR</value>
				</equals>				
			</or>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>Full_Keyboard</object-name>
		<condition>
			<equals>
				<property>/instrumentation/efb/page</property>
				<value>CHARTS_KEYBOARD</value>
			</equals>
		</condition>
	</animation>

	<animation>
		<type>select</type>
		<object-name>Cnv_Keyboard</object-name>
		<condition>
			<or>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES_CNV_SPD</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES_CNV_LNG</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES_CNV_WGT</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES_CNV_TMP</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES_CNV_VLM</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES_CNV_TMZ</value>
				</equals>
				<equals>
					<property>/instrumentation/efb/page</property>
					<value>UTILITIES_DESC_RATE</value>
				</equals>				
			</or>
		</condition>
	</animation>	
	
	<animation>
		<type>select</type>
		<object-name>Display_Keyboard</object-name>
		<condition>
			<equals>
				<property>/instrumentation/efb/page</property>
				<value>CHARTS_KEYBOARD</value>
			</equals>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>K_MSG</object-name>		
		<condition>
			<equals>
				<property>/instrumentation/efb/page</property>
				<value>UTILITIES_DESC_RATE</value>
			</equals>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>DRC_MarkerL</object-name>		
		<condition>
			<greater-than>
				<property>/instrumentation/efb/VK_DRC_MarkerL</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>DRC_MarkerR</object-name>		
		<condition>
			<greater-than>
				<property>/instrumentation/efb/VK_DRC_MarkerR</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>	
	
	<animation>
		<type>select</type>
		<object-name>Chart_SEL_1</object-name>
		<object-name>Chart_SEL_2</object-name>
		<object-name>Chart_SEL_3</object-name>		
		<condition>
			<equals>
				<property>/instrumentation/efb/chart/Status</property>
				<value>ON</value>
			</equals>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>Chart_1</object-name>
		<object-name>Chart_1_Rot</object-name>
		<object-name>Display_Ovlay_1</object-name>
		<condition>
			<equals>
				<property>/instrumentation/efb/page</property>
				<value>CHARTS</value>
			</equals>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>Chart_2</object-name>
		<condition>
			<equals>
				<property>/instrumentation/efb/chart/zoom-in</property>
				<value>2</value>
			</equals>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>Chart_4</object-name>
		<condition>
			<equals>
				<property>/instrumentation/efb/chart/zoom-in</property>
				<value>4</value>
			</equals>
		</condition>
	</animation>

	<animation>
		<type>select</type>
		<object-name>Charts_STAR</object-name>
		<object-name>Charts_IAP</object-name>
		<object-name>Charts_SID</object-name>
		<object-name>Charts_APT</object-name>		
		<condition>
			<equals>
				<property>/instrumentation/efb/chart/Status</property>
				<value>ON</value>
			</equals>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>Display_Keyboard_CNV</object-name>
		<object-name>IN_Marker</object-name>
		<object-name>OUT_Marker</object-name>
		<condition>
		<or>
			<equals>
				<property>/instrumentation/efb/page</property>
				<value>UTILITIES_CNV_SPD</value>
			</equals>
			<equals>
				<property>/instrumentation/efb/page</property>
				<value>UTILITIES_CNV_LNG</value>
			</equals>
			<equals>
				<property>/instrumentation/efb/page</property>
				<value>UTILITIES_CNV_WGT</value>
			</equals>
			<equals>
				<property>/instrumentation/efb/page</property>
				<value>UTILITIES_CNV_TMP</value>
			</equals>
			<equals>
				<property>/instrumentation/efb/page</property>
				<value>UTILITIES_CNV_VLM</value>
			</equals>
-->		</or>			
		</condition>
	</animation>
	
		
<!-- Page Name -->

	<text><name>text</name>
		<offsets>
			<x-m>-0.085</x-m>
			<y-m>0</y-m>
			<z-m>-0.001</z-m>
			<heading-deg>90</heading-deg><roll-deg>90</roll-deg>
		</offsets>
		<alignment>center-center</alignment>
		<axis-alignment>xy-plane</axis-alignment>
		<type type="string">text-value</type>
		<format type="string">%s</format>
		<property>/instrumentation/efb/page</property>
  <truncate type="bool">false</truncate>
  <font type="string">Helvetica.txf</font>
  <draw-text type="bool">true</draw-text>
  <draw-alignment type="bool">false</draw-alignment>
  <draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.01</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>

	<text><name>text</name>
		<offsets>
			<x-m>0.089</x-m>
			<y-m>0</y-m>
			<z-m>-0.001</z-m>
			<heading-deg>90</heading-deg><roll-deg>90</roll-deg>
		</offsets>
		<alignment>center-center</alignment>
		<axis-alignment>xy-plane</axis-alignment>
		<type type="string">text-value</type>
		<format type="string">%s</format>
		<property>/instrumentation/efb/display/input-helper</property>
  <truncate type="bool">false</truncate>
  <font type="string">Helvetica.txf</font>
  <draw-text type="bool">true</draw-text>
  <draw-alignment type="bool">false</draw-alignment>
  <draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.008</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>

<!--Chart Rotation -->

	<animation>
		<type>select</type>
		<object-name>Chart_1</object-name>
		<condition>
			<equals>
				<property>/instrumentation/efb/chart/rotation</property>
				<value>0</value>
			</equals>
		</condition>
	</animation>

	<animation>
		<type>select</type>
		<object-name>Chart_1_Rot</object-name>
		<condition>
			<equals>
				<property>/instrumentation/efb/chart/rotation</property>
				<value>1</value>
			</equals>
		</condition>
	</animation>

<!-- Display Procedures Manual -->

	<animation>
		<type>select</type>
		<object-name>ProcManual</object-name>
		<condition>
			<equals>
				<property>/instrumentation/efb/page</property>
				<value>NORM PROC MANUAL</value>
			</equals>
		</condition>
	</animation>
			
<!-- Display to Screen  -->

	<animation>
		<type>material</type>
			<object-name>Display</object-name>
			<texture-prop>sim/model/efb/page</texture-prop>
	</animation>
	
	<animation>
		<type>material</type>
			<object-name>Display_Ovlay_1</object-name>
			<texture-prop>sim/model/efb/Ovlay_1</texture-prop>
	</animation>
	
	<animation>
		<type>material</type>
			<object-name>Chart_2</object-name>
			<texture-prop>sim/model/efb/Chart_2</texture-prop>
	</animation>

	<animation>
		<type>material</type>
			<object-name>Chart_4</object-name>
			<texture-prop>sim/model/efb/Chart_4</texture-prop>
	</animation>
	
	<!-- Display to Airport Charts -->

	<animation>
        <type>material</type>
			<object-name>Chart_1</object-name>
			<object-name>Chart_1_Rot</object-name>
			<texture-prop>sim/model/efb/chart</texture-prop>
	</animation>

<!-- Procedure Manual -->

	<animation>
	  <type>textranslate</type>
	  <object-name>ProcManual</object-name>
		<property>/instrumentation/efb/manual-page</property>
		<factor>1</factor>
		<axis>
		 <x>0</x>
		 <y>-1</y>
		 <z>0</z>
	   </axis>
	</animation>
	
<!-- Page Symbols -->

	<animation>
		<type>select</type>
		<object-name>worldmap</object-name>
		<object-name>airportmarker</object-name>
		<condition>
			<equals>
				<property>/instrumentation/efb/page</property>
				<value>GPS POSITION</value>
			</equals>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>worldmap2</object-name>
		<object-name>marker</object-name>
		<condition>
			<equals>
				<property>/instrumentation/efb/page</property>
				<value>FLIGHT POSITION</value>
			</equals>
		</condition>
	</animation>	

</PropertyList>