Merge branch 'master' of github.com:it0uchpods/A320Family

This commit is contained in:
Joshua Davidson 2017-07-31 18:13:20 -04:00
commit 954d19feb6
12 changed files with 4313 additions and 11 deletions

View file

@ -0,0 +1,831 @@
<?xml version="1.0"?>
<!--
#######################################
# Copyright (c) A3XX Development Team #
#######################################
-->
<PropertyList>
<path>EMPTY.ac</path>
<text>
<name>page</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.0</y-m>
<z-m>0.083</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">PRINT FUNCTION 1/2</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>page</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.04</y-m>
<z-m>0.083</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">&lt;-&gt;</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>manual</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.043</y-m>
<z-m>0.0765</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">MANUAL</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0040</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>center1</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">F-PLN INIT</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print1R</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.0435</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">PRINT</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>printstar1</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.045</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">*</format>
<truncate type="bool">false</truncate>
<font type="string">helvetica_medium.txf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>center2</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0</y-m>
<z-m>0.061</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">TO DATA</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print2R</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.0435</y-m>
<z-m>0.061</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">PRINT</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>printstar2</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.045</y-m>
<z-m>0.061</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">*</format>
<truncate type="bool">false</truncate>
<font type="string">helvetica_medium.txf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>center3</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0</y-m>
<z-m>0.0505</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">WIND DATA</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print3R</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.0435</y-m>
<z-m>0.0505</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">PRINT</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>printstar3</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.045</y-m>
<z-m>0.0505</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">*</format>
<truncate type="bool">false</truncate>
<font type="string">helvetica_medium.txf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print1L</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.0428</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">NO</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print1L2</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.0428</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">YES</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>printstar4</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.045</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">*</format>
<truncate type="bool">false</truncate>
<font type="string">helvetica_medium.txf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print2L</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.0428</y-m>
<z-m>0.061</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">NO</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print2L2</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.0428</y-m>
<z-m>0.061</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">YES</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>printstar5</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.045</y-m>
<z-m>0.061</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">*</format>
<truncate type="bool">false</truncate>
<font type="string">helvetica_medium.txf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print3L</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.0428</y-m>
<z-m>0.0505</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">NO</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print3L2</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.0428</y-m>
<z-m>0.0505</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">YES</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>printstar6</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.045</y-m>
<z-m>0.0505</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">*</format>
<truncate type="bool">false</truncate>
<font type="string">helvetica_medium.txf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>auto</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.043</y-m>
<z-m>0.0765</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">AUTO</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0040</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>return</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.045</y-m>
<z-m>0.0190</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">&lt;RETURN</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>aoc</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.041</y-m>
<z-m>0.0230</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">AOC</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0040</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>aoc2</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.043</y-m>
<z-m>0.0190</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">FUNCTION&gt;</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<animation>
<type>select</type>
<object-name>printstar4</object-name>
<object-name>print1L</object-name>
<condition>
<not>
<property>FMGC/print/mcdu/page1/L1auto</property>
</not>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>printstar5</object-name>
<object-name>print2L</object-name>
<condition>
<not>
<property>FMGC/print/mcdu/page1/L2auto</property>
</not>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>printstar6</object-name>
<object-name>print3L</object-name>
<condition>
<not>
<property>FMGC/print/mcdu/page1/L3auto</property>
</not>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>print1L2</object-name>
<condition>
<equals>
<property>FMGC/print/mcdu/page1/L1auto</property>
<value>1</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>print2L2</object-name>
<condition>
<equals>
<property>FMGC/print/mcdu/page1/L2auto</property>
<value>1</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>print3L2</object-name>
<condition>
<equals>
<property>FMGC/print/mcdu/page1/L3auto</property>
<value>1</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>printstar1</object-name>
<condition>
<and>
<not><property>FMGC/print/mcdu/page1/R1req</property></not>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>printstar2</object-name>
<condition>
<and>
<not><property>FMGC/print/mcdu/page1/R2req</property></not>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>printstar3</object-name>
<condition>
<and>
<not><property>FMGC/print/mcdu/page1/R3req</property></not>
</and>
</condition>
</animation>
<!-- Colors -->
<!-- White -->
<animation>
<type>material</type>
<object-name>page</object-name>
<object-name>return</object-name>
<object-name>manual</object-name>
<object-name>auto</object-name>
<object-name>aoc</object-name>
<object-name>aoc2</object-name>
<diffuse>
<red>1</red>
<green>1</green>
<blue>1</blue>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>1</red>
<green>1</green>
<blue>1</blue>
</emission>
</animation>
<!-- Amber -->
<animation>
<type>material</type>
<object-name>printstar1</object-name>
<object-name>printstar2</object-name>
<object-name>printstar3</object-name>
<object-name>print1R</object-name>
<object-name>print2R</object-name>
<object-name>print3R</object-name>
<diffuse>
<red>1</red>
<green>0.3</green>
<blue>0</blue>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>1</red>
<green>0.3</green>
<blue>0</blue>
</emission>
</animation>
<!-- Blue -->
<animation>
<type>material</type>
<object-name>printstar4</object-name>
<object-name>printstar5</object-name>
<object-name>printstar6</object-name>
<object-name>print1L</object-name>
<object-name>print2L</object-name>
<object-name>print3L</object-name>
<object-name>print1L2</object-name>
<object-name>print2L2</object-name>
<object-name>print3L2</object-name>
<diffuse>
<red>0</red>
<green>0.5</green>
<blue>0.7</blue>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>0</red>
<green>0.5</green>
<blue>0.7</blue>
</emission>
</animation>
<!-- Green -->
<animation>
<type>material</type>
<object-name>center1</object-name>
<object-name>center2</object-name>
<object-name>center3</object-name>
<diffuse>
<red>0.2</red>
<green>0.4</green>
<blue>0.2</blue>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>0.2</red>
<green>0.4</green>
<blue>0.2</blue>
</emission>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -58,6 +58,54 @@
</font-resolution>
</text>
<text>
<name>fmgctextgreen</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.045</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">&lt;FMGC</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>fmgctextblue</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.045</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">&lt;FMGC (SEL)</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>acarstext</name>
<offsets>
@ -154,6 +202,40 @@
</font-resolution>
</text>
<animation>
<type>select</type>
<object-name>fmgctext</object-name>
<condition>
<equals>
<property>MCDU[0]/active</property>
<value>0</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>fmgctextblue</object-name>
<object-name>fmgctextsel</object-name>
<condition>
<equals>
<property>MCDU[0]/active</property>
<value>1</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>fmgctextgreen</object-name>
<condition>
<equals>
<property>MCDU[0]/active</property>
<value>2</value>
</equals>
</condition>
</animation>
<!-- Colors -->
<!-- White -->
<animation>
@ -186,4 +268,56 @@
</emission>
</animation>
<!-- Green -->
<animation>
<type>material</type>
<object-name>fmgctextgreen</object-name>
<diffuse>
<red>0.2</red>
<green>0.4</green>
<blue>0.2</blue>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>0.2</red>
<green>0.4</green>
<blue>0.2</blue>
</emission>
</animation>
<!-- Blue -->
<animation>
<type>material</type>
<object-name>fmgctextblue</object-name>
<diffuse>
<red>0</red>
<green>0.5</green>
<blue>0.7</blue>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>0</red>
<green>0.5</green>
<blue>0.7</blue>
</emission>
</animation>
</PropertyList>

