MCDU print func

This commit is contained in:
Jonathan Redpath 2017-07-31 14:43:13 +01:00
parent 22a94a693e
commit 98294402f8
10 changed files with 4013 additions and 3 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

@ -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

@ -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

@ -56,6 +56,20 @@ 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) {
@ -70,6 +84,10 @@ var lskbutton = func(btn) {
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,6 +110,10 @@ var lskbutton = func(btn) {
initInputA("L5");
} else if (getprop("/MCDU[0]/page") == "DATA") {
dataInput("L2");
} 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 +130,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 +148,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 +170,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 +190,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 +212,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 +228,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 +244,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 +260,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 +274,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"));
@ -266,6 +316,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 +332,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

@ -56,6 +56,20 @@ 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) {
@ -70,6 +84,10 @@ var lskbutton = func(btn) {
radnavInput("L1");
} else if (getprop("/MCDU[1]/page") == "DATA") {
dataInput("L1");
} 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,6 +110,10 @@ var lskbutton = func(btn) {
initInputA("L5");
} else if (getprop("/MCDU[1]/page") == "DATA") {
dataInput("L2");
} 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 +130,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 +148,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 +170,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 +188,8 @@ 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]/scratchpad") != "NOT ALLOWED") {
setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[1]/scratchpad"));
@ -178,6 +210,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 +226,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 +242,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 +258,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 +272,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 +314,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 +330,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") {