From 98294402f867524f040f9f992baa8c980ea6dff9 Mon Sep 17 00:00:00 2001 From: Jonathan Redpath <legoboyvdlp@gmail.com> Date: Mon, 31 Jul 2017 14:43:13 +0100 Subject: [PATCH 1/3] MCDU print func --- Models/Instruments/MCDU1/DATA/PRINTFUNC.xml | 831 ++++++++++++++ Models/Instruments/MCDU1/DATA/PRINTFUNC2.xml | 1014 ++++++++++++++++++ Models/Instruments/MCDU1/MCDU1.xml | 44 + Models/Instruments/MCDU2/DATA/PRINTFUNC.xml | 831 ++++++++++++++ Models/Instruments/MCDU2/DATA/PRINTFUNC2.xml | 1014 ++++++++++++++++++ Models/Instruments/MCDU2/MCDU2.xml | 44 + Nasal/MCDU1/DATA.nas | 57 + Nasal/MCDU1/MCDU.nas | 62 +- Nasal/MCDU2/DATA.nas | 57 + Nasal/MCDU2/MCDU.nas | 62 +- 10 files changed, 4013 insertions(+), 3 deletions(-) create mode 100644 Models/Instruments/MCDU1/DATA/PRINTFUNC.xml create mode 100644 Models/Instruments/MCDU1/DATA/PRINTFUNC2.xml create mode 100644 Models/Instruments/MCDU2/DATA/PRINTFUNC.xml create mode 100644 Models/Instruments/MCDU2/DATA/PRINTFUNC2.xml diff --git a/Models/Instruments/MCDU1/DATA/PRINTFUNC.xml b/Models/Instruments/MCDU1/DATA/PRINTFUNC.xml new file mode 100644 index 00000000..33202f2e --- /dev/null +++ b/Models/Instruments/MCDU1/DATA/PRINTFUNC.xml @@ -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"><-></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"><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></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> diff --git a/Models/Instruments/MCDU1/DATA/PRINTFUNC2.xml b/Models/Instruments/MCDU1/DATA/PRINTFUNC2.xml new file mode 100644 index 00000000..99687337 --- /dev/null +++ b/Models/Instruments/MCDU1/DATA/PRINTFUNC2.xml @@ -0,0 +1,1014 @@ +<?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 2/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"><-></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">PREFLIGHT</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">INFLIGHT</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">POSTFLIGHT</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>print4L</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.0428</y-m> + <z-m>0.0395</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>print4L2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.0428</y-m> + <z-m>0.0395</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>printstar7</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.0395</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>print4R</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.0435</y-m> + <z-m>0.0395</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>printstar8</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.045</y-m> + <z-m>0.0395</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>center4</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0</y-m> + <z-m>0.0395</z-m> + </offsets> + <alignment>center-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">SEC F-PLN</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>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"><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></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>printstar1</object-name> + <condition> + <and> + <not><property>FMGC/print/mcdu/page2/R1req</property></not> + </and> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>printstar2</object-name> + <condition> + <and> + <not><property>FMGC/print/mcdu/page2/R2req</property></not> + </and> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>printstar3</object-name> + <condition> + <and> + <not><property>FMGC/print/mcdu/page2/R3req</property></not> + </and> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>printstar4</object-name> + <object-name>print1L</object-name> + <condition> + <not> + <property>FMGC/print/mcdu/page2/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/page2/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/page2/L3auto</property> + </not> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>printstar7</object-name> + <object-name>print4L</object-name> + <condition> + <not> + <property>FMGC/print/mcdu/page2/L4auto</property> + </not> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>printstar8</object-name> + <condition> + <and> + <not><property>FMGC/print/mcdu/page2/R4req</property></not> + </and> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>print1L2</object-name> + <condition> + <equals> + <property>FMGC/print/mcdu/page2/L1auto</property> + <value>1</value> + </equals> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>print2L2</object-name> + <condition> + <equals> + <property>FMGC/print/mcdu/page2/L2auto</property> + <value>1</value> + </equals> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>print3L2</object-name> + <condition> + <equals> + <property>FMGC/print/mcdu/page2/L3auto</property> + <value>1</value> + </equals> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>print4L2</object-name> + <condition> + <equals> + <property>FMGC/print/mcdu/page2/L4auto</property> + <value>1</value> + </equals> + </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>printstar8</object-name> + <object-name>print1R</object-name> + <object-name>print2R</object-name> + <object-name>print3R</object-name> + <object-name>print4R</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>printstar7</object-name> + <object-name>print1L</object-name> + <object-name>print2L</object-name> + <object-name>print3L</object-name> + <object-name>print4L</object-name> + <object-name>print1L2</object-name> + <object-name>print2L2</object-name> + <object-name>print3L2</object-name> + <object-name>print4L2</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> + <object-name>center4</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> diff --git a/Models/Instruments/MCDU1/MCDU1.xml b/Models/Instruments/MCDU1/MCDU1.xml index ce741a7f..327eaf95 100644 --- a/Models/Instruments/MCDU1/MCDU1.xml +++ b/Models/Instruments/MCDU1/MCDU1.xml @@ -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> diff --git a/Models/Instruments/MCDU2/DATA/PRINTFUNC.xml b/Models/Instruments/MCDU2/DATA/PRINTFUNC.xml new file mode 100644 index 00000000..33202f2e --- /dev/null +++ b/Models/Instruments/MCDU2/DATA/PRINTFUNC.xml @@ -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"><-></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"><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></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> diff --git a/Models/Instruments/MCDU2/DATA/PRINTFUNC2.xml b/Models/Instruments/MCDU2/DATA/PRINTFUNC2.xml new file mode 100644 index 00000000..7cb9b1b9 --- /dev/null +++ b/Models/Instruments/MCDU2/DATA/PRINTFUNC2.xml @@ -0,0 +1,1014 @@ +<?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 2/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"><-></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">PREFLIGHT</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">INFLIGHT</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">POSTFLIGHT</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>print4L</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.0428</y-m> + <z-m>0.0395</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>print4L2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.0428</y-m> + <z-m>0.0395</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>printstar7</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.0395</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>print4R</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.0435</y-m> + <z-m>0.0395</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>printstar8</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.045</y-m> + <z-m>0.0395</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>center4</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0</y-m> + <z-m>0.0395</z-m> + </offsets> + <alignment>center-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">SEC F-PLN</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>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"><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></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>printstar1</object-name> + <condition> + <and> + <not><property>FMGC/print/mcdu/page2/R1req</property></not> + </and> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>printstar2</object-name> + <condition> + <and> + <not><property>FMGC/print/mcdu/page2/R2req</property></not> + </and> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>printstar3</object-name> + <condition> + <and> + <not><property>FMGC/print/mcdu/page2/R3req</property></not> + </and> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>printstar4</object-name> + <object-name>print1L</object-name> + <condition> + <not> + <property>FMGC/print/mcdu/page2/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/page2/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/page2/L3auto</property> + </not> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>printstar7</object-name> + <object-name>print4L</object-name> + <condition> + <not> + <property>FMGC/print/mcdu/page2/L4auto</property> + </not> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>printstar8</object-name> + <condition> + <and> + <not><property>FMGC/print/mcdu/page2/R4auto</property></not> + </and> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>print1L2</object-name> + <condition> + <equals> + <property>FMGC/print/mcdu/page2/L1auto</property> + <value>1</value> + </equals> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>print2L2</object-name> + <condition> + <equals> + <property>FMGC/print/mcdu/page2/L2auto</property> + <value>1</value> + </equals> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>print3L2</object-name> + <condition> + <equals> + <property>FMGC/print/mcdu/page2/L3auto</property> + <value>1</value> + </equals> + </condition> + </animation> + + <animation> + <type>select</type> + <object-name>print4L2</object-name> + <condition> + <equals> + <property>FMGC/print/mcdu/page2/L4auto</property> + <value>1</value> + </equals> + </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>printstar8</object-name> + <object-name>print1R</object-name> + <object-name>print2R</object-name> + <object-name>print3R</object-name> + <object-name>print4R</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>printstar7</object-name> + <object-name>print1L</object-name> + <object-name>print2L</object-name> + <object-name>print3L</object-name> + <object-name>print4L</object-name> + <object-name>print1L2</object-name> + <object-name>print2L2</object-name> + <object-name>print3L2</object-name> + <object-name>print4L2</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> + <object-name>center4</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> diff --git a/Models/Instruments/MCDU2/MCDU2.xml b/Models/Instruments/MCDU2/MCDU2.xml index e6d74798..1f7cfee3 100644 --- a/Models/Instruments/MCDU2/MCDU2.xml +++ b/Models/Instruments/MCDU2/MCDU2.xml @@ -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> diff --git a/Nasal/MCDU1/DATA.nas b/Nasal/MCDU1/DATA.nas index 089cdce6..07e3b5e2 100644 --- a/Nasal/MCDU1/DATA.nas +++ b/Nasal/MCDU1/DATA.nas @@ -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); + } +} \ No newline at end of file diff --git a/Nasal/MCDU1/MCDU.nas b/Nasal/MCDU1/MCDU.nas index f64cea11..619aab99 100644 --- a/Nasal/MCDU1/MCDU.nas +++ b/Nasal/MCDU1/MCDU.nas @@ -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,7 +110,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 +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") { diff --git a/Nasal/MCDU2/DATA.nas b/Nasal/MCDU2/DATA.nas index 5a41a290..49b8402e 100644 --- a/Nasal/MCDU2/DATA.nas +++ b/Nasal/MCDU2/DATA.nas @@ -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); + } +} \ No newline at end of file diff --git a/Nasal/MCDU2/MCDU.nas b/Nasal/MCDU2/MCDU.nas index 925d4333..1cef311a 100644 --- a/Nasal/MCDU2/MCDU.nas +++ b/Nasal/MCDU2/MCDU.nas @@ -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,7 +84,11 @@ var lskbutton = func(btn) { 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 +110,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 +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") { From 5ce8f0fb9be6574d21e377cc39b3f75ad1e73e0a Mon Sep 17 00:00:00 2001 From: Jonathan Redpath <legoboyvdlp@gmail.com> Date: Mon, 31 Jul 2017 20:37:11 +0100 Subject: [PATCH 2/3] mcdu page --- Models/Instruments/MCDU1/MCDU/MCDU.xml | 134 +++++++++++++++++++++++++ Models/Instruments/MCDU2/MCDU/MCDU.xml | 134 +++++++++++++++++++++++++ Nasal/MCDU1/MCDU.nas | 21 +++- Nasal/MCDU2/MCDU.nas | 21 +++- 4 files changed, 302 insertions(+), 8 deletions(-) diff --git a/Models/Instruments/MCDU1/MCDU/MCDU.xml b/Models/Instruments/MCDU1/MCDU/MCDU.xml index 522e96fd..15882984 100644 --- a/Models/Instruments/MCDU1/MCDU/MCDU.xml +++ b/Models/Instruments/MCDU1/MCDU/MCDU.xml @@ -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"><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"><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> diff --git a/Models/Instruments/MCDU2/MCDU/MCDU.xml b/Models/Instruments/MCDU2/MCDU/MCDU.xml index 522e96fd..db928b23 100644 --- a/Models/Instruments/MCDU2/MCDU/MCDU.xml +++ b/Models/Instruments/MCDU2/MCDU/MCDU.xml @@ -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"><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"><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> diff --git a/Nasal/MCDU1/MCDU.nas b/Nasal/MCDU1/MCDU.nas index 619aab99..478804ba 100644 --- a/Nasal/MCDU1/MCDU.nas +++ b/Nasal/MCDU1/MCDU.nas @@ -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"); @@ -74,10 +75,15 @@ var MCDU_reset = func { 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") { @@ -290,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")); @@ -363,6 +375,7 @@ var pagebutton = func(btn) { } else if (btn == "data") { setprop("/MCDU[0]/page", "DATA"); } else if (btn == "mcdu") { + setprop("/MCDU[0]/active", 0); setprop("/MCDU[0]/last-fmgc-page", getprop("/MCDU[0]/page")); setprop("/MCDU[0]/scratchpad", "SELECT DESIRED SYSTEM"); setprop("/MCDU[0]/page", "MCDU"); diff --git a/Nasal/MCDU2/MCDU.nas b/Nasal/MCDU2/MCDU.nas index 1cef311a..e3a63e67 100644 --- a/Nasal/MCDU2/MCDU.nas +++ b/Nasal/MCDU2/MCDU.nas @@ -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"); @@ -74,10 +75,15 @@ var MCDU_reset = func { 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") { @@ -190,6 +196,12 @@ var lskbutton = func(btn) { 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")); @@ -361,6 +373,7 @@ var pagebutton = func(btn) { } else if (btn == "data") { setprop("/MCDU[1]/page", "DATA"); } else if (btn == "mcdu") { + setprop("/MCDU[1]/active", 0); setprop("/MCDU[1]/last-fmgc-page", getprop("/MCDU[1]/page")); setprop("/MCDU[1]/scratchpad", "SELECT DESIRED SYSTEM"); setprop("/MCDU[1]/page", "MCDU"); From ba1fc53fc1a28a0851c9242c5110f807c4c3aaa3 Mon Sep 17 00:00:00 2001 From: Jonathan Redpath <legoboyvdlp@gmail.com> Date: Mon, 31 Jul 2017 20:38:46 +0100 Subject: [PATCH 3/3] bugfix mcdu page --- Nasal/MCDU1/MCDU.nas | 1 - Nasal/MCDU2/MCDU.nas | 1 - 2 files changed, 2 deletions(-) diff --git a/Nasal/MCDU1/MCDU.nas b/Nasal/MCDU1/MCDU.nas index 478804ba..dce25d4b 100644 --- a/Nasal/MCDU1/MCDU.nas +++ b/Nasal/MCDU1/MCDU.nas @@ -375,7 +375,6 @@ var pagebutton = func(btn) { } else if (btn == "data") { setprop("/MCDU[0]/page", "DATA"); } else if (btn == "mcdu") { - setprop("/MCDU[0]/active", 0); setprop("/MCDU[0]/last-fmgc-page", getprop("/MCDU[0]/page")); setprop("/MCDU[0]/scratchpad", "SELECT DESIRED SYSTEM"); setprop("/MCDU[0]/page", "MCDU"); diff --git a/Nasal/MCDU2/MCDU.nas b/Nasal/MCDU2/MCDU.nas index e3a63e67..5227ae1c 100644 --- a/Nasal/MCDU2/MCDU.nas +++ b/Nasal/MCDU2/MCDU.nas @@ -373,7 +373,6 @@ var pagebutton = func(btn) { } else if (btn == "data") { setprop("/MCDU[1]/page", "DATA"); } else if (btn == "mcdu") { - setprop("/MCDU[1]/active", 0); setprop("/MCDU[1]/last-fmgc-page", getprop("/MCDU[1]/page")); setprop("/MCDU[1]/scratchpad", "SELECT DESIRED SYSTEM"); setprop("/MCDU[1]/page", "MCDU");