2010-08-28 18:31:44 +00:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<!--
|
|
|
|
This file is part of FlightGear, the free flight simulator
|
|
|
|
http://www.flightgear.org/
|
|
|
|
|
|
|
|
Copyright (C) 2009 Torsten Dreyer, Torsten (at) t3r _dot_ de
|
|
|
|
|
|
|
|
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.
|
|
|
|
-->
|
|
|
|
<PropertyList>
|
|
|
|
<params>
|
|
|
|
<from>/environment/metar/clouds/layer[0]/coverage-type</from>
|
|
|
|
<to>environment/clouds/layer[0]/coverage-type</to>
|
|
|
|
</params>
|
|
|
|
<name>MetarController:clouds:coverage</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<property>/environment/metar/valid</property>
|
2010-09-11 21:32:20 +00:00
|
|
|
<property>/environment/params/metar-updates-environment</property>
|
2010-08-28 18:31:44 +00:00
|
|
|
<not-equals>
|
|
|
|
<property alias="../../../../params/from"/>
|
|
|
|
<property alias="../../../../params/to"/>
|
|
|
|
</not-equals>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input alias="../params/from"/>
|
|
|
|
<output alias="../params/to"/>
|
|
|
|
</PropertyList>
|