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

<!-- 
Checklist: Parking

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>Parking</title>

  <!-- Brake Selector - EMER -->
  <item>
    <name>Parking Brake</name>
    <value>SET</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>1</value>
      </equals>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/gear/brake-parking</property>
      <value>1</value>
    </binding>
  </item>

  <!-- Taxi Light* - OFF -->
  <item>
    <name>Taxi Light</name>
    <value>OFF</value>
    <marker>
      <x-m>-15.2000</x-m>
      <y-m>-0.8600</y-m>
      <z-m>0.8500</z-m>
      <scale>1.0000</scale>
    </marker>
    <condition>
      <equals>
        <property>controls/lighting/taxi</property>
        <value>0</value>
      </equals>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/lighting/taxi</property>
      <value>0</value>
    </binding>
  </item>

  <!-- Battery Voltage - BAT -->
  <item>
    <name>DC Voltage Selector</name>
    <value>BAT</value>
    <marker>
      <x-m>-14.6620</x-m>
      <y-m>0.7868</y-m>
      <z-m>1.1562</z-m>
      <scale>1.7107</scale>
    </marker>
    <condition>
      <equals>
        <property>controls/switches/volts-select-dc</property>
        <value>2</value>
      </equals>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/switches/volts-select-dc</property>
      <value>2</value>
    </binding>
  </item>

  <!-- Advance throttles ready for shutdown* -->

  <item>
    <name>Advance Throttles</name>
    <value>1200-1500rpm</value>
    <marker>
      <x-m>-15.6400</x-m>
      <y-m>0.0100</y-m>
      <z-m>1.0100</z-m>
      <scale>4.4000</scale>
    </marker>
    <condition>
      <or>
        <and>
          <less-than-equals>
            <property>controls/engines/engine[0]/throttle</property>
            <value>0.62</value>
          </less-than-equals>
          <greater-than-equals>
            <property>controls/engines/engine[0]/throttle</property>
            <value>0.5</value>
          </greater-than-equals>
          <less-than-equals>
            <property>controls/engines/engine[1]/throttle</property>
            <value>0.62</value>
          </less-than-equals>
          <greater-than-equals>
            <property>controls/engines/engine[1]/throttle</property>
            <value>0.5</value>
          </greater-than-equals>
          <less-than-equals>
            <property>controls/engines/engine[2]/throttle</property>
            <value>0.62</value>
          </less-than-equals>
          <greater-than-equals>
            <property>controls/engines/engine[2]/throttle</property>
            <value>0.5</value>
          </greater-than-equals>
          <less-than-equals>
            <property>controls/engines/engine[3]/throttle</property>
            <value>0.62</value>
          </less-than-equals>
          <greater-than-equals>
            <property>controls/engines/engine[3]/throttle</property>
            <value>0.5</value>
          </greater-than-equals>
        </and>
        <and>
          <not>
            <property>engines/engine[0]/running</property>
          </not>
          <not>
            <property>engines/engine[1]/running</property>
          </not>
          <not>
            <property>engines/engine[2]/running</property>
          </not>
          <not>
            <property>engines/engine[3]/running</property>
          </not>
        </and>
      </or>
    </condition>
    <binding>
      <command>property-interpolate</command>
      <property>controls/engines/engine[0]/throttle</property>
      <value>0.62</value>
      <rate>0.5</rate>
    </binding>
    <binding>
      <command>property-interpolate</command>
      <property>controls/engines/engine[1]/throttle</property>
      <value>0.62</value>
      <rate>0.5</rate>
    </binding>
    <binding>
      <command>property-interpolate</command>
      <property>controls/engines/engine[2]/throttle</property>
      <value>0.62</value>
      <rate>0.5</rate>
    </binding>
    <binding>
      <command>property-interpolate</command>
      <property>controls/engines/engine[3]/throttle</property>
      <value>0.62</value>
      <rate>0.5</rate>
    </binding>
  </item>

  <!-- Mixtures* - CUT OFF -->
  <item>
    <name>Mixtures</name>
    <value>CUT OFF</value>
    <marker>
      <x-m>-14.1140</x-m>
      <y-m>0.8570</y-m>
      <z-m>0.7752</z-m>
      <scale>4.6529</scale>
    </marker>
    <condition>
      <equals>
        <property>controls/engines/engine[0]/mixture</property>
        <value>0</value>
      </equals>
      <equals>
        <property>controls/engines/engine[1]/mixture</property>
        <value>0</value>
      </equals>
      <equals>
        <property>controls/engines/engine[2]/mixture</property>
        <value>0</value>
      </equals>
      <equals>
        <property>controls/engines/engine[3]/mixture</property>
        <value>0</value>
      </equals>
    </condition>
    <binding>
      <command>property-interpolate</command>
      <property>controls/engines/engine[0]/mixture</property>
      <value>0</value>
      <rate>0.5</rate>
    </binding>
    <binding>
      <command>property-interpolate</command>
      <property>controls/engines/engine[1]/mixture</property>
      <value>0</value>
      <rate>0.5</rate>
    </binding>
    <binding>
      <command>property-interpolate</command>
      <property>controls/engines/engine[2]/mixture</property>
      <value>0</value>
      <rate>0.5</rate>
    </binding>
    <binding>
      <command>property-interpolate</command>
      <property>controls/engines/engine[3]/mixture</property>
      <value>0</value>
      <rate>0.5</rate>
    </binding>
  </item>

  <!-- Brake Selector - EMER -->
  <!-- All Unnecessary Switches - OFF -->
  <item>
    <name>Ignition Switches (1-4)</name>
    <value>OFF</value>
    <marker>
      <x-m>-14.8355</x-m>
      <y-m>-0.0612</y-m>
      <z-m>1.5818</z-m>
      <scale>1.9091</scale>
    </marker>
    <condition>
      <and>
        <equals>
          <property>controls/engines/engine[0]/magnetos</property>
          <value>0</value>
        </equals>
        <equals>
          <property>controls/engines/engine[1]/magnetos</property>
          <value>0</value>
        </equals>
        <equals>
          <property>controls/engines/engine[2]/magnetos</property>
          <value>0</value>
        </equals>
        <equals>
          <property>controls/engines/engine[3]/magnetos</property>
          <value>0</value>
        </equals>
      </and>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/engines/engine[0]/magnetos</property>
      <value>0</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/engines/engine[1]/magnetos</property>
      <value>0</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/engines/engine[2]/magnetos</property>
      <value>0</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/engines/engine[3]/magnetos</property>
      <value>0</value>
    </binding>
  </item>

  <!-- Beacon* - OFF -->
  <item>
    <name>Anti Collision Lights</name>
    <value>OFF</value>
    <marker>
      <x-m>-15.1300</x-m>
      <y-m>-0.8800</y-m>
      <z-m>0.8500</z-m>
      <scale>1.0000</scale>
    </marker>
    <condition>
      <equals>
        <property>controls/lighting/beacon/enabled</property>
        <value>0</value>
      </equals>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/lighting/beacon/enabled</property>
      <value>0</value>
    </binding>
  </item>

  <!-- Generators - OFF -->
  <item>
    <name>Generators (1-4)</name>
    <value>OFF</value>
    <marker>
      <x-m>-14.7760</x-m>
      <y-m>0.7868</y-m>
      <z-m>1.0215</z-m>
      <scale>1.7107</scale>
    </marker>
    <condition>
      <and>
        <equals>
          <property>controls/switches/generator[0]</property>
          <value>0</value>
        </equals>
        <equals>
          <property>controls/switches/generator[1]</property>
          <value>0</value>
        </equals>
        <equals>
          <property>controls/switches/generator[2]</property>
          <value>0</value>
        </equals>
        <equals>
          <property>controls/switches/generator[3]</property>
          <value>0</value>
        </equals>
      </and>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/switches/generator[0]</property>
      <value>0</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/switches/generator[1]</property>
      <value>0</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/switches/generator[2]</property>
      <value>0</value>
    </binding>
    <binding>
      <command>property-assign</command>
      <property>controls/switches/generator[3]</property>
      <value>0</value>
    </binding>
  </item>

  <!-- Cart Battery* - ON -->
  <item>
    <name>Cart Battery</name>
    <value>ON</value>
    <marker>
      <x-m>-14.7653</x-m>
      <y-m>0.7868</y-m>
      <z-m>0.9289</z-m>
      <scale>1.7107</scale>
    </marker>
    <condition>
      <equals>
        <property>controls/switches/battery-cart</property>
        <value>1</value>
      </equals>
    </condition>
    <binding>
      <command>property-assign</command>
      <property>controls/switches/battery-cart</property>
      <value>1</value>
    </binding>
  </item>

</PropertyList>
