Mercurial > dive4elements > river
diff flys-artifacts/doc/conf/artifacts/winfo.xml @ 383:dcc3cd962c0e
Enhanced the transition model to reach a state that creates duration curves.
flys-artifacts/trunk@1799 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 02 May 2011 16:58:04 +0000 |
parents | c21fb8de54f8 |
children | 69d05357c177 |
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/artifacts/winfo.xml Mon May 02 16:50:58 2011 +0000 +++ b/flys-artifacts/doc/conf/artifacts/winfo.xml Mon May 02 16:58:04 2011 +0000 @@ -15,11 +15,32 @@ <data name="calculation_mode" type="String" /> </state> - <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> + <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> <from state="state.winfo.calculation_mode"/> <to state="state.winfo.location_distance"/> + <condition data="calculation_mode" value="calc.surface.curve" operator="equal"/> </transition> + <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> + <from state="state.winfo.calculation_mode"/> + <to state="state.winfo.location"/> + <condition data="calculation_mode" value="calc.duration.curve" operator="equal"/> + </transition> + + <state id="state.winfo.location" description="state.winfo.location" state="de.intevation.flys.artifacts.states.LocationSelect"> + <data name="ld_locations" type="Double[]" /> + + <outputmodes> + <outputmode name="discharge_curve" description="output.discharge_curve" mime-type="image/png"> + <facets> + <facet name="discharge_curve.curve" description="facet.discharge_curve.curve"/> + <facet name="discharge_curve.w" description="facet.discharge_curve.w"/> + <facet name="discharge_curve.q" description="facet.discharge_curve.q"/> + </facets> + </outputmode> + </outputmodes> + </state> + <state id="state.winfo.location_distance" description="state.winfo.location_distance" state="de.intevation.flys.artifacts.states.LocationDistanceSelect"> <data name="ld_from" type="Double" /> <data name="ld_to" type="Double" /> @@ -41,6 +62,11 @@ <to state="state.winfo.wq"/> </transition> + <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> + <from state="state.winfo.location"/> + <to state="state.winfo.durationcurve"/> + </transition> + <state id="state.winfo.wq" description="state.winfo.wq" state="de.intevation.flys.artifacts.states.WQSelect"> <data name="wq_mode" type="String" /> <data name="wq_selection" type="String" /> @@ -50,6 +76,17 @@ <data name="wq_single" type="Double[]" /> </state> + <state id="state.winfo.durationcurve" description="state.winfo.durationcurve" state="de.intevation.flys.artifacts.states.DurationCurveState"> + <outputmodes> + <outputmode name="duration_curve" description="output.duration_curve" mime-type="image/png"> + <facets> + <facet name="duration_curve.w" description="facet.duration_curve.w"/> + <facet name="duration_curve.q" description="facet.duration_curve.q"/> + </facets> + </outputmode> + </outputmodes> + </state> + <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> <from state="state.winfo.wq"/> <to state="state.winfo.waterlevel"/>