View file

@ -202,6 +202,50 @@
</condition>
</model>
<model>
<name>PRINTFUNC</name>
<path>DATA/PRINTFUNC.xml</path>
<offsets>
<heading-deg>180</heading-deg>
<roll-deg>180</roll-deg>
<pitch-deg>90</pitch-deg>
</offsets>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/ac1</property>
<value>110</value>
</greater-than-equals>
<equals>
<property>MCDU[0]/page</property>
<value>PRINTFUNC</value>
</equals>
</and>
</condition>
</model>
<model>
<name>PRINTFUNC2</name>
<path>DATA/PRINTFUNC2.xml</path>
<offsets>
<heading-deg>180</heading-deg>
<roll-deg>180</roll-deg>
<pitch-deg>90</pitch-deg>
</offsets>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/ac1</property>
<value>110</value>
</greater-than-equals>
<equals>
<property>MCDU[0]/page</property>
<value>PRINTFUNC2</value>
</equals>
</and>
</condition>
</model>
<model>
<name>TO</name>
<path>PERF/TO/TO.xml</path>

View file

@ -0,0 +1,831 @@
<?xml version="1.0"?>
<!--
#######################################
# Copyright (c) A3XX Development Team #
#######################################
-->
<PropertyList>
<path>EMPTY.ac</path>
<text>
<name>page</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.0</y-m>
<z-m>0.083</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">PRINT FUNCTION 1/2</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>page</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.04</y-m>
<z-m>0.083</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">&lt;-&gt;</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>manual</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.043</y-m>
<z-m>0.0765</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">MANUAL</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0040</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>center1</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">F-PLN INIT</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print1R</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.0435</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">PRINT</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>printstar1</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.045</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">*</format>
<truncate type="bool">false</truncate>
<font type="string">helvetica_medium.txf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>center2</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0</y-m>
<z-m>0.061</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">TO DATA</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print2R</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.0435</y-m>
<z-m>0.061</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">PRINT</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>printstar2</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.045</y-m>
<z-m>0.061</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">*</format>
<truncate type="bool">false</truncate>
<font type="string">helvetica_medium.txf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>center3</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0</y-m>
<z-m>0.0505</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">WIND DATA</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print3R</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.0435</y-m>
<z-m>0.0505</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">PRINT</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>printstar3</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.045</y-m>
<z-m>0.0505</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">*</format>
<truncate type="bool">false</truncate>
<font type="string">helvetica_medium.txf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print1L</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.0428</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">NO</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print1L2</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.0428</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">YES</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>printstar4</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.045</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">*</format>
<truncate type="bool">false</truncate>
<font type="string">helvetica_medium.txf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print2L</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.0428</y-m>
<z-m>0.061</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">NO</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print2L2</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.0428</y-m>
<z-m>0.061</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">YES</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>printstar5</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.045</y-m>
<z-m>0.061</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">*</format>
<truncate type="bool">false</truncate>
<font type="string">helvetica_medium.txf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print3L</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.0428</y-m>
<z-m>0.0505</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">NO</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>print3L2</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.0428</y-m>
<z-m>0.0505</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">YES</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>printstar6</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.045</y-m>
<z-m>0.0505</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">*</format>
<truncate type="bool">false</truncate>
<font type="string">helvetica_medium.txf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>auto</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.043</y-m>
<z-m>0.0765</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">AUTO</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0040</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>return</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.045</y-m>
<z-m>0.0190</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">&lt;RETURN</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>aoc</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.041</y-m>
<z-m>0.0230</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">AOC</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0040</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>aoc2</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.043</y-m>
<z-m>0.0190</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">FUNCTION&gt;</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<animation>
<type>select</type>
<object-name>printstar4</object-name>
<object-name>print1L</object-name>
<condition>
<not>
<property>FMGC/print/mcdu/page1/L1auto</property>
</not>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>printstar5</object-name>
<object-name>print2L</object-name>
<condition>
<not>
<property>FMGC/print/mcdu/page1/L2auto</property>
</not>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>printstar6</object-name>
<object-name>print3L</object-name>
<condition>
<not>
<property>FMGC/print/mcdu/page1/L3auto</property>
</not>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>print1L2</object-name>
<condition>
<equals>
<property>FMGC/print/mcdu/page1/L1auto</property>
<value>1</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>print2L2</object-name>
<condition>
<equals>
<property>FMGC/print/mcdu/page1/L2auto</property>
<value>1</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>print3L2</object-name>
<condition>
<equals>
<property>FMGC/print/mcdu/page1/L3auto</property>
<value>1</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>printstar1</object-name>
<condition>
<and>
<not><property>FMGC/print/mcdu/page1/R1req</property></not>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>printstar2</object-name>
<condition>
<and>
<not><property>FMGC/print/mcdu/page1/R2req</property></not>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>printstar3</object-name>
<condition>
<and>
<not><property>FMGC/print/mcdu/page1/R3req</property></not>
</and>
</condition>
</animation>
<!-- Colors -->
<!-- White -->
<animation>
<type>material</type>
<object-name>page</object-name>
<object-name>return</object-name>
<object-name>manual</object-name>
<object-name>auto</object-name>
<object-name>aoc</object-name>
<object-name>aoc2</object-name>
<diffuse>
<red>1</red>
<green>1</green>
<blue>1</blue>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>1</red>
<green>1</green>
<blue>1</blue>
</emission>
</animation>
<!-- Amber -->
<animation>
<type>material</type>
<object-name>printstar1</object-name>
<object-name>printstar2</object-name>
<object-name>printstar3</object-name>
<object-name>print1R</object-name>
<object-name>print2R</object-name>
<object-name>print3R</object-name>
<diffuse>
<red>1</red>
<green>0.3</green>
<blue>0</blue>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>1</red>
<green>0.3</green>
<blue>0</blue>
</emission>
</animation>
<!-- Blue -->
<animation>
<type>material</type>
<object-name>printstar4</object-name>
<object-name>printstar5</object-name>
<object-name>printstar6</object-name>
<object-name>print1L</object-name>
<object-name>print2L</object-name>
<object-name>print3L</object-name>
<object-name>print1L2</object-name>
<object-name>print2L2</object-name>
<object-name>print3L2</object-name>
<diffuse>
<red>0</red>
<green>0.5</green>
<blue>0.7</blue>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>0</red>
<green>0.5</green>
<blue>0.7</blue>
</emission>
</animation>
<!-- Green -->
<animation>
<type>material</type>
<object-name>center1</object-name>
<object-name>center2</object-name>
<object-name>center3</object-name>
<diffuse>
<red>0.2</red>
<green>0.4</green>
<blue>0.2</blue>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>0.2</red>
<green>0.4</green>
<blue>0.2</blue>
</emission>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -58,6 +58,54 @@
</font-resolution>
</text>
<text>
<name>fmgctextgreen</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.045</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">&lt;FMGC</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>fmgctextblue</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.045</y-m>
<z-m>0.0715</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">&lt;FMGC (SEL)</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0050</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<text>
<name>acarstext</name>
<offsets>
@ -154,6 +202,40 @@
</font-resolution>
</text>
<animation>
<type>select</type>
<object-name>fmgctext</object-name>
<condition>
<equals>
<property>MCDU[1]/active</property>
<value>0</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>fmgctextblue</object-name>
<object-name>fmgctextsel</object-name>
<condition>
<equals>
<property>MCDU[1]/active</property>
<value>1</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>fmgctextgreen</object-name>
<condition>
<equals>
<property>MCDU[1]/active</property>
<value>2</value>
</equals>
</condition>
</animation>
<!-- Colors -->
<!-- White -->
<animation>
@ -186,4 +268,56 @@
</emission>
</animation>
<!-- Green -->
<animation>
<type>material</type>
<object-name>fmgctextgreen</object-name>
<diffuse>
<red>0.2</red>
<green>0.4</green>
<blue>0.2</blue>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>0.2</red>
<green>0.4</green>
<blue>0.2</blue>
</emission>
</animation>
<!-- Blue -->
<animation>
<type>material</type>
<object-name>fmgctextblue</object-name>
<diffuse>
<red>0</red>
<green>0.5</green>
<blue>0.7</blue>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>0</red>
<green>0.5</green>
<blue>0.7</blue>
</emission>
</animation>
</PropertyList>

