<?xml version="1.0" encoding="UTF-8"?>

<!-- 
Checklist: Pre Traffic Pattern

Adapted from Lockheed Super Constallation Crew Operating Manual, 1952, p96
@see http://www.avialogs.com/viewer/avialogs-documentviewer.php?id=3447

Checklist items copied from the Lake of Constance Hangar, M. Kraus.

Some items from the original checklist have been omitted because they are
not included in the current Flightgear model. These may be added as the
cockpit and flight engineer's station develops. Comments have been included
at the relevant places in the checklist.

Some additional items have been added to guide the Flightgear pilot. These
are indicated in the comments by an asterisk.
-->

<PropertyList>

  <title>Pre Traffic Pattern</title>

  <!-- Landing Weight* - CHECK -->
  <item>
    <name>Gross Weight</name>
    <value>BELOW MLW</value>
    <condition>
      <less-than-equals>
        <property>fdm/jsbsim/inertia/weight-lbs</property>
        <property>limits/mass-and-balance/maximum-landing-mass-lbs</property>
      </less-than-equals>
    </condition>
    <binding>
      <command>nasal</command>
      <script>Lockheed1049h.show_weight_dialog();</script>
    </binding>
  </item>

  <!-- Landing Lights* - EXTEND AND ON -->
  <item>
    <name>Landing Lights</name>
    <value>EXTEND AND ON</value>
    <marker>
      <x-m>-14.8900</x-m>
      <y-m>-0.1000</y-m>
      <z-m>1.6100</z-m>
      <scale>3.8000</scale>
    </marker>
    <condition>
      <and>
        <equals>
          <property>controls/lighting/landing-extend-left</property>
          <value>1</value>
        </equals>
        <equals>
          <property>controls/lighting/landing-extend-right</property>
          <value>1</value>
        </equals>
        <equals>
          <property>controls/lighting/landing-left</property>
          <value>1</value>
        </equals>
        <equals>
          <property>controls/lighting/landing-right</property>
          <value>1</value>
        </equals>
      </and>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/lighting/landing-extend-left</property>
      <value>1</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/lighting/landing-extend-right</property>
      <value>1</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/lighting/landing-left</property>
      <value>1</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/lighting/landing-right</property>
      <value>1</value>
    </binding>
  </item>

  <!-- Autopilot Servo Disconnect Levers - OFF -->

  <!-- Brakes - CHECKED -->
  <item>
    <name>Parking Brake</name>
    <value>OFF</value>
    <marker>
      <x-m>-15.4300</x-m>
      <y-m>-0.1700</y-m>
      <z-m>0.5600</z-m>
      <scale>3.6000</scale>
    </marker>
    <condition>
      <equals>
        <property>controls/gear/brake-parking</property>
        <value>0</value>
      </equals>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/gear/brake-parking</property>
      <value>0</value>
    </binding>
  </item>

  <!-- Ordinance Lights (Seat Belts / No Smoking) - ON -->
  <item>
    <name>No Smoking Signs</name>
    <value>ON</value>
    <marker>
      <x-m>-14.8900</x-m>
      <y-m>-0.0300</y-m>
      <z-m>1.5700</z-m>
      <scale>1.0000</scale>
    </marker>
    <condition>
      <equals>
        <property>controls/switches/no-smoking-signs</property>
        <value>1</value>
      </equals>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/switches/no-smoking-signs</property>
      <value>1</value>
    </binding>
  </item>

  <item>
    <name>Seat Belt Signs</name>
    <value>ON</value>
    <marker>
      <x-m>-14.8900</x-m>
      <y-m>-0.0100</y-m>
      <z-m>1.5700</z-m>
      <scale>1.0000</scale>
    </marker>
    <condition>
      <equals>
        <property>controls/switches/seat-belt-signs</property>
        <value>1</value>
      </equals>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/switches/seat-belt-signs</property>
      <value>1</value>
    </binding>
  </item>

  <!-- Altimeter Setting - SET -->
  <item>
    <name>Altimeter</name>
    <value>QNH BELOW TA</value>
    <marker>
      <x-m>-15.6500</x-m>
      <y-m>-0.3500</y-m>
      <z-m>0.9400</z-m>
      <scale>4.4000</scale>
    </marker>
  </item>

  <!-- Blowers - LOW -->
  <item>
    <name>Blowers</name>
    <value>LOW</value>
    <marker>
      <x-m>-14.2463</x-m>
      <y-m>1.0066</y-m>
      <z-m>0.7793</z-m>
      <scale>4.6529</scale>
    </marker>
    <condition>
      <and>
        <equals>
          <property>fdm/jsbsim/propulsion/engine[0]/boost-speed</property>
          <value>0</value>
        </equals>
        <equals>
          <property>fdm/jsbsim/propulsion/engine[1]/boost-speed</property>
          <value>0</value>
        </equals>
        <equals>
          <property>fdm/jsbsim/propulsion/engine[2]/boost-speed</property>
          <value>0</value>
        </equals>
        <equals>
          <property>fdm/jsbsim/propulsion/engine[3]/boost-speed</property>
          <value>0</value>
        </equals>
      </and>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>fdm/jsbsim/propulsion/engine[0]/boost-speed</property>
      <value>0</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>fdm/jsbsim/propulsion/engine[1]/boost-speed</property>
      <value>0</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>fdm/jsbsim/propulsion/engine[2]/boost-speed</property>
      <value>0</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>fdm/jsbsim/propulsion/engine[3]/boost-speed</property>
      <value>0</value>
    </binding>
  </item>

  <!-- Fuel Tank Selectors - 1, 2A, 3A, 4 -->
  <item>
    <name>Fuel Tank Selectors</name>
    <value>1/2A/3A/4</value>
    <marker>
      <x-m>-14.0050</x-m>
      <y-m>0.9843</y-m>
      <z-m>0.7793</z-m>
      <scale>6.4876</scale>
    </marker>
    <condition>
      <and>
        <equals>
          <property>controls/fuel/tankvalve[0]</property>
          <value>1</value>
        </equals>
        <equals>
          <property>controls/fuel/tankvalve[1]</property>
          <value>2</value>
        </equals>
        <equals>
          <property>controls/fuel/tankvalve[2]</property>
          <value>2</value>
        </equals>
        <equals>
          <property>controls/fuel/tankvalve[3]</property>
          <value>1</value>
        </equals>
      </and>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/fuel/tankvalve[0]</property>
      <value>1</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/fuel/tankvalve[1]</property>
      <value>2</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/fuel/tankvalve[2]</property>
      <value>2</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/fuel/tankvalve[3]</property>
      <value>1</value>
    </binding>
  </item>

  <!-- Crossfeed valves - CLOSED -->
  <item>
    <name>Crossfeed Valves</name>
    <value>CLOSE</value>
    <marker>
      <x-m>-14.5397</x-m>
      <y-m>0.7041</y-m>
      <z-m>0.1107</z-m>
      <scale>4.9339</scale>
    </marker>
    <condition>
      <and>
        <equals>
          <property>controls/fuel/crossfeedvalve[0]</property>
          <value>0</value>
        </equals>
        <equals>
          <property>controls/fuel/crossfeedvalve[1]</property>
          <value>0</value>
        </equals>
        <equals>
          <property>controls/fuel/crossfeedvalve[2]</property>
          <value>0</value>
        </equals>
        <equals>
          <property>controls/fuel/crossfeedvalve[3]</property>
          <value>0</value>
        </equals>
      </and>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/fuel/crossfeedvalve[0]</property>
      <value>0</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/fuel/crossfeedvalve[1]</property>
      <value>0</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/fuel/crossfeedvalve[2]</property>
      <value>0</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/fuel/crossfeedvalve[3]</property>
      <value>0</value>
    </binding>
  </item>

  <!-- Center Section Fuel Valve - OFF -->
  <item>
    <name>Center Section Fuel Valve</name>
    <value>OFF</value>
    <marker>
      <x-m>-14.5397</x-m>
      <y-m>0.6231</y-m>
      <z-m>0.1107</z-m>
      <scale>3.7769</scale>
    </marker>
    <condition>
      <equals>
        <property>controls/fuel/tankvalve[4]</property>
        <value>0</value>
      </equals>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/fuel/tankvalve[4]</property>
      <value>0</value>
    </binding>
  </item>

  <!-- Cabin Pressure - LANDING -->

  <!-- Continuous tasks -->
  <item>
    <name/>
    <value/>
  </item>
  <item>
    <name>Throughout descent:</name>
    <value/>
  </item>

  <!-- Cowl Flaps - AS REQUIRED -->
  <item>
    <name>Cowl Flaps (Maintain 100-225*C CHT)</name>
    <value>AS REQUIRED</value>
    <marker>
      <x-m>-14.4800</x-m>
      <y-m>0.8100</y-m>
      <z-m>1.0900</z-m>
      <scale>6.2000</scale>
    </marker>
  </item>

  <!-- Mixtures* - AS REQUIRED -->
  <item>
    <name>Mixtures</name>
    <value>MAX BMEP</value>
    <marker>
      <x-m>-14.3200</x-m>
      <y-m>0.7900</y-m>
      <z-m>1.2000</z-m>
      <scale>4.6000</scale>
    </marker>
  </item>

</PropertyList>
