Mercurial > dive4elements > river
diff artifacts/doc/conf/artifacts/minfo.xml @ 8564:d1640df656ee
(Issue1755) Add distance step selection to bed quality artifact
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 16 Feb 2015 18:03:09 +0100 |
parents | 76113b975829 |
children | 07c9ac22f611 |
line wrap: on
line diff
--- a/artifacts/doc/conf/artifacts/minfo.xml Mon Feb 16 17:09:14 2015 +0100 +++ b/artifacts/doc/conf/artifacts/minfo.xml Mon Feb 16 18:03:09 2015 +0100 @@ -41,7 +41,7 @@ <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition"> <from state="state.minfo.calculation_mode"/> - <to state="state.minfo.bed.location"/> + <to state="state.minfo.distance"/> <condition data="calculation_mode" value="calc.bed.quality" operator="equal"/> </transition> @@ -50,15 +50,16 @@ <data name="ld_to" type="Double" /> </state> + <state id="state.minfo.distance" description="state.minfo.distance" state="org.dive4elements.river.artifacts.states.DistanceSelect" helpText="help.state.minfo.distance"> + <data name="ld_from" type="Double" /> + <data name="ld_to" type="Double" /> + <data name="ld_step" type="Double" /> + </state> + <state id="state.minfo.sq.location" description="state.minfo.sq.location" state="org.dive4elements.river.artifacts.states.LocationSelect" helpText="help.state.minfo.sq.location"> <data name="ld_locations" type="double"/> </state> - <state id="state.minfo.bed.location" description="state.minfo.bed.location" state="org.dive4elements.river.artifacts.states.DistanceOnlySelect" helpText="help.state.minfo.bed.location"> - <data name="ld_from" type="Double" /> - <data name="ld_to" type="Double" /> - </state> - <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition"> <from state="state.minfo.distance_only"/> <to state="state.minfo.dischargestate"/> @@ -83,8 +84,9 @@ </transition> <transition transition="org.dive4elements.river.artifacts.transitions.DefaultTransition"> - <from state="state.minfo.bed.location"/> + <from state="state.minfo.distance"/> <to state="state.minfo.bed.periods"/> + <condition data="calculation_mode" value="calc.bed.quality" operator="equal"/> </transition> <state id="state.minfo.dischargestate" description="state.minfo.dischargestate" state="org.dive4elements.river.artifacts.states.DischargeState" helpText="help.state.minfo.dischargestate">