View file

@ -202,6 +202,50 @@
</condition>
</model>
<model>
<name>PRINTFUNC</name>
<path>DATA/PRINTFUNC.xml</path>
<offsets>
<heading-deg>180</heading-deg>
<roll-deg>180</roll-deg>
<pitch-deg>90</pitch-deg>
</offsets>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/ac1</property>
<value>110</value>
</greater-than-equals>
<equals>
<property>MCDU[1]/page</property>
<value>PRINTFUNC</value>
</equals>
</and>
</condition>
</model>
<model>
<name>PRINTFUNC2</name>
<path>DATA/PRINTFUNC2.xml</path>
<offsets>
<heading-deg>180</heading-deg>
<roll-deg>180</roll-deg>
<pitch-deg>90</pitch-deg>
</offsets>
<condition>
<and>
<greater-than-equals>
<property>systems/electrical/bus/ac1</property>
<value>110</value>
</greater-than-equals>
<equals>
<property>MCDU[1]/page</property>
<value>PRINTFUNC2</value>
</equals>
</and>
</condition>
</model>
<model>
<name>TO</name>
<path>PERF/TO/TO.xml</path>

View file

@ -11,4 +11,61 @@ var dataInput = func(key) {
if (key == "L2") {
setprop("/MCDU[0]/page", "IRSMON");
}
if (key == "R5") {
setprop("/MCDU[0]/page", "PRINTFUNC");
}
}
var printInput = func(key) {
if (key == "L1") {
setprop("/FMGC/print/mcdu/page1/L1auto", 1);
}
if (key == "L2") {
setprop("/FMGC/print/mcdu/page1/L2auto", 1);
}
if (key == "L3") {
setprop("/FMGC/print/mcdu/page1/L3auto", 1);
}
if (key == "L5") {
setprop("/MCDU[0]/page", "DATA");
}
if (key == "R1") {
setprop("/FMGC/print/mcdu/page1/R1req", 1);
}
if (key == "R2") {
setprop("/FMGC/print/mcdu/page1/R2req", 1);
}
if (key == "R3") {
setprop("/FMGC/print/mcdu/page1/R3req", 1);
}
}
var printInput2 = func(key) {
if (key == "L1") {
setprop("/FMGC/print/mcdu/page2/L1auto", 1);
}
if (key == "L2") {
setprop("/FMGC/print/mcdu/page2/L2auto", 1);
}
if (key == "L3") {
setprop("/FMGC/print/mcdu/page2/L3auto", 1);
}
if (key == "L4") {
setprop("/FMGC/print/mcdu/page2/L4auto", 1);
}
if (key == "L6") {
setprop("/MCDU[0]/page", "DATA");
}
if (key == "R1") {
setprop("/FMGC/print/mcdu/page2/R1req", 1);
}
if (key == "R2") {
setprop("/FMGC/print/mcdu/page2/R2req", 1);
}
if (key == "R3") {
setprop("/FMGC/print/mcdu/page2/R3req", 1);
}
if (key == "R4") {
setprop("/FMGC/print/mcdu/page2/R4req", 1);
}
}

