A350-family/Systems/autopilot-dlg.xml
2020-08-01 13:24:32 +08:00

1081 lines
22 KiB
XML

<?xml version="1.0"?>
<!-- IT-AUTOFLIGHT Autopilot Control Dialog -->
<!-- Copyright (c) 2020 Joshua Davidson (Octal450) -->
<PropertyList>
<name>autopilot</name>
<layout>vbox</layout>
<pref-width>260</pref-width>
<group>
<layout>hbox</layout>
<text>
<halign>left</halign>
<label>IT-AUTOFLIGHT System (V4.0.X)</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>40</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/input/athr</property>
</binding>
</button>
<button>
<legend>AP1</legend>
<pref-width>40</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/input/ap1</property>
</binding>
</button>
<button>
<legend>AP2</legend>
<pref-width>40</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/input/ap2</property>
</binding>
</button>
<button>
<legend>FD1</legend>
<pref-width>40</pref-width>
<binding>
<command>property-toggle</command>
<property>/it-autoflight/input/fd1</property>
</binding>
</button>
<button>
<legend>FD2</legend>
<pref-width>40</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>[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>table</layout>
<text>
<row>0</row>
<col>0</col>
<visible>
<equals>
<property>/it-autoflight/mode/thr</property>
<value>PITCH</value>
</equals>
</visible>
<border>1</border>
<label> PITCH</label>
<valign>center</valign>
</text>
<text>
<row>0</row>
<col>0</col>
<visible>
<not-equals>
<property>/it-autoflight/mode/thr</property>
<value>PITCH</value>
</not-equals>
</visible>
<border>1</border>
<label>999999</label>
<valign>center</valign>
<property>/it-autoflight/mode/thr</property>
<live>1</live>
</text>
<vrule>
<row>0</row>
<col>1</col>
</vrule>
<text>
<row>0</row>
<col>2</col>
<border>1</border>
<label>99999</label>
<valign>center</valign>
<property>/it-autoflight/mode/arm</property>
<live>1</live>
</text>
<vrule>
<row>0</row>
<col>3</col>
</vrule>
<text>
<row>0</row>
<col>4</col>
<border>1</border>
<label>99999</label>
<valign>center</valign>
<property>/it-autoflight/mode/lat</property>
<live>1</live>
</text>
<vrule>
<row>0</row>
<col>5</col>
</vrule>
<text>
<row>0</row>
<col>6</col>
<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>70</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>70</pref-width>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</binding>
</button>
<button>
<legend>TOGA</legend>
<pref-width>70</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/kts</property>
<min>100</min>
<max>350</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/kts</property>
<min>100</min>
<max>350</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/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/kts</property>
<min>100</min>
<max>350</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/kts</property>
<min>100</min>
<max>350</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/mach</property>
<min>0.50</min>
<max>0.90</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/mach</property>
<min>0.50</min>
<max>0.90</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/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/mach</property>
<min>0.50</min>
<max>0.90</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/mach</property>
<min>0.50</min>
<max>0.90</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>Track</label>
<property>/it-autoflight/input/trk</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<checkbox>
<label>True</label>
<property>/it-autoflight/input/true-course</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<checkbox>
<label>Use NAV2 Radio</label>
<property>/it-autoflight/input/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>
</group>
<group>
<layout>hbox</layout>
<text>
<label>Bank Limit Degrees Select:</label>
</text>
</group>
<group>
<layout>hbox</layout>
<slider>
<halign>center</halign>
<pref-width>215</pref-width>
<property>/it-autoflight/input/bank-limit-sw</property>
<step>1</step>
<min>0</min>
<max>6</max>
<live type="bool">true</live>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
</group>
<group>
<layout>hbox</layout>
<text>
<halign>center</halign>
<label>AUTO 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>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>
<enable>
<equals>
<property>/it-autoflight/output/vert</property>
<value>1</value>
</equals>
</enable>
<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>
<enable>
<equals>
<property>/it-autoflight/output/vert</property>
<value>1</value>
</equals>
</enable>
<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>
<enable>
<equals>
<property>/it-autoflight/output/vert</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/output/vert</property>
<value>1</value>
</equals>
</enable>
<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>
<enable>
<equals>
<property>/it-autoflight/output/vert</property>
<value>1</value>
</equals>
</enable>
<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>
<enable>
<equals>
<property>/it-autoflight/output/vert</property>
<value>5</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/fpa</property>
<min>-9.9</min>
<max>9.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>
<enable>
<equals>
<property>/it-autoflight/output/vert</property>
<value>5</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/fpa</property>
<min>-9.9</min>
<max>9.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>
<enable>
<equals>
<property>/it-autoflight/output/vert</property>
<value>5</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/output/vert</property>
<value>5</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/fpa</property>
<min>-9.9</min>
<max>9.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>
<enable>
<equals>
<property>/it-autoflight/output/vert</property>
<value>5</value>
</equals>
</enable>
<binding>
<command>property-adjust</command>
<property>/it-autoflight/input/fpa</property>
<min>-9.9</min>
<max>9.9</max>
<step>1</step>
<wrap>false</wrap>
</binding>
</button>
</group>
</group>
</PropertyList>