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/clb.xml

871 lines
23 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>clb.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-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>presel-spd</object-name>
<object-name>presel-brackets</object-name>
<object-name>presel-prompt</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>presel-spd</object-name>
<object-name>presel-label</object-name>
<object-name>presel-brackets</object-name>
<object-name>presel-prompt</object-name>
<object-name>managed-prompt</object-name>
<object-name>title-white</object-name>
<condition>
<equals>
<property>flight-management/phase</property>
<value>T/O</value>
</equals>
</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>CLB</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>presel-spd</object-name>
<condition>
<greater-than>
<property>/flight-management/spd-manager/climb/spd1</property>
<value>0</value>
</greater-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>presel-brackets</object-name>
<object-name>presel-prompt</object-name>
<condition>
<equals>
<property>/flight-management/spd-manager/climb/spd1</property>
<value>0</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>managed-prompt</object-name>
<condition>
<equals>
<property>/flight-management/spd-manager/climb/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>CLB</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>CLB</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>CLB</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>
<!-- 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/climb/mode") == "MANAGED (F-PLN)")
setprop("/flight-management/spd-manager/climb/mode", "MANAGED (PERF)");
else
setprop("/flight-management/spd-manager/climb/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>
if(getprop('flight-management/phase') == 'T/O'){
setprop("/flight-management/spd-manager/climb/spd1", '');
setprop("/flight-management/spd-manager/climb/mode", 'MANAGED');
}
</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>
if(getprop('flight-management/phase') == 'T/O'){
var input = getprop("/instrumentation/mcdu/input");
if(size(string.trim(input))){
if(num(input) != nil){
setprop("/flight-management/spd-manager/climb/spd1", input);
setprop("/flight-management/spd-manager/climb/mode", 'SELECTED');
}
} else {
setprop("/flight-management/spd-manager/climb/spd1", '');
setprop("/flight-management/spd-manager/climb/mode", 'MANAGED');
}
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/climb/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>
if(getprop('flight-management/phase') == 'T/O')
setprop("/instrumentation/mcdu/page", "perf");
</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-crz");
</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>CLB</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>CLB</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/climb/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-prompt</name>
<offsets>
<x-m>-0.0508</x-m>
<y-m>-0.0462</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>*</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-brackets</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/fmgc-values/target-spd</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>presel-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>PRESEL</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>presel-brackets</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">literal</type>
<text>[ ]</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>presel-prompt</name>
<offsets>
<x-m>-0.0431</x-m>
<y-m>-0.0462</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>*</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>presel-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/spd-manager/climb/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>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">number-value</type>
<format type="string">FL%3.0f</format>
<property>/flight-management/crz_fl</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-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/tc-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/tc-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.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/climb/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/climb/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/climb/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>