Mercurial > dive4elements > river
diff flys-artifacts/doc/conf/artifacts/winfo.xml @ 357:37b320bb292b
Added a further state that is reached if the waterlevel calculation mode has been chosen.
flys-artifacts/trunk@1764 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 28 Apr 2011 11:32:41 +0000 |
parents | f44b11cc23b6 |
children | c21fb8de54f8 |
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/artifacts/winfo.xml Thu Apr 28 11:22:45 2011 +0000 +++ b/flys-artifacts/doc/conf/artifacts/winfo.xml Thu Apr 28 11:32:41 2011 +0000 @@ -48,12 +48,21 @@ <data name="wq_step" type="Double" /> </state> - <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> + <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> <from state="state.winfo.wq"/> - <to state="state.winfo.calculation"/> + <to state="state.winfo.waterlevel"/> + <condition data="calculation_mode" value="calc.surface.curve" operator="equal"/> </transition> - <state id="state.winfo.calculation" description="state.winfo.wq" state="de.intevation.flys.artifacts.states.WINFOOutputState"> + <state id="state.winfo.waterlevel" description="state.winfo.waterlevel" state="de.intevation.flys.artifacts.states.WaterlevelState"> + <outputmodes> + <outputmode name="longitudinal_section" description="output.longitudinal_section" mime-type="image/png"> + <facets> + <facet name="longitudinal_section.w" description="facet.longitudinal_section.w"/> + <facet name="longitudinal_section.q" description="facet.longitudinal_section.q"/> + </facets> + </outputmode> + </outputmodes> </state> </states>