Mercurial > dive4elements > river
diff flys-artifacts/doc/conf/artifacts/minfo.xml @ 4220:a30647abf009
Added config and states for sediment load calculation in MINFO module.
The config describes the transitions and states for parameter input in sediment
load calculation.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 23 Oct 2012 09:53:02 +0200 |
parents | 95d699c769fb |
children | 6d44914b2dd4 |
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/artifacts/minfo.xml Tue Oct 23 07:39:09 2012 +0200 +++ b/flys-artifacts/doc/conf/artifacts/minfo.xml Tue Oct 23 09:53:02 2012 +0200 @@ -45,6 +45,7 @@ <condition data="calculation_mode" value="calc.bed.quality" 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" /> @@ -313,6 +314,92 @@ </outputmode> </outputmodes> </state> + + <!-- sediment load config--> + <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> + <from state="state.minfo.calculation_mode"/> + <to state="state.minfo.sediment.load.year_epoch"/> + <condition data="calculation_mode" value="calc.sediment.load" operator="equal"/> + </transition> + + <state id="state.minfo.sediment.load.year_epoch" description="state.minfo.sediment.load.year_epoch" state="de.intevation.flys.artifacts.states.minfo.YearEpochSelect" helpText="help.minfo.year_epoch"> + <data name="ye_select" type="String"/> + </state> + + <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> + <from state="state.minfo.sediment.load.year_epoch"/> + <to state="state.minfo.sediment.load.location"/> + </transition> + + <state id="state.minfo.sediment.load.location" description="state.minfo.distance_only" state="de.intevation.flys.artifacts.states.minfo.SedimentLoadDistanceSelect" helpText="help.minfo.distance"> + <data name="ld_from" type="Double" /> + <data name="ld_to" type="Double" /> + </state> + + <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> + <from state="state.minfo.sediment.load.location"/> + <to state="state.minfo.sediment.load.off_epochs"/> + <condition data="ye_select" value="off_epoch" operator="equal"/> + </transition> + + <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> + <from state="state.minfo.sediment.load.location"/> + <to state="state.minfo.sediment.load.period"/> + <condition data="ye_select" value="year" operator="equal"/> + </transition> + + <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> + <from state="state.minfo.sediment.load.location"/> + <to state="state.minfo.sediment.load.epochs"/> + <condition data="ye_select" value="epoch" operator="equal"/> + </transition> + + <state id="state.minfo.sediment.load.period" description="state.minfo.bed.period" state="de.intevation.flys.artifacts.states.minfo.SedimentLoadYearSelect"> + <data name="start" type="Long"/> + <data name="end" type="Long"/> + </state> + + <state id="state.minfo.sediment.load.epochs" description="state.minfo.bed.epochs" state="de.intevation.flys.artifacts.states.minfo.SedimentLoadEpochSelect"> + <data name="epochs" type="String"/> + </state> + + <state id="state.minfo.sediment.load.off_epochs" description="state.minfo.bed.off_epochs" state="de.intevation.flys.artifacts.states.minfo.SedimentLoadOffEpochSelect"> + <data name="off_epochs" type="String"/> + </state> + + <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> + <from state="state.minfo.sediment.load.period"/> + <to state="state.minfo.sediment.load.unit"/> + </transition> + + <state id="state.minfo.sediment.load.unit" description="state.minfo.sediment.load.unit" state="de.intevation.flys.artifacts.states.minfo.SedimentLoadUnit"> + <data name="unit" type="String"/> + </state> + + <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> + <from state="state.minfo.sediment.load.unit"/> + <to state="state.minfo.sediment.load.calculate"/> + </transition> + + <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> + <from state="state.minfo.sediment.load.epochs"/> + <to state="state.minfo.sediment.load.calculate"/> + </transition> + + <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> + <from state="state.minfo.sediment.load.off_epochs"/> + <to state="state.minfo.sediment.load.calculate"/> + </transition> + + <state id="state.minfo.sediment.load.calculate" description="state.minfo.sediment.load.calculate" state="de.intevation.flys.artifacts.states.minfo.SedimentLoadCalculate"> + <outputmodes> + <outputmode name="dummy" description="output.dummy" mime-type="image/png" type="chart"> + <facets> + </facets> + </outputmode> + </outputmodes> + </state> + </states> </artifact>