67b8af5ea2
From the c172p-team https://github.com/c172p-team/c172p/releases/tag/version%2F2020.1 Commit 5c870e4559434393c6985ae8ae4c11132a3d2030
76 lines
2.3 KiB
XML
76 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<PropertyList>
|
|
|
|
<filter>
|
|
<type>gain</type>
|
|
<gain>100.0</gain>
|
|
<input>
|
|
<property>/systems/electrical/battery-charge-percent</property> <!-- this property ranges from 0.0 to 1.0 despite its name -->
|
|
</input>
|
|
<output>
|
|
<property>/systems/electrical/battery-charge-percent-100</property>
|
|
</output>
|
|
</filter>
|
|
|
|
<logic>
|
|
<name>Low Voltage LED</name>
|
|
<input>
|
|
<and>
|
|
<greater-than>
|
|
<property>systems/electrical/volts</property>
|
|
<value>0.0</value>
|
|
</greater-than>
|
|
<less-than>
|
|
<property>systems/electrical/amps</property>
|
|
<value>0.0</value>
|
|
</less-than>
|
|
|
|
</and>
|
|
</input>
|
|
<output>
|
|
<property>/instrumentation/low-voltage-led</property>
|
|
</output>
|
|
</logic>
|
|
|
|
<logic>
|
|
<name>Hydraulic On/Off</name>
|
|
<input>
|
|
<and>
|
|
<less-than>
|
|
<property>systems/electrical/outputs/hydraulic-pump</property>
|
|
<value>31.5</value>
|
|
</less-than>
|
|
<greater-than>
|
|
<property>systems/electrical/outputs/hydraulic-pump</property>
|
|
<value>20.0</value>
|
|
</greater-than>
|
|
<property>/controls/switches/master-bat</property>
|
|
</and>
|
|
</input>
|
|
<output>
|
|
<property>/sim/model/c172p/hydraulics/hydraulic-pump</property>
|
|
</output>
|
|
</logic>
|
|
|
|
<logic>
|
|
<name>Amphibious Gear Hydraulic Damage</name>
|
|
<input>
|
|
<and>
|
|
<equals>
|
|
<property>fdm/jsbsim/pontoon-damage/left-pontoon</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<equals>
|
|
<property>fdm/jsbsim/pontoon-damage/right-pontoon</property>
|
|
<value>0</value>
|
|
</equals>
|
|
<property>controls/gear/gear-down-command</property>
|
|
</and>
|
|
</input>
|
|
<output>
|
|
<property>controls/gear/gear-down</property>
|
|
</output>
|
|
</logic>
|
|
|
|
</PropertyList>
|