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/Systems/autopilot-dlg.xml
Joshua Davidson a3ff8a0b4e ITAF Update
2017-04-02 18:32:04 -04:00

1071 lines
23 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<!-- IT-AUTOFLIGHT Autopilot Control Dialog -->
<PropertyList>
<name>autopilot</name>
<layout>vbox</layout>
<pref-width>260</pref-width>
<group>
<layout>hbox</layout>
<text>
<halign>left</halign>
<label>IT-AUTOFLIGHT System</label>
</text>
<button>
<halign>right</halign>
<pref-width>20</pref-width>
<pref-height>20</pref-height>
<legend>X</legend>
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
<hrule/>
<group>
<layout>hbox</layout>
<button>
<legend>A/T</legend>
<pref-width>35</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/input/athr</property>
</binding>
</button>
<button>
<legend>AP1</legend>
<pref-width>35</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/input/ap1</property>
</binding>
</button>
<button>
<legend>AP2</legend>
<pref-width>35</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/input/ap2</property>
</binding>
</button>
<button>
<enable>
<equals>
<property>/it-autoflight/settings/enable-cws</property>
<value>1</value>
</equals>
</enable>
<legend>CWS</legend>
<pref-width>35</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/input/cws</property>
</binding>
</button>
<button>
<legend>FD1</legend>
<pref-width>35</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/input/fd1</property>
</binding>
</button>
<button>
<legend>FD2</legend>
<pref-width>35</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/input/fd2</property>
</binding>
</button>
</group>
<group>
<layout>hbox</layout>
<text>
<label>[A/T]</label>
<visible>
<equals>
<property>/it-autoflight/output/athr</property>
<value>1</value>
</equals>
</visible>
</text>
<text>
<label>[AP1]</label>
<visible>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
</visible>
</text>
<text>
<label>[AP2]</label>
<visible>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</visible>
</text>
<text>
<label>[CWS]</label>
<visible>
<equals>
<property>/it-autoflight/output/cws</property>
<value>1</value>
</equals>
</visible>
</text>
<text>
<label>[FD1]</label>
<visible>
<equals>
<property>/it-autoflight/output/fd1</property>
<value>1</value>
</equals>
</visible>
</text>
<text>
<label>[FD2]</label>
<visible>
<equals>
<property>/it-autoflight/output/fd2</property>
<value>1</value>
</equals>
</visible>
</text>
</group>
<group>
<layout>vbox</layout>
<group>
<layout>hbox</layout>
<hrule>
<stretch type="bool">true</stretch>
</hrule>
<text>
<label>Flight Modes</label>
</text>
<hrule>
<stretch type="bool">true</stretch>
</hrule>
</group>
<group>
<layout>hbox</layout>
<text>
<border>1</border>
<label>999999</label>
<valign>center</valign>
<property>/it-autoflight/mode/thr</property>
<live>1</live>
</text>
<vrule/>
<text>
<border>1</border>
<label>99999</label>
<valign>center</valign>
<property>/it-autoflight/mode/arm</property>
<live>1</live>
</text>
<vrule/>
<text>
<border>1</border>
<label>99999</label>
<valign>center</valign>
<property>/it-autoflight/mode/lat</property>
<live>1</live>
</text>
<vrule/>
<text>
<border>1</border>
<label>99999999</label>
<valign>center</valign>
<property>/it-autoflight/mode/vert</property>
<live>1</live>
</text>
</group>
<group>
<layout>hbox</layout>
<hrule>
<stretch type="bool">true</stretch>
</hrule>
<text>
<label>Thrust Mode</label>
</text>
<hrule>
<stretch type="bool">true</stretch>
</hrule>
</group>
<group>
<layout>hbox</layout>
<button>
<legend>SPD</legend>
<pref-width>55</pref-width>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</binding>
</button>
<button>
<legend>Mach</legend>
<pref-width>55</pref-width>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</binding>
</button>
<button>
<legend>FMS</legend>
<pref-width>55</pref-width>
<enable>
<property>/it-autoflight/input/fms-spd</property>
</enable>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/fms-spd</property>
<value>1</value>
</binding>
</button>
<button>
<legend>TOGA</legend>
<pref-width>55</pref-width>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/toga</property>
<value>1</value>
</binding>
</button>
</group>
<group>
<layout>table</layout>
<text>
<row>0</row>
<col>0</col>
<label>SPD: </label>
</text>
<button>
<row>0</row>
<col>1</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&lt;&lt;</legend>
<enable>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/spd-kts</property>
<min>0</min>
<max>380</max>
<step>-10</step>
<wrap>false</wrap>
</binding>
</button>
<button>
<row>0</row>
<col>2</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&lt;</legend>
<enable>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/spd-kts</property>
<min>0</min>
<max>380</max>
<step>-1</step>
<wrap>false</wrap>
</binding>
</button>
<input>
<row>0</row>
<col>3</col>
<pref-width>50</pref-width>
<property>/it-autoflight/input/spd-kts</property>
<live type="bool">true</live>
<enable>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</enable>
<binding>
<command>dialog-apply</command>
</binding>
</input>
<button>
<row>0</row>
<col>4</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&gt;</legend>
<enable>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/spd-kts</property>
<min>0</min>
<max>380</max>
<step>1</step>
<wrap>false</wrap>
</binding>
</button>
<button>
<row>0</row>
<col>5</col>
<halign>left</halign>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&gt;&gt;</legend>
<enable>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/spd-kts</property>
<min>0</min>
<max>380</max>
<step>10</step>
<wrap>false</wrap>
</binding>
</button>
</group>
<group>
<layout>table</layout>
<text>
<row>0</row>
<col>0</col>
<label>Mach:</label>
</text>
<button>
<row>0</row>
<col>1</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&lt;&lt;</legend>
<enable>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/spd-mach</property>
<min>0</min>
<max>0.99</max>
<step>-0.01</step>
<wrap>false</wrap>
</binding>
</button>
<button>
<row>0</row>
<col>2</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&lt;</legend>
<enable>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/spd-mach</property>
<min>0</min>
<max>0.99</max>
<step>-0.001</step>
<wrap>false</wrap>
</binding>
</button>
<input>
<row>0</row>
<col>3</col>
<pref-width>50</pref-width>
<property>/it-autoflight/input/spd-mach</property>
<live type="bool">true</live>
<enable>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</enable>
<binding>
<command>dialog-apply</command>
</binding>
</input>
<button>
<row>0</row>
<col>4</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&gt;</legend>
<enable>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/spd-mach</property>
<min>0</min>
<max>0.99</max>
<step>0.001</step>
<wrap>false</wrap>
</binding>
</button>
<button>
<row>0</row>
<col>5</col>
<halign>left</halign>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&gt;&gt;</legend>
<enable>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/spd-mach</property>
<min>0</min>
<max>0.99</max>
<step>0.01</step>
<wrap>false</wrap>
</binding>
</button>
</group>
<group>
<layout>hbox</layout>
<hrule>
<stretch type="bool">true</stretch>
</hrule>
<text>
<label>Lateral Mode</label>
</text>
<hrule>
<stretch type="bool">true</stretch>
</hrule>
</group>
<group>
<layout>hbox</layout>
<button>
<pref-width>50</pref-width>
<legend>HLD</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/lat</property>
<value>3</value>
</binding>
</button>
<button>
<pref-width>50</pref-width>
<legend>SEL</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/lat</property>
<value>0</value>
</binding>
</button>
<button>
<pref-width>50</pref-width>
<legend>LNAV</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/lat</property>
<value>1</value>
</binding>
</button>
<button>
<pref-width>65</pref-width>
<legend>VOR/LOC</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/lat</property>
<value>2</value>
</binding>
</button>
</group>
<group>
<layout>table</layout>
<text>
<row>0</row>
<col>0</col>
<label>HDG:</label>
</text>
<button>
<row>0</row>
<col>1</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&lt;&lt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/hdg</property>
<min>1</min>
<max>361</max>
<step>-10</step>
<wrap>true</wrap>
</binding>
</button>
<button>
<row>0</row>
<col>2</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&lt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/hdg</property>
<min>1</min>
<max>361</max>
<step>-1</step>
<wrap>true</wrap>
</binding>
</button>
<input>
<row>0</row>
<col>3</col>
<pref-width>40</pref-width>
<property>/it-autoflight/input/hdg</property>
<live type="bool">true</live>
<binding>
<command>dialog-apply</command>
</binding>
</input>
<button>
<row>0</row>
<col>4</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&gt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/hdg</property>
<min>1</min>
<max>361</max>
<step>1</step>
<wrap>true</wrap>
</binding>
</button>
<button>
<row>0</row>
<col>5</col>
<halign>left</halign>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&gt;&gt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/hdg</property>
<min>1</min>
<max>361</max>
<step>10</step>
<wrap>true</wrap>
</binding>
</button>
</group>
<group>
<layout>hbox</layout>
<checkbox>
<label>True HDG</label>
<property>/it-autoflight/input/trk</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<checkbox>
<label>Use NAV2</label>
<property>/it-autoflight/settings/use-nav2-radio</property>
<enable>
<not-equals>
<property>/it-autoflight/output/vert</property>
<value>2</value>
</not-equals>
</enable>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<checkbox>
<label>B/C</label>
<property>/it-autoflight/settings/use-backcourse</property>
<enable>
<property>/it-autoflight/settings/extra/unused-button</property>
</enable>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
</group>
<group>
<layout>hbox</layout>
<text>
<row>0</row>
<col>0</col>
<label>Bank Limit Select:</label>
</text>
<slider>
<row>0</row>
<col>0</col>
<halign>center</halign>
<pref-width>130</pref-width>
<property>/it-autoflight/input/bank-limit</property>
<step>5</step>
<min>5</min>
<max>30</max>
<live type="bool">true</live>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
</group>
<group>
<layout>hbox</layout>
<button>
<pref-width>70</pref-width>
<legend>AUTO</legend>
<binding>
<command>nasal</command>
<script>
var dbl = getprop("/it-autoflight/settings/default-bank-limit");
setprop("/it-autoflight/input/bank-limit", dbl);
</script>
</binding>
</button>
<text>
<row>0</row>
<col>0</col>
<halign>right</halign>
<label>5 10 15 20 25 30</label>
</text>
</group>
<group>
<layout>hbox</layout>
<hrule>
<stretch type="bool">true</stretch>
</hrule>
<text>
<label>Vertical Mode</label>
</text>
<hrule>
<stretch type="bool">true</stretch>
</hrule>
</group>
<group>
<layout>hbox</layout>
<button>
<pref-width>40</pref-width>
<legend>HLD</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/vert</property>
<value>0</value>
</binding>
</button>
<button>
<pref-width>40</pref-width>
<legend>FLCH</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/vert</property>
<value>4</value>
</binding>
</button>
<button>
<pref-width>40</pref-width>
<legend>V/S</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/vert</property>
<value>1</value>
</binding>
</button>
<button>
<pref-width>40</pref-width>
<legend>FPA</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/vert</property>
<value>5</value>
</binding>
</button>
<button>
<pref-width>55</pref-width>
<legend>ILS</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/vert</property>
<value>2</value>
</binding>
</button>
</group>
<group>
<layout>hbox</layout>
<button>
<pref-width>55</pref-width>
<legend>VNAV</legend>
<enable>
<property>/it-autoflight/settings/vnav-test</property>
</enable>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/vert</property>
<value>8</value>
</binding>
</button>
<text>
<row>0</row>
<col>0</col>
<label>VNAV Command: </label>
</text>
<text>
<border>1</border>
<label>9999999999999</label>
<valign>center</valign>
<property>/it-autoflight/mode/prof</property>
<live>1</live>
</text>
</group>
<group>
<layout>table</layout>
<text>
<row>0</row>
<col>0</col>
<label>ALT: </label>
</text>
<button>
<row>0</row>
<col>1</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&lt;&lt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/alt</property>
<min>0</min>
<max>50000</max>
<step>-1000</step>
<wrap>false</wrap>
</binding>
</button>
<button>
<row>0</row>
<col>2</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&lt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/alt</property>
<min>0</min>
<max>50000</max>
<step>-100</step>
<wrap>false</wrap>
</binding>
</button>
<input>
<row>0</row>
<col>3</col>
<pref-width>55</pref-width>
<property>/it-autoflight/input/alt</property>
<live type="bool">true</live>
<binding>
<command>dialog-apply</command>
</binding>
</input>
<button>
<row>0</row>
<col>4</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&gt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/alt</property>
<min>0</min>
<max>50000</max>
<step>100</step>
<wrap>false</wrap>
</binding>
</button>
<button>
<row>0</row>
<col>5</col>
<halign>left</halign>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&gt;&gt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/alt</property>
<min>0</min>
<max>50000</max>
<step>1000</step>
<wrap>false</wrap>
</binding>
</button>
</group>
<group>
<layout>table</layout>
<text>
<row>0</row>
<col>0</col>
<label>V/S: </label>
</text>
<button>
<row>0</row>
<col>1</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&lt;&lt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/vs</property>
<min>-6000</min>
<max>6000</max>
<step>-1000</step>
<wrap>false</wrap>
</binding>
</button>
<button>
<row>0</row>
<col>2</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&lt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/vs</property>
<min>-6000</min>
<max>6000</max>
<step>-100</step>
<wrap>false</wrap>
</binding>
</button>
<input>
<row>0</row>
<col>3</col>
<pref-width>55</pref-width>
<property>/it-autoflight/input/vs</property>
<live type="bool">true</live>
<binding>
<command>dialog-apply</command>
</binding>
</input>
<button>
<row>0</row>
<col>4</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&gt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/vs</property>
<min>-6000</min>
<max>6000</max>
<step>100</step>
<wrap>false</wrap>
</binding>
</button>
<button>
<row>0</row>
<col>5</col>
<halign>left</halign>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&gt;&gt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/vs</property>
<min>-6000</min>
<max>6000</max>
<step>1000</step>
<wrap>false</wrap>
</binding>
</button>
</group>
<group>
<layout>table</layout>
<text>
<row>0</row>
<col>0</col>
<label>FPA:</label>
</text>
<button>
<row>0</row>
<col>1</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&lt;&lt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/fpa</property>
<min>-20.9</min>
<max>20.9</max>
<step>-1</step>
<wrap>false</wrap>
</binding>
</button>
<button>
<row>0</row>
<col>2</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&lt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/fpa</property>
<min>-20.9</min>
<max>20.9</max>
<step>-0.1</step>
<wrap>false</wrap>
</binding>
</button>
<input>
<row>0</row>
<col>3</col>
<pref-width>55</pref-width>
<property>/it-autoflight/input/fpa</property>
<live type="bool">true</live>
<binding>
<command>dialog-apply</command>
</binding>
</input>
<button>
<row>0</row>
<col>4</col>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&gt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/fpa</property>
<min>-20.9</min>
<max>20.9</max>
<step>0.1</step>
<wrap>false</wrap>
</binding>
</button>
<button>
<row>0</row>
<col>5</col>
<halign>left</halign>
<pref-width>25</pref-width>
<pref-height>25</pref-height>
<legend>&gt;&gt;</legend>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/fpa</property>
<min>-20.9</min>
<max>20.9</max>
<step>1</step>
<wrap>false</wrap>
</binding>
</button>
</group>
</group>
</PropertyList>