<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="checklist.xsl"?>

<PropertyList>
	<title>Parking + shut down</title>
	<page>
		<item>
			<name>Taxi Lights</name>
			<value>OFF</value>
			<condition>
				<not>
					<property>/controls/lighting/taxi-lights</property>
				</not>
			</condition>
			<binding>
				<command>property-assign</command>
				<property>/controls/lighting/taxi-lights</property>
				<value>0</value>
			</binding>	
		</item>
		<item>
			<name>Parking Brake</name>
			<value>SET</value>
			<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>
		<item>
			<name>Ground power</name>
			<value>SELECT</value>
			<condition>
				<property>/controls/electric/ac-service-selected</property>
			</condition>
			<binding>
				<command>property-assign</command>
				<property>/controls/electric/ac-service-selected</property>
				<value>1</value>
			</binding>
		</item>
		<item>
			<name>Throttle</name>
			<value>SHUT OFF</value>
			<condition>
				<and>
					<property>/controls/engines/engine[0]/cutoff</property>
					<property>/controls/engines/engine[1]/cutoff</property>
				</and>
			</condition>
			<binding>
				<command>property-assign</command>
				<property>/controls/engines/engine[0]/cutoff</property>
				<value>1</value>
			</binding>
			<binding>
				<command>property-assign</command>
				<property>/controls/engines/engine[1]/cutoff</property>
				<value>1</value>
			</binding>
		</item>	
		<item>
			<name>Fuel Pumps</name>
			<value>OFF</value>
			<condition>
				<and>
					<not><property>systems/fuel/boost-pump[0]/selected</property></not>
					<not><property>systems/fuel/boost-pump[1]/selected</property></not>
				</and>			
			</condition>
			<binding>
				<command>property-assign</command>
				<property>systems/fuel/boost-pump[0]/selected</property>
				<value>0</value>
			</binding>
			<binding>
				<command>property-assign</command>
				<property>systems/fuel/boost-pump[1]/selected</property>
				<value>0</value>
			</binding>
		</item>	
		<item>
			<name>Generator 1 and 2</name>
			<value>OFF</value>
			<condition>
				<and>
					<not><property>/controls/electric/engine[0]/generator</property></not>
					<not><property>/controls/electric/engine[1]/generator</property></not>
				</and>
			</condition>
			<binding>
				<command>property-assign</command>
				<property>/controls/electric/engine[0]/generator</property>
				<value>0</value>
			</binding>	
			<binding>
				<command>property-assign</command>
				<property>/controls/electric/engine[1]/generator</property>
				<value>0</value>
			</binding>	
		</item>
		<item>
			<name>Beacon</name>
			<value>OFF</value>
			<condition>
				<equals>
					<property>/controls/lighting/beacon</property>
					<value>0</value>
				</equals>
			</condition>
			<binding>
				<command>property-assign</command>
				<property>/controls/lighting/beacon</property>
				<value>0</value>
			</binding>
		</item>
		<item>
			<name>Lights</name>
			<value>AS REQUIRED</value>
		</item>
		<item>
			<name>Passenger signs</name>
			<value>OFF</value>
			<condition>
				<and>
					<equals>
						<property>/controls/switches/no-smoking-sign</property>
						<value>1</value>
					</equals>
					<equals>
						<property>/controls/switches/seatbelt-sign</property>
						<value>1</value>
					</equals>
				</and>
			</condition>
			<binding>
				<command>property-assign</command>
				<property>/controls/switches/no-smoking-sign</property>
				<value>1</value>
			</binding>		
			<binding>
				<command>property-assign</command>
				<property>/controls/switches/seatbelt-sign</property>
				<value>1</value>
			</binding>
		</item>
		<item>
			<name>Doors</name>
			<value>OPEN</value>
			<condition>
				<property>/sim/model/door-positions/pax-left/position-norm</property>
			</condition>
			<binding>
				<command>nasal</command>
				<script>
					CRJ700.dialogs.doors.open();
				</script>
			</binding>	
		</item>
		<item>
			<name>-- Shutdown --</name>
		</item>
		<item>
			<name>Anti-Ice Switches</name>
			<value>OFF</value>
			<condition>
				<and>
					<not><property>/controls/anti-ice/wing-heat</property></not>
					<not><property>/controls/anti-ice/engine[0]/inlet-heat</property></not>
					<not><property>/controls/anti-ice/engine[1]/inlet-heat</property></not>
				</and>
			</condition>
			<binding>
				<command>property-assign</command>
				<property>/controls/anti-ice/wing-heat</property>
				<value>0</value>
			</binding>
			<binding>
				<command>property-assign</command>
				<property>/controls/anti-ice/engine[0]/inlet-heat</property>
				<value>0</value>
			</binding>
			<binding>
				<command>property-assign</command>
				<property>/controls/anti-ice/engine[1]/inlet-heat</property>
				<value>0</value>
			</binding>
		</item>
		<item>
			<name>Hydraulic pump switch</name>
			<value>OFF</value>
			<condition>
				<not><or>
					<property>/controls/hydraulic/system[0]/pump-b</property>
					<property>/controls/hydraulic/system[1]/pump-b</property>
					<property>/controls/hydraulic/system[2]/pump-b</property>
					<property>/controls/hydraulic/system[2]/pump-a</property>
				</or></not>
			</condition>
			<binding>
				<command>property-assign</command>
				<property>/controls/hydraulic/system[0]/pump-b</property>
				<value>0</value>
			</binding>
			<binding>
				<command>property-assign</command>
				<property>/controls/hydraulic/system[1]/pump-b</property>
				<value>0</value>
			</binding>
			<binding>
				<command>property-assign</command>
				<property>/controls/hydraulic/system[2]/pump-b</property>
				<value>0</value>
			</binding>
			<binding>
				<command>property-assign</command>
				<property>/controls/hydraulic/system[2]/pump-a</property>
				<value>0</value>
			</binding>
		</item>
		
		
		<item>
			<name>Lights</name>
			<value>OFF</value>
		</item>
		<item>
			<name>Battery Master</name>
			<value>OFF</value>
			<condition>
				<equals>
					<property>/controls/electric/battery-switch</property>
					<value>0</value>
				</equals>
			</condition>
			<binding>
				<command>property-assign</command>
				<property>/controls/electric/battery-switch</property>
				<value>0</value>
			</binding>	
		</item>
	</page>
</PropertyList>