View file

@ -10,6 +10,7 @@ var MCDU_init = func {
}
var MCDU_reset = func {
setprop("/MCDU[0]/active", 0);
setprop("/it-autoflight/settings/togaspd", 157);
setprop("/MCDU[0]/last-scratchpad", "");
setprop("/MCDU[0]/last-fmgc-page", "STATUS");
@ -56,20 +57,43 @@ var MCDU_reset = func {
setprop("/FMGC/internal/navdatabase2", "29JAN-26FEB");
setprop("/FMGC/internal/navdatabasecode", "AB20170101");
setprop("/FMGC/internal/navdatabasecode2", "AB20170102");
setprop("/FMGC/print/mcdu/page1/L1auto", 0);
setprop("/FMGC/print/mcdu/page1/L2auto", 0);
setprop("/FMGC/print/mcdu/page1/L3auto", 0);
setprop("/FMGC/print/mcdu/page1/R1req", 0);
setprop("/FMGC/print/mcdu/page1/R2req", 0);
setprop("/FMGC/print/mcdu/page1/R3req", 0);
setprop("/FMGC/print/mcdu/page2/L1auto", 0);
setprop("/FMGC/print/mcdu/page2/L2auto", 0);
setprop("/FMGC/print/mcdu/page2/L3auto", 0);
setprop("/FMGC/print/mcdu/page2/L4auto", 0);
setprop("/FMGC/print/mcdu/page2/R1req", 0);
setprop("/FMGC/print/mcdu/page2/R2req", 0);
setprop("/FMGC/print/mcdu/page2/R3req", 0);
setprop("/FMGC/print/mcdu/page2/R4req", 0);
}
var lskbutton = func(btn) {
if (btn == "1") {
if (getprop("/MCDU[0]/page") == "MCDU") {
setprop("/MCDU[0]/page", getprop("/MCDU[0]/last-fmgc-page"));
setprop("/MCDU[0]/scratchpad-msg", "0");
setprop("/MCDU[0]/scratchpad", "");
if (getprop("/MCDU[0]/page") == "MCDU" and getprop("/MCDU[0]/active") != 2) {
setprop("/MCDU[0]/scratchpad", "WAIT FOR SYSTEM RESPONSE");
setprop("/MCDU[0]/active", 1);
settimer(func(){
setprop("/MCDU[0]/page", getprop("/MCDU[0]/last-fmgc-page"));
setprop("/MCDU[0]/scratchpad", "");
setprop("/MCDU[0]/scratchpad-msg", "0");
setprop("/MCDU[0]/active", 2);
}, 2);
} else if (getprop("/MCDU[0]/page") == "TO") {
perfTOInput("L1");
} else if (getprop("/MCDU[0]/page") == "RADNAV") {
radnavInput("L1");
} else if (getprop("/MCDU[0]/page") == "DATA") {
dataInput("L1");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC") {
printInput("L1");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC2") {
printInput2("L1");
} else {
if (getprop("/MCDU[0]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
@ -92,7 +116,11 @@ var lskbutton = func(btn) {
initInputA("L5");
} else if (getprop("/MCDU[0]/page") == "DATA") {
dataInput("L2");
} else {
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC") {
printInput("L2");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC2") {
printInput2("L2");
} else {
if (getprop("/MCDU[0]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
}
@ -108,6 +136,10 @@ var lskbutton = func(btn) {
statusInput("L3");
} else if (getprop("/MCDU[0]/page") == "RADNAV") {
radnavInput("L3");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC") {
printInput("L3");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC2") {
printInput2("L3");
} else {
if (getprop("/MCDU[0]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
@ -122,6 +154,8 @@ var lskbutton = func(btn) {
perfTOInput("L4");
} else if (getprop("/MCDU[0]/page") == "RADNAV") {
radnavInput("L4");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC2") {
printInput2("L4");
} else {
if (getprop("/MCDU[0]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
@ -142,6 +176,10 @@ var lskbutton = func(btn) {
perfDESInput("L5");
} else if (getprop("/MCDU[0]/page") == "RADNAV") {
radnavInput("L5");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC") {
printInput("L5");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC2") {
printInput2("L5");
} else {
if (getprop("/MCDU[0]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
@ -158,6 +196,8 @@ var lskbutton = func(btn) {
perfCRZInput("L6");
} else if (getprop("/MCDU[0]/page") == "DES") {
perfDESInput("L6");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC2") {
printInput2("L6");
} else {
if (getprop("/MCDU[0]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
@ -178,6 +218,10 @@ var rskbutton = func(btn) {
initInputA("R1");
} else if (getprop("/MCDU[0]/page") == "RADNAV") {
radnavInput("R1");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC") {
printInput("R1");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC2") {
printInput2("R1");
} else {
if (getprop("/MCDU[0]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
@ -190,6 +234,10 @@ var rskbutton = func(btn) {
initInputB("R2");
} else if (getprop("/MCDU[0]/page") == "RADNAV") {
radnavInput("R2");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC") {
printInput("R2");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC2") {
printInput2("R2");
} else {
if (getprop("/MCDU[0]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
@ -202,6 +250,10 @@ var rskbutton = func(btn) {
initInputA("R3");
} else if (getprop("/MCDU[0]/page") == "TO") {
perfTOInput("R3");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC") {
printInput("R3");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC2") {
printInput2("R3");
} else {
if (getprop("/MCDU[0]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
@ -214,6 +266,8 @@ var rskbutton = func(btn) {
perfTOInput("R4");
} else if (getprop("/MCDU[0]/page") == "RADNAV") {
radnavInput("R4");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC2") {
printInput2("R4");
} else {
if (getprop("/MCDU[0]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
@ -226,6 +280,8 @@ var rskbutton = func(btn) {
perfTOInput("R5");
} else if (getprop("/MCDU[0]/page") == "RADNAV") {
radnavInput("R5");
} else if (getprop("/MCDU[0]/page") == "DATA") {
dataInput("R5");
} else {
if (getprop("/MCDU[0]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
@ -240,6 +296,12 @@ var rskbutton = func(btn) {
perfCLBInput("R6");
} else if (getprop("/MCDU[0]/page") == "CRZ") {
perfCRZInput("R6");
} else if ((getprop("/MCDU[0]/page") == "DATA") or (getprop("/MCDU[0]/page") == "PRINTFUNC") or (getprop("/MCDU[0]/page") == "PRINTFUNC2")) {
if (getprop("/MCDU[0]/scratchpad") != "AOC DISABLED") {
setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
}
setprop("/MCDU[0]/scratchpad-msg", "1");
setprop("/MCDU[0]/scratchpad", "AOC DISABLED");
} else {
if (getprop("/MCDU[0]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
@ -266,6 +328,11 @@ var arrowbutton = func(btn) {
} else if (getprop("/MCDU[0]/page") == "INITB") {
setprop("/MCDU[0]/page", "INITA");
}
if (getprop("/MCDU[0]/page") == "PRINTFUNC") {
setprop("/MCDU[0]/page", "PRINTFUNC2");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC2") {
setprop("/MCDU[0]/page", "PRINTFUNC");
}
} else if (btn == "right") {
if (getprop("/MCDU[0]/page") == "DATA") {
setprop("/MCDU[0]/page", "DATA2");
@ -277,6 +344,11 @@ var arrowbutton = func(btn) {
} else if (getprop("/MCDU[0]/page") == "INITB") {
setprop("/MCDU[0]/page", "INITA");
}
if (getprop("/MCDU[0]/page") == "PRINTFUNC") {
setprop("/MCDU[0]/page", "PRINTFUNC2");
} else if (getprop("/MCDU[0]/page") == "PRINTFUNC2") {
setprop("/MCDU[0]/page", "PRINTFUNC");
}
} else if (btn == "up") {
# Nothing for now
} else if (btn == "down") {

View file

@ -11,4 +11,61 @@ var dataInput = func(key) {
if (key == "L2") {
setprop("/MCDU[1]/page", "IRSMON");
}
if (key == "R5") {
setprop("/MCDU[1]/page", "PRINTFUNC");
}
}
var printInput = func(key) {
if (key == "L1") {
setprop("/FMGC/print/mcdu/page1/L1auto", 1);
}
if (key == "L2") {
setprop("/FMGC/print/mcdu/page1/L2auto", 1);
}
if (key == "L3") {
setprop("/FMGC/print/mcdu/page1/L3auto", 1);
}
if (key == "L5") {
setprop("/MCDU[1]/page", "DATA");
}
if (key == "R1") {
setprop("/FMGC/print/mcdu/page1/R1req", 1);
}
if (key == "R2") {
setprop("/FMGC/print/mcdu/page1/R2req", 1);
}
if (key == "R3") {
setprop("/FMGC/print/mcdu/page1/R3req", 1);
}
}
var printInput2 = func(key) {
if (key == "L1") {
setprop("/FMGC/print/mcdu/page2/L1auto", 1);
}
if (key == "L2") {
setprop("/FMGC/print/mcdu/page2/L2auto", 1);
}
if (key == "L3") {
setprop("/FMGC/print/mcdu/page2/L3auto", 1);
}
if (key == "L4") {
setprop("/FMGC/print/mcdu/page2/L4auto", 1);
}
if (key == "L6") {
setprop("/MCDU[0]/page", "DATA");
}
if (key == "R1") {
setprop("/FMGC/print/mcdu/pag2e/R1req", 1);
}
if (key == "R2") {
setprop("/FMGC/print/mcdu/page2/R2req", 1);
}
if (key == "R3") {
setprop("/FMGC/print/mcdu/page2/R3req", 1);
}
if (key == "R4") {
setprop("/FMGC/print/mcdu/page2/R4req", 1);
}
}

View file

@ -10,6 +10,7 @@ var MCDU_init = func {
}
var MCDU_reset = func {
setprop("/MCDU[1]/active", 0);
setprop("/it-autoflight/settings/togaspd", 157);
setprop("/MCDU[1]/last-scratchpad", "");
setprop("/MCDU[1]/last-fmgc-page", "STATUS");
@ -56,21 +57,44 @@ var MCDU_reset = func {
setprop("/FMGC/internal/navdatabase2", "29JAN-26FEB");
setprop("/FMGC/internal/navdatabasecode", "AB20170101");
setprop("/FMGC/internal/navdatabasecode2", "AB20170102");
setprop("/FMGC/print/mcdu/page1/L1auto", 0);
setprop("/FMGC/print/mcdu/page1/L2auto", 0);
setprop("/FMGC/print/mcdu/page1/L3auto", 0);
setprop("/FMGC/print/mcdu/page1/R1req", 0);
setprop("/FMGC/print/mcdu/page1/R2req", 0);
setprop("/FMGC/print/mcdu/page1/R3req", 0);
setprop("/FMGC/print/mcdu/page2/L1auto", 0);
setprop("/FMGC/print/mcdu/page2/L2auto", 0);
setprop("/FMGC/print/mcdu/page2/L3auto", 0);
setprop("/FMGC/print/mcdu/page2/L4auto", 0);
setprop("/FMGC/print/mcdu/page2/R1req", 0);
setprop("/FMGC/print/mcdu/page2/R2req", 0);
setprop("/FMGC/print/mcdu/page2/R3req", 0);
setprop("/FMGC/print/mcdu/page2/R4req", 0);
}
var lskbutton = func(btn) {
if (btn == "1") {
if (getprop("/MCDU[1]/page") == "MCDU") {
setprop("/MCDU[1]/page", getprop("/MCDU[1]/last-fmgc-page"));
setprop("/MCDU[1]/scratchpad-msg", "0");
setprop("/MCDU[1]/scratchpad", "");
if (getprop("/MCDU[1]/page") == "MCDU" and getprop("/MCDU[1]/active") != 2) {
setprop("/MCDU[1]/scratchpad", "WAIT FOR SYSTEM RESPONSE");
setprop("/MCDU[1]/active", 1);
settimer(func(){
setprop("/MCDU[1]/page", getprop("/MCDU[1]/last-fmgc-page"));
setprop("/MCDU[1]/scratchpad", "");
setprop("/MCDU[1]/scratchpad-msg", "0");
setprop("/MCDU[1]/active", 2);
}, 2);
} else if (getprop("/MCDU[1]/page") == "TO") {
perfTOInput("L1");
} else if (getprop("/MCDU[1]/page") == "RADNAV") {
radnavInput("L1");
} else if (getprop("/MCDU[1]/page") == "DATA") {
dataInput("L1");
} else {
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC") {
printInput("L1");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC2") {
printInput2("L1");
} else {
if (getprop("/MCDU[1]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[1]/scratchpad"));
}
@ -92,7 +116,11 @@ var lskbutton = func(btn) {
initInputA("L5");
} else if (getprop("/MCDU[1]/page") == "DATA") {
dataInput("L2");
} else {
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC") {
printInput("L2");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC2") {
printInput2("L2");
} else {
if (getprop("/MCDU[1]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[1]/scratchpad"));
}
@ -108,6 +136,10 @@ var lskbutton = func(btn) {
statusInput("L3");
} else if (getprop("/MCDU[1]/page") == "RADNAV") {
radnavInput("L3");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC") {
printInput("L3");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC2") {
printInput2("L3");
} else {
if (getprop("/MCDU[1]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[1]/scratchpad"));
@ -122,6 +154,8 @@ var lskbutton = func(btn) {
perfTOInput("L4");
} else if (getprop("/MCDU[1]/page") == "RADNAV") {
radnavInput("L4");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC2") {
printInput2("L4");
} else {
if (getprop("/MCDU[1]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[1]/scratchpad"));
@ -142,6 +176,8 @@ var lskbutton = func(btn) {
perfDESInput("L5");
} else if (getprop("/MCDU[1]/page") == "RADNAV") {
radnavInput("L5");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC") {
printInput("L5");
} else {
if (getprop("/MCDU[1]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[1]/scratchpad"));
@ -158,6 +194,14 @@ var lskbutton = func(btn) {
perfCRZInput("L6");
} else if (getprop("/MCDU[1]/page") == "DES") {
perfDESInput("L6");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC2") {
printInput2("L6");
} else if ((getprop("/MCDU[1]/page") == "DATA") or (getprop("/MCDU[1]/page") == "PRINTFUNC") or (getprop("/MCDU[1]/page") == "PRINTFUNC2")) {
if (getprop("/MCDU[1]/scratchpad") != "AOC DISABLED") {
setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
}
setprop("/MCDU[1]/scratchpad-msg", "1");
setprop("/MCDU[1]/scratchpad", "AOC DISABLED");
} else {
if (getprop("/MCDU[1]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[1]/scratchpad"));
@ -178,6 +222,10 @@ var rskbutton = func(btn) {
initInputA("R1");
} else if (getprop("/MCDU[1]/page") == "RADNAV") {
radnavInput("R1");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC") {
printInput("R1");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC2") {
printInput2("R1");
} else {
if (getprop("/MCDU[1]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[1]/scratchpad"));
@ -190,6 +238,10 @@ var rskbutton = func(btn) {
initInputB("R2");
} else if (getprop("/MCDU[1]/page") == "RADNAV") {
radnavInput("R2");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC") {
printInput("R2");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC2") {
printInput2("R2");
} else {
if (getprop("/MCDU[1]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[1]/scratchpad"));
@ -202,6 +254,10 @@ var rskbutton = func(btn) {
initInputA("R3");
} else if (getprop("/MCDU[1]/page") == "TO") {
perfTOInput("R3");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC") {
printInput("R3");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC2") {
printInput2("R3");
} else {
if (getprop("/MCDU[1]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[1]/scratchpad"));
@ -214,6 +270,8 @@ var rskbutton = func(btn) {
perfTOInput("R4");
} else if (getprop("/MCDU[1]/page") == "RADNAV") {
radnavInput("R4");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC2") {
printInput2("R4");
} else {
if (getprop("/MCDU[1]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[1]/scratchpad"));
@ -226,6 +284,8 @@ var rskbutton = func(btn) {
perfTOInput("R5");
} else if (getprop("/MCDU[1]/page") == "RADNAV") {
radnavInput("R5");
} else if (getprop("/MCDU[1]/page") == "DATA") {
dataInput("R5");
} else {
if (getprop("/MCDU[1]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[1]/scratchpad"));
@ -266,6 +326,11 @@ var arrowbutton = func(btn) {
} else if (getprop("/MCDU[1]/page") == "INITB") {
setprop("/MCDU[1]/page", "INITA");
}
if (getprop("/MCDU[1]/page") == "PRINTFUNC") {
setprop("/MCDU[1]/page", "PRINTFUNC2");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC2") {
setprop("/MCDU[1]/page", "PRINTFUNC");
}
} else if (btn == "right") {
if (getprop("/MCDU[1]/page") == "DATA") {
setprop("/MCDU[1]/page", "DATA2");
@ -277,6 +342,11 @@ var arrowbutton = func(btn) {
} else if (getprop("/MCDU[1]/page") == "INITB") {
setprop("/MCDU[1]/page", "INITA");
}
if (getprop("/MCDU[1]/page") == "PRINTFUNC") {
setprop("/MCDU[1]/page", "PRINTFUNC2");
} else if (getprop("/MCDU[1]/page") == "PRINTFUNC2") {
setprop("/MCDU[1]/page", "PRINTFUNC");
}
} else if (btn == "up") {
# Nothing for now
} else if (btn == "down") {