<?xml version="1.0" encoding="UTF-8" ?>
<!-- based on Bombardier CRJ700 series by Ryan Miller et.al. -->

<PropertyList>

	<colors>
		<amber>
			<red>1</red>
			<green>0.682</green>
			<blue>0</blue>
		</amber>
		<green>
			<red>0.133</red>
			<green>0.663</green>
			<blue>0.145</blue>
		</green>
		<cyan>
			<red>0</red>
			<green>1</green>
			<blue>1</blue>
		</cyan>
		<red>
			<red>1</red>
			<green>0</green>
			<blue>0</blue>
		</red>
		<white>
			<red>1</red>
			<green>1</green>
			<blue>1</blue>
		</white>
	</colors>

	<!-- Warnings -->
	<message>
		<priority type="int">0</priority>
		<text type="string">L ENG FIRE</text>
		<color>
			<red alias="../../../colors/red/red" />
			<green alias="../../../colors/red/green" />
			<blue alias="../../../colors/red/blue" />
		</color>
		<condition>
			<property>engines/engine[0]/on-fire</property>
		</condition>
	</message>
	<message>
		<priority type="int">0</priority>
		<text type="string">R ENG FIRE</text>
		<color>
			<red alias="../../../colors/red/red" />
			<green alias="../../../colors/red/green" />
			<blue alias="../../../colors/red/blue" />
		</color>
		<condition>
			<property>engines/engine[1]/on-fire</property>
		</condition>
	</message>
	<message>
		<priority type="int">0</priority>
		<text type="string">L OIL PRESSURE LOW</text>
		<color>
			<red alias="../../../colors/red/red" />
			<green alias="../../../colors/red/green" />
			<blue alias="../../../colors/red/blue" />
		</color>
		<condition>
			<less-than>
				<property>engines/engine[0]/oil-pressure-psi-corrected</property>
				<value>40</value>
			</less-than>
		</condition>
	</message>
	<message>
		<priority type="int">0</priority>
		<text type="string">R OIL PRESSURE LOW</text>
		<color>
			<red alias="../../../colors/red/red" />
			<green alias="../../../colors/red/green" />
			<blue alias="../../../colors/red/blue" />
		</color>
		<condition>
			<less-than>
				<property>engines/engine[1]/oil-pressure-psi-corrected</property>
				<value>40</value>
			</less-than>
		</condition>
	</message>
	<message>
		<priority type="int">0</priority>
		<text type="string">BATTERY 1 HOT</text>
		<color>
			<red alias="../../../colors/red/red" />
			<green alias="../../../colors/red/green" />
			<blue alias="../../../colors/red/blue" />
		</color>
		<condition>
			<greater-than>
				<property>systems/electrical/battery-temperature[0]</property>
				<value>100</value>	<!--	TODO find out value	-->
			</greater-than>
		</condition>
	</message>
	<message>
		<priority type="int">0</priority>
		<text type="string">BATTERY 2 HOT</text>
		<color>
			<red alias="../../../colors/red/red" />
			<green alias="../../../colors/red/green" />
			<blue alias="../../../colors/red/blue" />
		</color>
		<condition>
			<greater-than>
				<property>systems/electrical/battery-temperature[1]</property>
				<value>100</value>	<!--	TODO find out value	-->
			</greater-than>
		</condition>
	</message>
	<message>
		<priority type="int">0</priority>
		<text type="string">DOORS</text>
		<color>
			<red alias="../../../colors/red/red" />
			<green alias="../../../colors/red/green" />
			<blue alias="../../../colors/red/blue" />
		</color>
		<condition>
			<or>
				<not-equals>
					<property>doors/pilot-pos-norm</property>
					<value>0.0</value>
				</not-equals>
				<not-equals>
					<property>doors/passenger-pos-norm</property>
					<value>0.0</value>
				</not-equals>
			</or>
		</condition>
	</message>

	<!-- Cautions -->
	<message>
		<priority type="int">1</priority>
		<text type="string">L GENERATOR</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<less-than>
				<property>engines/engine[0]/amp-v</property>
				<value>20</value>
			</less-than>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">R GENERATOR</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<less-than>
				<property>engines/engine[1]/amp-v</property>
				<value>20</value>
			</less-than>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">BATTERY 1</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<less-than>
				<property>systems/electrical/battery-volts[0]</property>
				<value>20</value>
			</less-than>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">BATTERY 2</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<less-than>
				<property>systems/electrical/battery-volts[1]</property>
				<value>20</value>
			</less-than>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">L FUEL PRESSURE LOW</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<property>instrumentation/eicas/fuel-pressure-low[0]</property>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">R FUEL PRESSURE LOW</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<property>instrumentation/eicas/fuel-pressure-low[1]</property>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">L FUEL QTY LOW</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<less-than>
				<property>consumables/fuel/tank[2]/level-lbs</property>
				<value>180</value>
			</less-than>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">R FUEL QTY LOW</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<less-than>
				<property>consumables/fuel/tank[3]/level-lbs</property>
				<value>180</value>
			</less-than>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">L FUEL FILTER BYPASS</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<not>
				<property>systems/fuel/filter-serviceable[0]</property>
			</not>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">R FUEL FILTER BYPASS</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<not>
				<property>systems/fuel/filter-serviceable[1]</property>
			</not>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">L INLET ANTI-ICE FAIL</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<not>
				<property>systems/anti-ice/inlet[0]/serviceable</property>
			</not>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">R INLET ANTI-ICE FAIL</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<not>
				<property>systems/anti-ice/inlet[1]/serviceable</property>
			</not>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">L PITOT HEATING</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<or>
				<less-than>
					<property>systems/electrical/outputs/pitot-heating[0]</property>
					<value>20</value>
				</less-than>
				<not>
					<property>systems/anti-ice/pitot[0]/serviceable</property>
				</not>
			</or>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">R PITOT HEATING</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<or>
				<less-than>
					<property>systems/electrical/outputs/pitot-heating[1]</property>
					<value>20</value>
				</less-than>
				<not>
					<property>systems/anti-ice/pitot[1]/serviceable</property>
				</not>
			</or>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">L WINDSHIELD HOT</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<greater-than>
				<property>systems/anti-ice/windshield[0]/temperature-degc</property>
				<value>55</value>
			</greater-than>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">R WINDSHIELD HOT</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<greater-than>
				<property>systems/anti-ice/windshield[1]/temperature-degc</property>
				<value>55</value>
			</greater-than>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">START SELECTOR GROUND</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<not-equals>
				<property>controls/engines/start-selector</property>
				<value>-1</value>
			</not-equals>
			<or>
				<greater-than>
					<property>controls/engines/engine[0]/propeller-pitch</property>
					<value>0.1</value>
				</greater-than>
				<greater-than>
					<property>controls/engines/engine[1]/propeller-pitch</property>
					<value>0.1</value>
				</greater-than>
			</or>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">NWS 45°</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<not>
				<property>gear/nws-45-serviceable</property>
			</not>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">NWS BYPASS</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<equals>
				<property>controls/gear/nws-switch</property>
				<value>2</value>
			</equals>
		</condition>
	</message>
	<!--	TODO simulate bleed pressure and environmental control system -->
	<!--<message>
		<priority type="int">1</priority>
		<text type="string">BLEED PRESSURE HIGH</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">CABIN HOT</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
		</condition>
	</message>-->
	<message>
		<priority type="int">1</priority>
		<text type="string">FLAPS FAIL</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<less-than>
				<property>systems/electrical/outputs/flaps-ctl</property>
				<value>20</value>
			</less-than>
		</condition>
	</message>
	<!--		TODO implement realistic pitch trim system
	<message>
		<priority type="int">1</priority>
		<text type="string">PITCH TRIM FAIL</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			(ref. [1] p.7-21): this message comes on when:
				* pitch trim motor runs without command
				* pitch trim motor runs not despite command
				* pitch trim motor runs opposite to command
		</condition>
	</message>-->
	<message>
		<priority type="int">1</priority>
		<text type="string">MAINTENANCE SWITCH</text>
		<color>
			<red alias="../../../colors/amber/red" />
			<green alias="../../../colors/amber/green" />
			<blue alias="../../../colors/amber/blue" />
		</color>
		<condition>
			<not-equals>
				<property>controls/maintenance-switch</property>
				<value>0</value>
			</not-equals>
		</condition>
	</message>
	
	<!-- Information -->
	<message>
		<priority type="int">1</priority>
		<text type="string">VHF1 HOT ACTIVE</text>
		<color>
			<red alias="../../../colors/cyan/red" />
			<green alias="../../../colors/cyan/green" />
			<blue alias="../../../colors/cyan/blue" />
		</color>
		<condition>
			<property>controls/electric/vhf1-hot</property>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">SURFACE DE-ICE ON</text>
		<color>
			<red alias="../../../colors/cyan/red" />
			<green alias="../../../colors/cyan/green" />
			<blue alias="../../../colors/cyan/blue" />
		</color>
		<condition>
			<greater-than>
				<property>systems/electrical/outputs/surf-de-ice</property>
				<value>20</value>
			</greater-than>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">L INLET ANTI-ICE ON</text>
		<color>
			<red alias="../../../colors/cyan/red" />
			<green alias="../../../colors/cyan/green" />
			<blue alias="../../../colors/cyan/blue" />
		</color>
		<condition>
			<greater-than>
				<property>systems/electrical/outputs/inlet-anti-ice[0]</property>
				<value>20</value>
			</greater-than>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">R INLET ANTI-ICE ON</text>
		<color>
			<red alias="../../../colors/cyan/red" />
			<green alias="../../../colors/cyan/green" />
			<blue alias="../../../colors/cyan/blue" />
		</color>
		<condition>
			<greater-than>
				<property>systems/electrical/outputs/inlet-anti-ice[1]</property>
				<value>20</value>
			</greater-than>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">NWS 45°</text>
		<color>
			<red alias="../../../colors/cyan/red" />
			<green alias="../../../colors/cyan/green" />
			<blue alias="../../../colors/cyan/blue" />
		</color>
		<condition>
			<property>/controls/gear/nws-45-button</property>
		</condition>
	</message>
	<!--			TODO		-->
	<!--<message>
		<priority type="int">1</priority>
		<text type="string">CAWS POWER FAIL</text>
		<color>
			<red alias="../../../colors/cyan/red" />
			<green alias="../../../colors/cyan/green" />
			<blue alias="../../../colors/cyan/blue" />
		</color>
		<condition>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">FDR FAIL</text>
		<color>
			<red alias="../../../colors/cyan/red" />
			<green alias="../../../colors/cyan/green" />
			<blue alias="../../../colors/cyan/blue" />
		</color>
		<condition>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">FDAU FAIL</text>
		<color>
			<red alias="../../../colors/cyan/red" />
			<green alias="../../../colors/cyan/green" />
			<blue alias="../../../colors/cyan/blue" />
		</color>
		<condition>
		</condition>
	</message>
	<message>
		<priority type="int">1</priority>
		<text type="string">CVR FAIL</text>
		<color>
			<red alias="../../../colors/cyan/red" />
			<green alias="../../../colors/cyan/green" />
			<blue alias="../../../colors/cyan/blue" />
		</color>
		<condition>
		</condition>
	</message>-->
	
</PropertyList>
