diff flys-artifacts/doc/conf/artifacts/minfo.xml @ 2696:1bc35de0b786

Improved the states for MINFO flow velocity calculation. flys-artifacts/trunk@4406 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 15 May 2012 07:15:36 +0000
parents edaa2297aea3
children 4c00cf83fff1
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/artifacts/minfo.xml	Mon May 14 16:57:58 2012 +0000
+++ b/flys-artifacts/doc/conf/artifacts/minfo.xml	Tue May 15 07:15:36 2012 +0000
@@ -14,6 +14,28 @@
         <state id="state.minfo.calculation_mode" description="state.minfo.calculation_mode" state="de.intevation.flys.artifacts.states.CalculationSelectMinfo" helpText="help.minfo">
             <data name="calculation_mode" type="String"/>
         </state>
+
+        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
+            <from state="state.minfo.calculation_mode"/>
+            <to state="state.minfo.distance_only"/>
+            <condition data="calculation_mode" value="calc.flow.velocity" operator="equal"/>
+        </transition>
+
+        <state id="state.minfo.distance_only" description="state.minfo.distance_only" state="de.intevation.flys.artifacts.states.DistanceOnlySelect" helpText="help.minfo.distance">
+            <data name="ld_from" type="Double" />
+            <data name="ld_to"   type="Double" />
+        </state>
+
+        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
+            <from state="state.minfo.distance_only"/>
+            <to state="state.minfo.dischargestate"/>
+        </transition>
+
+        <state id="state.minfo.dischargestate" description="state.minfo.dischargestate" state="de.intevation.flys.artifacts.states.DischargeState" helpText="help.minfo.dischargestate">
+            <data name="total.channel" type="intoptions"/>
+            <data name="main.channel"  type="intoptions"/>
+        </state>
+
     </states>
 
 </artifact>

http://dive4elements.wald.intevation.org