<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
	<sim include="dr400-views.xml">
		<!-- Save some properties when the simulator is shut down -->
		<aircraft-data>
			<path>/engines/engine[0]/hobbs</path>
			<path>/sim/weight[0]/weight-lb</path>
			<path>/sim/weight[1]/weight-lb</path>
			<path>/sim/weight[2]/weight-lb</path>
			<path>/sim/weight[3]/weight-lb</path>
			<path>/sim/weight[4]/weight-lb</path>
			<path>/fdm/jsbsim/fcs/bugs/coverage-norm</path>
			<path>/sim/model/config/asi-knots</path>
			<path>/sim/model/config/show-yokes</path>
			<path>/sim/model/config/window-shader</path>
			<path>/sim/model/config/glass-reflection-instruments</path>
		</aircraft-data>
		<checklists include="dr400-ecoflyer-checklists.xml"/>
		<flaps>
			<setting>0.00</setting>
			<setting>0.25</setting> <!-- 15 deg -->
			<setting>1.00</setting> <!-- 60 deg -->
		</flaps>
		<flight-recorder>
			<replay-config type="int">0</replay-config>
			<config n="0" include="Aircraft/Generic/flightrecorder/generic-piston-propeller-1.xml"	/>
		</flight-recorder>
		<help>
			<key>
				<name>d</name>
				<desc>Open/Close canopy</desc>
			</key>
			<line> For Operating Instructions see Checklists </line>
		</help>
		<instrumentation>
			<path>Systems/dr400-instrumentation.xml</path>
		</instrumentation>
		<menubar>
			<default>
				<menu n="10">
					<label>Robin DR400 Ecoflyer 2.0</label>
					<enabled type="bool">true</enabled>
					<item>
						<label>Select Livery</label>
						<binding>
						<command>nasal</command>
						<script>aircraft.livery.dialog.toggle()</script>
						</binding>
					</item>
					<item>
						<label>Options</label>
						<binding>
							<command>dialog-show</command>
							<dialog-name>config</dialog-name>
						</binding>
					</item>
					<item>
						<label>Maintenance</label>
						<binding>
							<command>dialog-show</command>
							<dialog-name>maintenance</dialog-name>
						</binding>
					</item>
					<item n="10">
						<label>Pushback</label>
						<name>pushback</name>
						<binding>
							<command>dialog-show</command>
							<dialog-name>pushback</dialog-name>
						</binding>
					</item>
				</menu>
			</default>
		</menubar>
		<model>
			<path archive="y">Aircraft/DR400-Ecoflyer/Models/dr400.xml</path>
			<pushback>
				<kp type="double">0.9</kp>
				<ki type="double">0.5</ki>
				<kd type="double">0</kd>
				<position-norm type="double">0</position-norm>
			</pushback>
			<bugs type="float">0.0</bugs>
			<livery>
				<file type="string">D-EAJZ</file>
			</livery>
			<config>
				<asi-knots type="bool">0</asi-knots>
				<show-pilot type="bool">0</show-pilot>
				<show-copilot type="bool">0</show-copilot>
				<show-yokes type="bool">1</show-yokes>
				<glass-reflection type="bool">0</glass-reflection>
				<glass-reflection-instruments type="bool">1</glass-reflection-instruments>
			</config>
		</model>
		<multiplay>
			<generic>
				<float n="0" alias="/gear/gear[0]/rollspeed-ms"/>
				<float n="1" alias="/gear/gear[1]/rollspeed-ms"/>
				<float n="2" alias="/gear/gear[2]/rollspeed-ms"/>
				<float n="3" alias="/fdm/jsbsim/doors/canopy-pos-norm"/>
				<float n="4" alias="/systems/electrical/outputs/strobe-light-norm"/>
				<float n="5" alias="/systems/electrical/outputs/nav-lights-norm"/>
				<float n="6" alias="/systems/electrical/outputs/taxi-light-norm"/>
				<float n="7" alias="/systems/electrical/outputs/landing-light-norm"/>
			</generic>
		</multiplay>
		<previews>
			<preview>
				<type>exterior</type>
				<splash type="bool">true</splash>
				<path>Splash/exterior1.jpg</path>
			</preview>
			<preview>
				<type>exterior</type>
				<splash type="bool">true</splash>
				<path>Splash/exterior2.jpg</path>
			</preview>
			<preview>
				<type>exterior</type>
				<splash type="bool">true</splash>
				<path>Splash/exterior3.jpg</path>
			</preview>
			<preview>
				<type>cockpit</type>
				<splash type="bool">true</splash>
				<path>Splash/cockpit1.jpg</path>
			</preview>
			<preview>
				<type>cockpit</type>
				<splash type="bool">true</splash>
				<path>Splash/cockpit2.jpg</path>
			</preview>
		</previews>
		<sound>
			<path archive="y">Sounds/dr400-ecoflyer-sound.xml</path>
		</sound>
		<systems>
			<path>Systems/dr400-systems.xml</path>
			<property-rule n="100">
				<path>Systems/view_shake.xml</path>
			</property-rule>
			<property-rule n="101">
				<path>Systems/electrical.xml</path>
			</property-rule>
			<property-rule n="102">
				<path>Systems/effects.xml</path>
			</property-rule>
			<property-rule n="103">
				<path>Models/Interior/Panel/Instruments/ki206/ki206-property-rules.xml</path>
			</property-rule>
			<autopilot>
				<path>Systems/stec30.xml</path>
			</autopilot>
		</systems>
	</sim>
	<consumables>
		<fuel>
			<tank n="0">
				<level-lbs type="double">100</level-lbs>
			</tank>
		</fuel>
	</consumables>
	<controls>
		<electric>
			<battery-switch type="bool"> 0 </battery-switch>
			<avionics-master type="bool"> 0 </avionics-master>
		</electric>
		<engines>
			<engine>
				<!--The alternator switch is usually always on-->
				<master-alt type="bool">1</master-alt>
				<glow type="bool">0</glow>
				<starter-cmd type="int">0</starter-cmd>
			</engine>
		</engines>
		<fuel>
			<selected-tank type="int">0</selected-tank>
			<selected-tank-pos type="float">1</selected-tank-pos>
			<electric-pump>
				<serviceable type="bool">1</serviceable>
			</electric-pump>
			<feed-pump>
				<serviceable type="bool">1</serviceable>
			</feed-pump>
		</fuel>
		<gear>
			<brake-parking type="bool">1</brake-parking>
		</gear>
		<lighting>
			<warning-mode type="bool">0</warning-mode>
			<warning-test type="int">0</warning-test>
			<panel-light n="0" type="float">0.0</panel-light>
			<panel-light n="1" type="float">0.0</panel-light>
			<panel-light n="2" type="float">0.0</panel-light>
			<nav-lights type="bool">0</nav-lights>
			<strobe-light type="bool">0</strobe-light>
			<taxi-light type="bool">0</taxi-light>
			<landing-light type="bool">0</landing-light>
		</lighting>
		<radios>
			<comm-ptt type="bool">0</comm-ptt>
		</radios>
	</controls>
	<engines>
		<engine n="0">
			<hobbs type="double">0.0</hobbs>
			<cranking-2 type="bool">0</cranking-2>
			<glow type="double">0</glow>
			<running-2 type="bool">0</running-2> <!-- for sound -->
		</engine>
	</engines>
	<fdm>
		<jsbsim>
			<doors>
				<canopy-cmd type="int">0</canopy-cmd>
			</doors>
			<fcs>
				<bugs>
					<coverage-norm type="float">0.0</coverage-norm>
				</bugs>
			</fcs>
		</jsbsim>
	</fdm>
	<input>
		<keyboard>
			<key n="100">
				<name>d</name>
				<desc>Canopy</desc>
				<binding>
					<command>property-cycle</command>
					<property>fdm/jsbsim/doors/canopy-cmd</property>
					<value>1</value>
					<value>0</value>
				</binding>
			</key>
			<key n="115">
				<name>s</name>
				<desc>Starter</desc>
				<binding>
					<command>property-assign</command>
					<property>controls/engines/engine/starter-cmd</property>
					<value>2</value>
				</binding>
				<mod-up>
					<binding>
						<command>property-assign</command>
						<property>controls/engines/engine/starter-cmd</property>
						<value>1</value>
					</binding>
				</mod-up>
			</key>
		</keyboard>
	</input>
	<instrumentation>
		<elt>
			<on type="bool">0</on>
			<armed type="bool">1</armed>
			<test type="bool">0</test>
		</elt>
		<!--Garmin GNC255A COMM/NAV-->
		<gnc255a>
			<comm-mode type="bool">1</comm-mode>
			<serviceable type="bool">1</serviceable>
		</gnc255a>
		<!--Compact Engine Display-->
		<ced>
			<dimmer type="float">0.7</dimmer>
		</ced>
		<FLARM>
			<master-switch type="bool">0</master-switch>
			<receive-int type="bool">0</receive-int>
			<contacts>
				<!--Contacts will be added by FLARM nasal script-->
			</contacts>
			<serviceable type="bool">1</serviceable>
		</FLARM>
		<TRX2000>
			<serviceable type="bool">1</serviceable>
		</TRX2000>
	</instrumentation>
	<limits>
		<max-flap-extension-speed>
			<flaps type="double">0.2</flaps>
			<speed type="double">92</speed>
		</max-flap-extension-speed>
		<max-flap-extension-speed>
			<flaps type="double">0.99</flaps>
			<speed type="double">81</speed>
		</max-flap-extension-speed>
		<vne type="double">166</vne>
	</limits>
	<payload>
		<weight>
			<name type="string">Pilot</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[0]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">250.0</max-lb>
		</weight>
		<weight>
			<name type="string">Copilot</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[1]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">250.0</max-lb>
		</weight>
		<weight>
			<name type="string">Left Passenger</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[2]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">200.0</max-lb>
		</weight>
		<weight>
			<name type="string">Right Passenger</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[3]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">200.0</max-lb>
		</weight>
		<weight>
			<name type="string">Baggage</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[4]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">200.0</max-lb>
		</weight>
	</payload>
	<stec30 n="0">
		<internal n="0">
			<aileron type="double">0</aileron>
			<elevator type="double">0</elevator>
			<servo-roll-power type="bool">0</servo-roll-power>
			<servo-pitch-power type="bool">0</servo-pitch-power>
		</internal>
		<output n="0">
			<roll type="int">-1</roll>
			<pitch type="int">-1</pitch>
		</output>
		<settings n="0">
			<gain-pitch type="double">1.0</gain-pitch> <!-- Modify the pitch axis gain -->
			<gain-roll type="double">1.0</gain-roll>   <!-- Modify the roll axis gain  -->
			<gain-yaw type="double">1.0</gain-yaw>     <!-- Modify the yaw axis gain   -->
		</settings>
	</stec30>
	<systems>
		<electrical>
			<outputs>
				<indicators type="double">0.0</indicators>
				<avionics-bus type="double">0.0</avionics-bus>
				<starter type="double">0.0</starter>
			</outputs>
		</electrical>
		<fadec>
			<fadec_a>
				<serviceable type="bool">1</serviceable>
			</fadec_a>
			<fadec_b>
				<serviceable type="bool">1</serviceable>
			</fadec_b>
		</fadec>
	</systems>
	<nasal>
		<dr400>
			<file>Nasal/dr400-ecoflyer.nas</file>
			<file>Aircraft/Generic/limits.nas</file>
			<file>Nasal/electrical.nas</file>
			<file>Nasal/shake.nas</file>
			<file>Nasal/engine.nas</file>
		</dr400>
		<ced>
			<file>Nasal/CED.nas</file>
		</ced>
		<autochecklist>
			<file>Aircraft/Generic/autochecklist.nas</file>
		</autochecklist>
		<stec30>
			<file>Models/Interior/Panel/Instruments/stec30/stec30.nas</file>
		</stec30>
		<canvas_tablet>
			<file>Models/Interior/Panel/Instruments/tablet/tablet.nas</file>			
		</canvas_tablet>
		<canvas_trx2000>
			<file>Models/Interior/Panel/Instruments/TRX-2000/TRX-2000.nas</file>
			<file>Models/Interior/Panel/Instruments/TRX-2000/FLARM.nas</file>
		</canvas_trx2000>
		<canvas_gnc255a>
			<file>Models/Interior/Panel/Instruments/GNC255A/gnc255a.nas</file>
		</canvas_gnc255a>
		<gtx328>
			<file>Models/Interior/Panel/Instruments/GTX328/gtx328.nas</file>
		</gtx328>
		<m803>
			<file>Models/Interior/Panel/Instruments/M803/m803.nas</file>
		</m803>
	</nasal>
</PropertyList>
