<!--
Syd Adams
777-200LR Navigation display
-->

<PropertyList>

 <path>EFB.ac</path>

    <panel>
        <path>Aircraft/777/Models/Instruments/EFB/chart.xml</path>
        <bottom-left>
            <x-m>0.003</x-m>
            <y-m>-0.078</y-m>
            <z-m>-0.104</z-m>
        </bottom-left>
        <bottom-right>
            <x-m>0.003</x-m>
            <y-m>0.078</y-m>
            <z-m>-0.104</z-m>
        </bottom-right>
        <top-left>
            <x-m>0.003</x-m>
            <y-m>-0.078</y-m>
            <z-m>0.104</z-m>
        </top-left>
    </panel>

    <animation>
        <type>pick</type>
        <object-name>Btn.zoomin</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
            <command>property-adjust</command>
            <property>instrumentation/groundradar/range</property>
            <step>-0.1</step>
            <min>0.1</min>
            <max>10</max>
            <wrap>0</wrap>
        </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>Btn.zoomout</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
            <command>property-adjust</command>
            <property>instrumentation/groundradar/range</property>
            <step>0.1</step>
            <min>0.1</min>
            <max>10</max>
            <wrap>0</wrap>
        </binding>
        </action>
    </animation>
    
    <!--animation>
        <type>pick</type>
        <object-name>Btn.menu</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>setprop("aaa/efb/mode", "main_menu");</script>
            </binding>
        </action>
    </animation>
	
    <animation>
        <type>pick</type>
        <object-name>PWR_btn</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>
				if (getprop("aaa/efb/mode")=="off")
				setprop("aaa/efb/mode", "main_menu")
				else
				setprop("aaa/efb/mode", "off");
				</script>
            </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>BtnRH.001</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>
				if (getprop("aaa/efb/mode")=="main_menu")
				setprop("aaa/efb/mode", "video_surveillance");
				</script>
            </binding>
        </action>
    </animation>	
	
    <animation>
        <type>pick</type>
        <object-name>BtnLH.006</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>
				if (getprop("aaa/efb/mode")=="main_menu")
				setprop("aaa/efb/mode", "operations_man1");
				</script>
            </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>BtnLH.006</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>
				if (getprop("aaa/efb/mode")=="operations_man13")
				setprop("aaa/efb/mode", "operations_man12");
				else if (getprop("aaa/efb/mode")=="operations_man12")
				setprop("aaa/efb/mode", "operations_man11");
				else if (getprop("aaa/efb/mode")=="operations_man11")
				setprop("aaa/efb/mode", "operations_man10");
				else if (getprop("aaa/efb/mode")=="operations_man10")
				setprop("aaa/efb/mode", "operations_man9");
				else if (getprop("aaa/efb/mode")=="operations_man9")
				setprop("aaa/efb/mode", "operations_man8");
				else if (getprop("aaa/efb/mode")=="operations_man8")
				setprop("aaa/efb/mode", "operations_man7");
				else if (getprop("aaa/efb/mode")=="operations_man7")
				setprop("aaa/efb/mode", "operations_man6");
				else if (getprop("aaa/efb/mode")=="operations_man6")
				setprop("aaa/efb/mode", "operations_man5");
				else if (getprop("aaa/efb/mode")=="operations_man5")
				setprop("aaa/efb/mode", "operations_man4");
				else if (getprop("aaa/efb/mode")=="operations_man4")
				setprop("aaa/efb/mode", "operations_man3");
				else if (getprop("aaa/efb/mode")=="operations_man3")
				setprop("aaa/efb/mode", "operations_man2");
				else if (getprop("aaa/efb/mode")=="operations_man2")
				setprop("aaa/efb/mode", "operations_man1");
				
				else if (getprop("aaa/efb/mode")=="main_menu")
				setprop("aaa/efb/mode", "operations_man1");
				
				if (getprop("aaa/efb/mode")=="startup3")
				setprop("aaa/efb/mode", "startup2");
				else if (getprop("aaa/efb/mode")=="startup2")
				setprop("aaa/efb/mode", "startup1");	

				if (getprop("aaa/efb/mode")=="cl8")
				setprop("aaa/efb/mode", "cl7");
				else if (getprop("aaa/efb/mode")=="cl7")
				setprop("aaa/efb/mode", "cl6");
				else if (getprop("aaa/efb/mode")=="cl6")
				setprop("aaa/efb/mode", "cl5");
				else if (getprop("aaa/efb/mode")=="cl5")
				setprop("aaa/efb/mode", "cl4");
				else if (getprop("aaa/efb/mode")=="cl4")
				setprop("aaa/efb/mode", "cl3");
				else if (getprop("aaa/efb/mode")=="cl3")
				setprop("aaa/efb/mode", "cl2");
				else if (getprop("aaa/efb/mode")=="cl2")
				setprop("aaa/efb/mode", "cl1");				
				</script>
            </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>BtnLH.007</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>
				if (getprop("aaa/efb/mode")=="operations_man1")
				setprop("aaa/efb/mode", "operations_man2");
				else if (getprop("aaa/efb/mode")=="operations_man2")
				setprop("aaa/efb/mode", "operations_man3");
				else if (getprop("aaa/efb/mode")=="operations_man3")
				setprop("aaa/efb/mode", "operations_man4");
				else if (getprop("aaa/efb/mode")=="operations_man4")
				setprop("aaa/efb/mode", "operations_man5");
				else if (getprop("aaa/efb/mode")=="operations_man5")
				setprop("aaa/efb/mode", "operations_man6");
				else if (getprop("aaa/efb/mode")=="operations_man6")
				setprop("aaa/efb/mode", "operations_man7");
				else if (getprop("aaa/efb/mode")=="operations_man7")
				setprop("aaa/efb/mode", "operations_man8");
				else if (getprop("aaa/efb/mode")=="operations_man8")
				setprop("aaa/efb/mode", "operations_man9");
				else if (getprop("aaa/efb/mode")=="operations_man9")
				setprop("aaa/efb/mode", "operations_man10");
				else if (getprop("aaa/efb/mode")=="operations_man10")
				setprop("aaa/efb/mode", "operations_man11");
				else if (getprop("aaa/efb/mode")=="operations_man11")
				setprop("aaa/efb/mode", "operations_man12");
				else if (getprop("aaa/efb/mode")=="operations_man12")
				setprop("aaa/efb/mode", "operations_man13");

				if (getprop("aaa/efb/mode")=="startup1")
				setprop("aaa/efb/mode", "startup2");
				else if (getprop("aaa/efb/mode")=="startup2")
				setprop("aaa/efb/mode", "startup3");	

				if (getprop("aaa/efb/mode")=="cl1")
				setprop("aaa/efb/mode", "cl2");
				else if (getprop("aaa/efb/mode")=="cl2")
				setprop("aaa/efb/mode", "cl3");
				else if (getprop("aaa/efb/mode")=="cl3")
				setprop("aaa/efb/mode", "cl4");
				else if (getprop("aaa/efb/mode")=="cl4")
				setprop("aaa/efb/mode", "cl5");
				else if (getprop("aaa/efb/mode")=="cl5")
				setprop("aaa/efb/mode", "cl6");
				else if (getprop("aaa/efb/mode")=="cl6")
				setprop("aaa/efb/mode", "cl7");
				else if (getprop("aaa/efb/mode")=="cl7")
				setprop("aaa/efb/mode", "cl8");				
				</script>
            </binding>
        </action>
    </animation>		
	
    <animation>
        <type>pick</type>
        <object-name>BtnRH.005</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>
				if (getprop("aaa/efb/mode")=="main_menu")
				setprop("aaa/efb/mode", "startup1");
				</script>
            </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>BtnLH.004</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>
				if (getprop("aaa/efb/mode")=="main_menu")
				setprop("aaa/efb/mode", "airport_display");
				</script>
            </binding>
        </action>
    </animation>

    <animation>
        <type>pick</type>
        <object-name>BtnRH.006</object-name>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>nasal</command>
                <script>
				if (getprop("aaa/efb/mode")=="main_menu")
				setprop("aaa/efb/mode", "cl1");
				</script>
            </binding>
        </action>
    </animation-->
	
</PropertyList>
