<?xml version="1.0"?>
<PropertyList>

	<path>res/apu/apu.ac</path>
	
	<!-- Analog Gauges -->
	
	<!-- APU N -->
	<animation>
    	<type>rotate</type>
    	<object-name>N</object-name>
    	<property>/systems/apu/rpm</property>
		<interpolation>
			<entry><ind>  0</ind><dep>-126</dep></entry>
			<entry><ind>100</ind><dep>  54</dep></entry>
		</interpolation>
    	<center>
    		<x-m>0</x-m>
    		<y-m>-0.04466</y-m>
    		<z-m>0.0003</z-m>
    	</center>
    	<axis>
    		<x>-1</x>
    		<y>0</y>
    		<z>0</z>
    	</axis>
    </animation>
	
	<!-- APU EGT -->
	<animation>
    	<type>rotate</type>
    	<object-name>EGT</object-name>
    	<property>/systems/apu/egt</property>
		<interpolation>
			<entry><ind> 275</ind><dep>-114</dep></entry>
			<entry><ind> 300</ind><dep>-106</dep></entry>
			<entry><ind> 700</ind><dep> -19</dep></entry>
			<entry><ind>1000</ind><dep>  67</dep></entry>
			<entry><ind>1100</ind><dep>  86</dep></entry>
		</interpolation>
    	<center>
    		<x-m>0</x-m>
    		<y-m>-0.04483</y-m>
    		<z-m>-0.03256</z-m>
    	</center>
    	<axis>
    		<x>-1</x>
    		<y>0</y>
    		<z>0</z>
    	</axis>
    </animation>
	
	<!-- Text -->
	
	<!-- APU N -->
	<text>
		<name>txt.n</name>
		<offsets>
			<x-m>0.0004</x-m>
    		<y-m>-0.04266</y-m>
    		<z-m>-0.0033</z-m>
		</offsets>
		<alignment>center-center</alignment>
		<axis-alignment>yz-plane</axis-alignment>
		<type type="string">number-value</type>
		<format type="string">%3.0f</format>
		<property>/systems/apu/rpm</property>
		<truncate type="bool">false</truncate>
		<font type="string">helvetica_bold.txf</font>
		<draw-text type="bool">true</draw-text>
		<draw-alignment type="bool">false</draw-alignment>
		<draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.005</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>
	
	<text>
		<name>XX.n</name>
		<offsets>
			<x-m>0.0004</x-m>
    		<y-m>-0.04266</y-m>
    		<z-m>-0.0033</z-m>
		</offsets>
		<alignment>center-center</alignment>
		<axis-alignment>yz-plane</axis-alignment>
		<type type="string">text-value</type>
		<format type="string">XX</format>
		<property>autopilot/servicable</property>
		<truncate type="bool">false</truncate>
		<font type="string">helvetica_bold.txf</font>
		<draw-text type="bool">true</draw-text>
		<draw-alignment type="bool">false</draw-alignment>
		<draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.005</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>
	
	<!-- APU EGT -->
	
	<text>
		<name>txt.egt</name>
		<offsets>
			<x-m>0.0004</x-m>
    		<y-m>-0.04283</y-m>
    		<z-m>-0.03556</z-m>
		</offsets>
		<alignment>center-center</alignment>
		<axis-alignment>yz-plane</axis-alignment>
		<type type="string">number-value</type>
		<format type="string">%4.0f</format>
		<property>/systems/apu/egt</property>
		<truncate type="bool">false</truncate>
		<font type="string">helvetica_bold.txf</font>
		<draw-text type="bool">true</draw-text>
		<draw-alignment type="bool">false</draw-alignment>
		<draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.005</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>
	
	<text>
		<name>XX.egt</name>
		<offsets>
			<x-m>0.0004</x-m>
    		<y-m>-0.04283</y-m>
    		<z-m>-0.03556</z-m>
		</offsets>
		<alignment>center-center</alignment>
		<axis-alignment>yz-plane</axis-alignment>
		<type type="string">text-value</type>
		<format type="string">XX</format>
		<property>autopilot/servicable</property>
		<truncate type="bool">false</truncate>
		<font type="string">helvetica_bold.txf</font>
		<draw-text type="bool">true</draw-text>
		<draw-alignment type="bool">false</draw-alignment>
		<draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.005</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>
	
	<!-- Various -->
	
	<text>
		<name>txt.avail</name>
		<offsets>
			<x-m>0.0004</x-m>
    		<y-m>0.0</y-m>
    		<z-m>0.05</z-m>
		</offsets>
		<alignment>center-center</alignment>
		<axis-alignment>yz-plane</axis-alignment>
		<type type="string">text-value</type>
		<format type="string">AVAIL</format>
		<property>autopilot/servicable</property>
		<truncate type="bool">false</truncate>
		<font type="string">helvetica_bold.txf</font>
		<draw-text type="bool">true</draw-text>
		<draw-alignment type="bool">false</draw-alignment>
		<draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.0055</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>
	
	<animation>
		<type>select</type>
		<object-name>txt.avail</object-name>
		<object-name>txt.bleedpsi</object-name>
		<condition>
			<greater-than-equals>
				<property>/systems/apu/rpm</property>
				<value>94.9</value>
			</greater-than-equals>
		</condition>
	</animation>
	
	<text>
		<name>txt.flapopen</name>
		<offsets>
			<x-m>0.0004</x-m>
    		<y-m>0.035</y-m>
    		<z-m>-0.01</z-m>
		</offsets>
		<alignment>center-center</alignment>
		<axis-alignment>yz-plane</axis-alignment>
		<type type="string">text-value</type>
		<format type="string">FLAP OPEN</format>
		<property>autopilot/servicable</property>
		<truncate type="bool">false</truncate>
		<font type="string">helvetica_bold.txf</font>
		<draw-text type="bool">true</draw-text>
		<draw-alignment type="bool">false</draw-alignment>
		<draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.0055</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>
	
	<animation>
		<type>select</type>
		<object-name>txt.flapopen</object-name>
		<condition>
			<or>
				<greater-than-equals>
					<property>/systems/apu/rpm</property>
					<value>3.5</value>
				</greater-than-equals>
				<equals>
					<property>/controls/APU/master</property>
					<value>1</value>					
				</equals>
			</or>
		</condition>
	</animation>
	
	<text>
		<name>txt.bleedpsi</name>
		<offsets>
			<x-m>0.0004</x-m>
    		<y-m>0.047</y-m>
    		<z-m>0.033</z-m>
		</offsets>
		<alignment>center-center</alignment>
		<axis-alignment>yz-plane</axis-alignment>
		<type type="string">number-value</type>
		<format type="string">%2.0f</format>
		<property>/systems/pneumatic/bleedapu</property>
		<truncate type="bool">false</truncate>
		<font type="string">helvetica_bold.txf</font>
		<draw-text type="bool">true</draw-text>
		<draw-alignment type="bool">false</draw-alignment>
		<draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.005</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>
	
	<text>
		<name>XX.bleedpsi</name>
		<offsets>
			<x-m>0.0004</x-m>
    		<y-m>0.047</y-m>
    		<z-m>0.033</z-m>
		</offsets>
		<alignment>center-center</alignment>
		<axis-alignment>yz-plane</axis-alignment>
		<type type="string">text-value</type>
		<format type="string">XX</format>
		<property>autopilot/servicable</property>
		<truncate type="bool">false</truncate>
		<font type="string">helvetica_bold.txf</font>
		<draw-text type="bool">true</draw-text>
		<draw-alignment type="bool">false</draw-alignment>
		<draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.005</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>
	
	<animation>
		<type>select</type>
		<object-name>XX.bleedpsi</object-name>
		<condition>
			<less-than>
				<property>/systems/apu/rpm</property>
				<value>94.9</value>
			</less-than>
		</condition>
	</animation>
	
	<text>
		<name>txt.load</name>
		<offsets>
			<x-m>0.0004</x-m>
    		<y-m>-0.048</y-m>
    		<z-m>0.0483</z-m>
		</offsets>
		<alignment>right-center</alignment>
		<axis-alignment>yz-plane</axis-alignment>
		<type type="string">number-value</type>
		<format type="string">%3.0f</format>
		<property>/systems/electrical/extra/apu-load</property>
		<truncate type="bool">false</truncate>
		<font type="string">helvetica_bold.txf</font>
		<draw-text type="bool">true</draw-text>
		<draw-alignment type="bool">false</draw-alignment>
		<draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.005</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>
	
	<text>
		<name>txt.volts</name>
		<offsets>
			<x-m>0.0004</x-m>
    		<y-m>-0.048</y-m>
    		<z-m>0.0413</z-m>
		</offsets>
		<alignment>right-center</alignment>
		<axis-alignment>yz-plane</axis-alignment>
		<type type="string">number-value</type>
		<format type="string">%3.0f</format>
		<property>/systems/electrical/extra/apu-volts</property>
		<truncate type="bool">false</truncate>
		<font type="string">helvetica_bold.txf</font>
		<draw-text type="bool">true</draw-text>
		<draw-alignment type="bool">false</draw-alignment>
		<draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.005</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>
	
	<text>
		<name>txt.volts.a</name>
		<offsets>
			<x-m>0.0004</x-m>
    		<y-m>-0.048</y-m>
    		<z-m>0.0413</z-m>
		</offsets>
		<alignment>right-center</alignment>
		<axis-alignment>yz-plane</axis-alignment>
		<type type="string">number-value</type>
		<format type="string">%3.0f</format>
		<property>/systems/electrical/extra/apu-volts</property>
		<truncate type="bool">false</truncate>
		<font type="string">helvetica_bold.txf</font>
		<draw-text type="bool">true</draw-text>
		<draw-alignment type="bool">false</draw-alignment>
		<draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.005</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>
	
	<animation>
		<type>select</type>
		<object-name>txt.volts</object-name>
		<condition>
			<greater-than-equals>
				<property>/systems/electrical/extra/apu-volts</property>
				<value>110</value>
			</greater-than-equals>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>txt.volts.a</object-name>
		<condition>
			<less-than>
				<property>/systems/electrical/extra/apu-volts</property>
				<value>110</value>
			</less-than>
		</condition>
	</animation>
	
	<text>
		<name>txt.hz</name>
		<offsets>
			<x-m>0.0004</x-m>
    		<y-m>-0.048</y-m>
    		<z-m>0.034</z-m>
		</offsets>
		<alignment>right-center</alignment>
		<axis-alignment>yz-plane</axis-alignment>
		<type type="string">number-value</type>
		<format type="string">%3.0f</format>
		<property>/systems/electrical/extra/apu-hz</property>
		<truncate type="bool">false</truncate>
		<font type="string">helvetica_bold.txf</font>
		<draw-text type="bool">true</draw-text>
		<draw-alignment type="bool">false</draw-alignment>
		<draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.005</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>
	
	<text>
		<name>txt.hz.a</name>
		<offsets>
			<x-m>0.0004</x-m>
    		<y-m>-0.048</y-m>
    		<z-m>0.034</z-m>
		</offsets>
		<alignment>right-center</alignment>
		<axis-alignment>yz-plane</axis-alignment>
		<type type="string">number-value</type>
		<format type="string">%3.0f</format>
		<property>/systems/electrical/extra/apu-hz</property>
		<truncate type="bool">false</truncate>
		<font type="string">helvetica_bold.txf</font>
		<draw-text type="bool">true</draw-text>
		<draw-alignment type="bool">false</draw-alignment>
		<draw-boundingbox type="bool">false</draw-boundingbox>
		<character-size>0.005</character-size>
		<font-resolution>
			<width type="int">32</width>
			<height type="int">32</height>
		</font-resolution>
	</text>
	
	<animation>
		<type>select</type>
		<object-name>txt.hz</object-name>
		<condition>
			<greater-than-equals>
				<property>/systems/electrical/extra/apu-hz</property>
				<value>380</value>
			</greater-than-equals>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>txt.hz.a</object-name>
		<condition>
			<less-than>
				<property>/systems/electrical/extra/apu-hz</property>
				<value>380</value>
			</less-than>
		</condition>
	</animation>
	
	<!-- Bleed In-line -->
	<animation>
		<type>select</type>
		<object-name>bleed-inline</object-name>
		<condition>
			<and>
				<greater-than>
					<property>/systems/pneumatic/bleedapu</property>
					<value>0</value>
				</greater-than>
				<equals>
					<property>/controls/pneumatic/switches/bleedapu</property>
					<value>1</value>					
				</equals>
			</and>
		</condition>
	</animation>
	
	<!-- XX -->
	
	<animation>
		<type>select</type>
		<object-name>N</object-name>
		<object-name>EGT</object-name>
		<object-name>txt.n</object-name>
		<object-name>txt.egt</object-name>
		<condition>
			<or>
				<greater-than-equals>
					<property>/systems/apu/rpm</property>
					<value>3.5</value>
				</greater-than-equals>
				<equals>
					<property>/controls/APU/master</property>
					<value>1</value>					
				</equals>
			</or>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>XX.n</object-name>
		<object-name>XX.egt</object-name>
		<condition>
			<and>
				<less-than>
					<property>/systems/apu/rpm</property>
					<value>3.5</value>
				</less-than>
				<equals>
					<property>/controls/APU/master</property>
					<value>0</value>					
				</equals>
			</and>
		</condition>
	</animation>
	
	<!-- Colors -->
	
	<!-- Green -->
	<animation>
		<type>material</type>
		<object-name>txt.n</object-name>
		<object-name>txt.egt</object-name>
		<object-name>txt.avail</object-name>
		<object-name>txt.flapopen</object-name>
		<object-name>txt.bleedpsi</object-name>
		<object-name>txt.load</object-name>
		<object-name>txt.volts</object-name>
		<object-name>txt.hz</object-name>
		<diffuse>
			<red>0</red>
			<green>0.543</green>
			<blue>0</blue>
		</diffuse>
		<ambient>
			<red>0</red>
			<green>0</green>
			<blue>0</blue>
		</ambient>
		<specular>
			<red>0</red>
			<green>0</green>
			<blue>0</blue>
		</specular>
		<emission>
			<red>0</red>
			<green>0.543</green>
			<blue>0</blue>
		</emission>
	</animation>
	
	<!-- Amber -->
	<animation>
		<type>material</type>
		<object-name>XX.n</object-name>
		<object-name>XX.egt</object-name>
		<object-name>XX.bleedpsi</object-name>
		<object-name>txt.volts.a</object-name>
		<object-name>txt.hz.a</object-name>
        <diffuse>
            <red>1</red>
            <green>0.4</green>
            <blue>0</blue>
        </diffuse>
        <ambient>
            <red>0</red>
            <green>0</green>
            <blue>0</blue>
        </ambient>
        <specular>
            <red>0</red>
            <green>0</green>
            <blue>0</blue>
        </specular>
        <emission>
            <red>1</red>
            <green>0.4</green>
            <blue>0</blue>
        </emission>
	</animation>

</PropertyList>