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

<!-- Airbus A320 neo for FlightGear -->
<!-- ECAM Engine -->

<PropertyList>	
	<name>APU</name>
	<w-base>256</w-base>
	<h-base>256</h-base>

	<layers>
		<layer>
			<name>apu</name>
			<w>256</w>
			<h>256</h>
			<texture>
				<path>Aircraft/A320Family/Models/Instruments/ECAM/res/page-apu.png</path>
				<x1>0.0</x1>
				<y1>0.0</y1>
				<x2>1</x2>
				<y2>1</y2>
			</texture>
			<emissive>true</emissive>
		</layer>

		<layer>
			<name>apu-n-needle</name>
			<w>54</w>
			<h>6</h>
			<texture>
				<path>Aircraft/A320Family/Models/Instruments/ECAM/res/apu-needle.png</path>
				<x1>0.0</x1>
				<y1>0.0</y1>
				<x2>1</x2>
				<y2>1</y2>
			</texture>
			<emissive>true</emissive>
			<transformations>
				<transformation>
					<type>y-shift</type>
					<offset>-20</offset>
				</transformation>
				<transformation>
					<type>x-shift</type>
					<offset>-68</offset>
				</transformation>
				<transformation>
					<type>rotation</type>
					<offset>-30</offset>
					<scale>1.6</scale>
					<property>/systems/apu/rpm</property>
				</transformation>
			</transformations>
		</layer>

		<layer>
			<type>text</type>
			<name>APU N</name>
	 		<color>
		        	<red>0.1</red>
		        	<green>1.0</green>
		        	<blue>0.1</blue>
		    	</color>
			<font>helvetica_bold</font>
			<point-size>11</point-size>
			<chunks>
				<chunk>
					<type>number-value</type>
					<property>/systems/apu/rpm</property>
					<format type="string">%3.0f</format>
				</chunk>
			</chunks>
			<transformations>
				<transformation>
					<type>y-shift</type>
					<offset>-32</offset>
				</transformation>
				<transformation>
					<type>x-shift</type>
					<offset>-75</offset>
				</transformation>
			</transformations>
		</layer>

		<layer>
			<type>text</type>
			<name>APU_AVAIL</name>
			<color>
				<red>0</red>
				<green>1.0</green>
				<blue>0</blue>
			</color>
			<font>helvetica_bold</font>
			<chunks>
				<chunk>
					<type>literal</type>
					<text>AVAIL</text>
				</chunk>
			</chunks>
			<transformations>
				<transformation>
					<type>y-shift</type>
					<offset>74</offset>
				</transformation>
				<transformation>
					<type>x-shift</type>
					<offset>-15</offset>
				</transformation>
			</transformations>
			<condition>
				<greater-than>
					<property>/systems/apu/rpm</property>
					<value>94.9</value>
				</greater-than>
			</condition>
		</layer>
		
		<layer>
			<type>text</type>
			<name>FLAP_OPEN</name>
			<color>
				<red>0</red>
				<green>1.0</green>
				<blue>0</blue>
			</color>
			<font>helvetica_bold</font>
			<chunks>
				<chunk>
					<type>literal</type>
					<text>FLAP OPEN</text>
				</chunk>
			</chunks>
			<transformations>
				<transformation>
					<type>y-shift</type>
					<offset>-40</offset>
				</transformation>
				<transformation>
					<type>x-shift</type>
					<offset>25</offset>
				</transformation>
			</transformations>
			<condition>
				<property>controls/APU/master</property>
			</condition>
		</layer>
		
		<layer>

			<type>text</type>
			<name>APU-VOLTS</name>
			<color>
				<red>0</red>
				<green>1.0</green>
				<blue>0</blue>
			</color>
			<font>helvetica_bold</font>
			<point-size>11</point-size>
			<chunks>
				<chunk>
					<type>number-value</type>
					<property>/systems/electrical/extra/apu-volts</property>
					<format type="string">%3.0f</format>
				</chunk>
			</chunks>
			<transformations>
				<transformation>
					<type>y-shift</type>
					<offset>43</offset>
				</transformation>
				<transformation>
					<type>x-shift</type>
					<offset>-84</offset>
				</transformation>
			</transformations>
		</layer>



<!-- ################################## Bottom  #################################-->

		<layer>
			
			<type>text</type>
			<name>TAT</name>
	 		<color>
		        	<red>0.1</red>
		        	<green>1.0</green>
		        	<blue>0.1</blue>
		    	</color>

			<chunks>
				<chunk>
					<type>number-value</type>
					<property>environment/temperature-degc</property>
					<format type="string">%3.0f</format>
				</chunk>
			</chunks>
			<transformations>
				<transformation>
					<type>y-shift</type>
					<offset>-110</offset>
				</transformation>
				<transformation>
					<type>x-shift</type>
					<offset>-80	</offset>
				</transformation>
			</transformations>
		</layer>

		<layer>
			
			<type>text</type>
			<name>SAT</name>
	 		<color>
		        	<red>0.1</red>
		        	<green>1.0</green>
		        	<blue>0.1</blue>
		    	</color>

			<chunks>
				<chunk>
					<type>number-value</type>
					<property>environment/temperature-degc</property>
					<format type="string">%3.0f</format>
				</chunk>
			</chunks>
			<transformations>
				<transformation>
					<type>y-shift</type>
					<offset>-124</offset>
				</transformation>
				<transformation>
					<type>x-shift</type>
					<offset>-80</offset>
				</transformation>
			</transformations>
		</layer>


		<layer>
			<type>text</type>
			<name>HOUR</name>
	 		<color>
		        	<red>0.1</red>
		        	<green>1.0</green>
		        	<blue>0.1</blue>
		    	</color>

			<chunks>
				<chunk>
					<type>number-value</type>
					<property>instrumentation/clock/indicated-hour</property>
					<format type="string">%3.0f</format>
				</chunk>
			</chunks>
			<transformations>
				<transformation>
					<type>y-shift</type>
					<offset>-124</offset>
				</transformation>
				<transformation>
					<type>x-shift</type>
					<offset>-25</offset>
				</transformation>
			</transformations>
		</layer>
		<layer>
			<type>text</type>
			<name>Minutes</name>
	 		<color>
		        	<red>0.1</red>
		        	<green>1.0</green>
		        	<blue>0.1</blue>
		    	</color>

			<chunks>
				<chunk>
					<type>number-value</type>
					<property>instrumentation/clock/indicated-min</property>
					<format type="string">%3.0f</format>
				</chunk>
			</chunks>
			<transformations>
				<transformation>
					<type>y-shift</type>
					<offset>-124</offset>
				</transformation>
				<transformation>
					<type>x-shift</type>
					<offset>5</offset>
				</transformation>
			</transformations>
		</layer>
		<layer>
			<type>text</type>
			<name>Gross Weight</name>
	 		<color>
		        	<red>0.1</red>
		        	<green>1.0</green>
		        	<blue>0.1</blue>
		    	</color>

			<chunks>
				<chunk>
					<alignment>left-center</alignment>
					<type>number-value</type>
					<property>fdm/jsbsim/inertia/weight-lbs</property>
					<scale>0.45359237</scale>
					<format type="string">%5.0f</format>
				</chunk>
			</chunks>
			<transformations>
				<transformation>
					<type>y-shift</type>
					<offset>-110</offset>
				</transformation>
				<transformation>
					<type>x-shift</type>
					<offset>74</offset>
				</transformation>
			</transformations>
		</layer>
	</layers>


</PropertyList>