<?xml version="1.0"?>
<!--Copyright (C) 2020 Benedikt Wolf

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
-->
<PropertyList>
	<sim>
		<description>Diamond DA62</description>
		<aircraft-version>2020.03</aircraft-version>
		<status>development</status>
		<author>Benedikt Wolf (D-ECHO)</author>
		<flight-model>jsb</flight-model>
		<aero>DA62</aero>
		<model>
			<path>Models/da62.xml</path>
			<pushback>
				<kp type="double">5</kp>
				<ki type="double">7</ki>
				<kd type="double">0</kd>
				<position-norm type="double">0</position-norm>
			</pushback>
		</model>
		<flaps>
			<setting>0.0</setting>
			<setting>0.47619</setting> <!-- Flaps 20 -->
			<setting>1.0</setting> <!-- Flaps 42 -->
		</flaps>
		<sound>
			<path archive="y">Sounds/da62-sound.xml</path>
		</sound>
		<systems>
			<autopilot>
				<path>Aircraft/Instruments-3d/FG1000/GFC700.xml</path>
			</autopilot>
			<property-rule n="100">
				<path>Systems/pfd.xml</path>
			</property-rule>
			<!-- Disable the generic electrical system -->
			<electrical>
				<path></path>
			</electrical>
		</systems>
		<view>
			<name>Cockpit View</name>
			<type>lookfrom</type>
			<internal type="bool">true</internal>
			<config>
				<x-offset-m type="double">-0.27</x-offset-m>
				<y-offset-m type="double">0.3</y-offset-m>
				<z-offset-m type="double">-1.44</z-offset-m>
			</config>
		</view>
		<menubar>
			<default>
				<menu n="10">
					<label>Diamond DA62</label>
					<item>
						<label>Pushback</label>
						<name>pushback</name>
						<binding>
							<command>dialog-show</command>
							<dialog-name>pushback</dialog-name>
						</binding>
					</item>
				</menu>
			</default>
		</menubar>
	</sim>
	<controls>
		<lighting>
			<reading-lights type="float">0.0</reading-lights>
		</lighting>
		<switches>
			<electric-master type="bool">1</electric-master>
			<avionic-master type="bool">1</avionic-master>
			<alternator type="bool" n="0">1</alternator>
			<alternator type="bool" n="1">1</alternator>
		</switches>
	</controls><!--
	<input>
		<keyboard n="0">
			<multikey>
				<path>
		</keyboard>
	</input>-->
	<instrumentation>
		<MD302>
			<ready type="float">0.0</ready>
		</MD302>
		<elt>
			<armed type="bool">false</armed>
			<on type="bool">false</on>
			<on-pos type="double">0</on-pos>
			<test type="bool">false</test>
		</elt>
		<zkv1000>
			<alerts>
				<Vx>83</Vx>
				<Vy>87</Vy>
				<Vr>76</Vr>
				<Vglide>90</Vglide>
				<Vne>205</Vne>
			</alerts>
		</zkv1000> 
		<tcas>
			<serviceable type="bool">true</serviceable>
			<inputs>
				<mode type="int">5</mode>
			</inputs>
		</tcas>
	</instrumentation>
	<payload>
		<weight>
			<name type="string">Pilot</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[0]"/>
			<arm-in alias="/fdm/jsbsim/inertia/pointmass-location-X-inches[0]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">300.0</max-lb>
		</weight>
		<weight>
			<name type="string">Co-Pilot</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[1]"/>
			<arm-in alias="/fdm/jsbsim/inertia/pointmass-location-X-inches[1]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">300.0</max-lb>
		</weight>
		<weight>
			<name type="string">Passenger Front Left</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[2]"/>
			<arm-in alias="/fdm/jsbsim/inertia/pointmass-location-X-inches[2]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">300.0</max-lb>
		</weight>
		<weight>
			<name type="string">Passenger Front Right</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[3]"/>
			<arm-in alias="/fdm/jsbsim/inertia/pointmass-location-X-inches[3]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">300.0</max-lb>
		</weight>
		<weight>
			<name type="string">Passenger Rear Left</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[4]"/>
			<arm-in alias="/fdm/jsbsim/inertia/pointmass-location-X-inches[4]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">300.0</max-lb>
		</weight>
		<weight>
			<name type="string">Passenger Rear Right</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[5]"/>
			<arm-in alias="/fdm/jsbsim/inertia/pointmass-location-X-inches[5]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">300.0</max-lb>
		</weight>
		<weight>
			<name type="string">LH Nose Baggage Compartment</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[6]"/>
			<arm-in alias="/fdm/jsbsim/inertia/pointmass-location-X-inches[6]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">100.0</max-lb>
		</weight>
		<weight>
			<name type="string">RH Nose Baggage Compartment</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[7]"/>
			<arm-in alias="/fdm/jsbsim/inertia/pointmass-location-X-inches[7]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">100.0</max-lb>
		</weight>
		<weight>
			<name type="string">Rear Baggage Compartment</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[8]"/>
			<arm-in alias="/fdm/jsbsim/inertia/pointmass-location-X-inches[8]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">100.0</max-lb>
		</weight>
		<weight>
			<name type="string">De-Icing Fluid</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[9]"/>
			<arm-in alias="/fdm/jsbsim/inertia/pointmass-location-X-inches[9]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">85.69</max-lb> <!-- 9.5US Gal capacity at 9.02lb/US Gal -->
		</weight>
	</payload>
	<systems>
		<electrical>
			<serviceable type="bool">1</serviceable>
			<outputs>
				<sam type="double">0.0</sam>
			</outputs>
			<buses>
				<hot-battery type="double">0.0</hot-battery>
				<battery type="double">0.0</battery>
				<lh-main type="double">0.0</lh-main>
				<rh-main type="double">0.0</rh-main>
				<lh-ecu type="double">0.0</lh-ecu>
				<rh-ecu type="double">0.0</rh-ecu>
				<avionics type="double">0.0</avionics>
			</buses>
		</electrical>
	</systems>
	<nasal>
		<!-- necessary for electrical system -->
		<updateloop>
			<file>Aircraft/Generic/updateloop.nas</file>
		</updateloop>
		<da62><!--
			<file>Nasal/da62.nas</file>-->
			<file>Nasal/electrical.nas</file>
			<file>Models/Instruments/ELT/ELTmessage.nas</file>
		</da62>
		<zkv1000>
			<file>Aircraft/DA62/zkv1000/zkv1000.nas</file>
		</zkv1000>
		<canvas_md302>
			<file>Models/Instruments/MD302/MD302_ai.nas</file>
			<file>Models/Instruments/MD302/MD302_alt.nas</file>
		</canvas_md302>
	</nasal>
	<min-factor type="double">1.0</min-factor>
</PropertyList>
