This repository has been archived on 2021-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
IDG-A32X/Models/Instruments/mCDU/perf/des.xml

774 lines
20 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>des.ac</path>
<!-- mCDU Display Brightness -->
<animation>
<type>material</type>
<object-name>perf</object-name>
<emission>
<red>1</red>
<green>1</green>
<blue>1</blue>
<factor-prop>/instrumentation/mcdu/brt</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>green</object-name>
<object-name>selected-spd</object-name>
<object-name>selected-mach</object-name>
<object-name>managed-spd</object-name>
<object-name>managed-spd-mach</object-name>
<!--object-name>managed-prompt</object-name-->
<object-name>pred-utc</object-name>
<object-name>pred-dist</object-name>
<object-name>title-green</object-name>
<emission>
<red>0</red>
<green>0.37</green>
<blue>0</blue>
<factor-prop>/instrumentation/mcdu/brt</factor-prop>
</emission>
<diffuse>
<red>0</red>
<green>0.37</green>
<blue>0</blue>
</diffuse>
</animation>
<animation>
<type>material</type>
<object-name>cyan</object-name>
<object-name>pred-to</object-name>
<emission>
<red>0</red>
<green>0.4823</green>
<blue>0.5372</blue>
<factor-prop>/instrumentation/mcdu/brt</factor-prop>
</emission>
<diffuse>
<red>0</red>
<green>0.4823</green>
<blue>0.5372</blue>
</diffuse>
</animation>
<animation>
<type>material</type>
<object-name>managed-label</object-name>
<!--object-name>presel-label</object-name-->
<object-name>selected-label</object-name>
<object-name>title-white</object-name>
<object-name>pred-label</object-name>
<object-name>pred-utc-label</object-name>
<object-name>pred-dist-label</object-name>
<emission>
<red>1</red>
<green>1</green>
<blue>1</blue>
<factor-prop>/instrumentation/mcdu/brt</factor-prop>
</emission>
<diffuse>
<red>1</red>
<green>1</green>
<blue>1</blue>
</diffuse>
</animation>
<!-- Select Animations -->
<animation>
<type>select</type>
<!--object-name>managed-prompt</object-name-->
<object-name>title-white</object-name>
<condition>
<or>
<equals>
<property>flight-management/phase</property>
<value>T/O</value>
</equals>
<equals>
<property>flight-management/phase</property>
<value>CLB</value>
</equals>
<equals>
<property>flight-management/phase</property>
<value>CRZ</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>title-green</object-name>
<object-name>pred-label</object-name>
<object-name>pred-to</object-name>
<object-name>pred-utc-label</object-name>
<object-name>pred-dist-label</object-name>
<object-name>pred-utc</object-name>
<object-name>pred-dist</object-name>
<condition>
<equals>
<property>flight-management/phase</property>
<value>DES</value>
</equals>
</condition>
</animation>
<!--animation>
<type>select</type>
<object-name>managed-prompt</object-name>
<condition>
<equals>
<property>/flight-management/spd-manager/descent/mode</property>
<value>SELECTED</value>
</equals>
</condition>
</animation-->
<animation>
<type>select</type>
<object-name>selected-label</object-name>
<condition>
<and>
<equals>
<property>flight-management/phase</property>
<value>DES</value>
</equals>
<equals>
<property>flight-management/control/spd-ctrl</property>
<value>man-set</value>
</equals>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>selected-spd</object-name>
<condition>
<and>
<equals>
<property>flight-management/phase</property>
<value>DES</value>
</equals>
<equals>
<property>flight-management/control/spd-ctrl</property>
<value>man-set</value>
</equals>
<equals>
<property>flight-management/control/spd-mode</property>
<value>ias</value>
</equals>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>selected-mach</object-name>
<condition>
<and>
<equals>
<property>flight-management/phase</property>
<value>DES</value>
</equals>
<equals>
<property>flight-management/control/spd-ctrl</property>
<value>man-set</value>
</equals>
<equals>
<property>flight-management/control/spd-mode</property>
<value>mach</value>
</equals>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>managed-spd</object-name>
<condition>
<greater-than>
<property>/flight-management/spd-manager/descent/managed-speed</property>
<value>1.0</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>managed-spd-mach</object-name>
<condition>
<less-than-equals>
<property>/flight-management/spd-manager/descent/managed-speed</property>
<value>1.0</value>
</less-than-equals>
</condition>
</animation>
<!-- Button Pick Animations -->
<!--animation>
<type>pick</type>
<object-name>l1</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
if (getprop("/flight-management/spd-manager/descent/mode") == "MANAGED (F-PLN)")
setprop("/flight-management/spd-manager/descent/mode", "MANAGED (PERF)");
else
setprop("/flight-management/spd-manager/descent/mode", "MANAGED (F-PLN)");
</script>
</binding>
</action>
</animation-->
<!--animation>
<type>pick</type>
<object-name>l3</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
var input = getprop("/instrumentation/mcdu/input");
setprop("/flight-management/spd-manager/descent/spd1", input);
setprop("/instrumentation/mcdu/input", "");
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>l4</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
var input = getprop("/instrumentation/mcdu/input");
setprop("/flight-management/spd-manager/descent/spd2", input);
setprop("/instrumentation/mcdu/input", "");
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>l5</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
var input = getprop("/instrumentation/mcdu/input");
setprop("/flight-management/spd-manager/descent/mach", input);
setprop("/instrumentation/mcdu/input", "");
</script>
</binding>
</action>
</animation-->
<animation>
<type>pick</type>
<object-name>l6</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
var phase = getprop('flight-management/phase');
if(phase == 'T/O' or phase == 'CLB' or phase == 'CRZ')
setprop("/instrumentation/mcdu/page", "perf-clb");
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>r6</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
setprop("/instrumentation/mcdu/page", "perf-app");
</script>
</binding>
</action>
</animation>
<!-- Text -->
<text>
<name>title-white</name>
<offsets>
<x-m>-0.0816</x-m>
<y-m>0</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">literal</type>
<text>DES</text>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0045</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>title-green</name>
<offsets>
<x-m>-0.0816</x-m>
<y-m>0</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">literal</type>
<text>DES</text>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.0045</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>managed-label</name>
<offsets>
<x-m>-0.0546</x-m>
<y-m>-0.0432</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">literal</type>
<text>MANAGED</text>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>managed-spd</name>
<offsets>
<x-m>-0.0508</x-m>
<y-m>-0.0432</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/flight-management/spd-manager/descent/managed-speed</property>
<truncate type="bool">false</truncate>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>managed-spd-mach</name>
<offsets>
<x-m>-0.0508</x-m>
<y-m>-0.0432</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%1.2f</format>
<property>/flight-management/spd-manager/descent/managed-speed</property>
<truncate type="bool">false</truncate>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>selected-label</name>
<offsets>
<x-m>-0.0469</x-m>
<y-m>-0.0432</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">literal</type>
<text>SELECTED</text>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>selected-spd</name>
<offsets>
<x-m>-0.0431</x-m>
<y-m>-0.0432</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/flight-management/fcu-values/ias</property>
<truncate type="bool">false</truncate>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>selected-mach</name>
<offsets>
<x-m>-0.0431</x-m>
<y-m>-0.0432</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/flight-management/fcu-values/mach</property>
<truncate type="bool">false</truncate>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>pred-label</name>
<offsets>
<x-m>-0.0606</x-m>
<y-m>0.0332</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">literal</type>
<text>PRED TO</text>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>pred-to</name>
<offsets>
<x-m>-0.0606</x-m>
<y-m>0.0450</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">literal</type>
<text>(DECEL)</text>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>pred-utc-label</name>
<offsets>
<x-m>-0.0546</x-m>
<y-m>0</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">literal</type>
<text>UTC</text>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>pred-dist-label</name>
<offsets>
<x-m>-0.0546</x-m>
<y-m>0.0450</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">literal</type>
<text>DIST</text>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>pred-utc</name>
<offsets>
<x-m>-0.0508</x-m>
<y-m>0</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%04.0f</format>
<property>/flight-management/vnav/decel-eta</property>
<truncate type="bool">false</truncate>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>pred-dist</name>
<offsets>
<x-m>-0.0508</x-m>
<y-m>0.0450</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%5.0f</format>
<property>/flight-management/vnav/decel-dist-nm</property>
<truncate type="bool">false</truncate>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<!--text>
<name>cyan</name>
<offsets>
<x-m>-0.0508</x-m>
<y-m>-0.0432</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/flight-management/spd-manager/descent/spd1</property>
<truncate type="bool">false</truncate>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>cyan</name>
<offsets>
<x-m>-0.0431</x-m>
<y-m>-0.0432</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/flight-management/spd-manager/descent/spd2</property>
<truncate type="bool">false</truncate>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>cyan</name>
<offsets>
<x-m>-0.0343</x-m>
<y-m>-0.0432</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%0.2f</format>
<property>/flight-management/spd-manager/descent/mach</property>
<truncate type="bool">false</truncate>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text-->
<text>
<name>green</name>
<offsets>
<x-m>-0.0704</x-m>
<y-m>-0.0432</y-m>
<z-m>-0.0006</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<property>/flight-management/spd-manager/descent/mode</property>
<truncate type="bool">false</truncate>
<font type="string">courier-bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.003</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
</PropertyList>