comparison flys-artifacts/doc/conf/artifacts/minfo.xml @ 2709:cd6bcca17de6

Added states and improved transition model for MINFO middle bed height calculation. flys-artifacts/trunk@4431 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 16 May 2012 15:09:55 +0000
parents d8444fcb4e44
children 250a370c377d
comparison
equal deleted inserted replaced
2708:282db12a5bdf 2709:cd6bcca17de6
19 <from state="state.minfo.calculation_mode"/> 19 <from state="state.minfo.calculation_mode"/>
20 <to state="state.minfo.distance_only"/> 20 <to state="state.minfo.distance_only"/>
21 <condition data="calculation_mode" value="calc.flow.velocity" operator="equal"/> 21 <condition data="calculation_mode" value="calc.flow.velocity" operator="equal"/>
22 </transition> 22 </transition>
23 23
24 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
25 <from state="state.minfo.calculation_mode"/>
26 <to state="state.minfo.distance_only"/>
27 <condition data="calculation_mode" value="calc.bed.middle" operator="equal"/>
28 </transition>
29
24 <state id="state.minfo.distance_only" description="state.minfo.distance_only" state="de.intevation.flys.artifacts.states.DistanceOnlySelect" helpText="help.minfo.distance"> 30 <state id="state.minfo.distance_only" description="state.minfo.distance_only" state="de.intevation.flys.artifacts.states.DistanceOnlySelect" helpText="help.minfo.distance">
25 <data name="ld_from" type="Double" /> 31 <data name="ld_from" type="Double" />
26 <data name="ld_to" type="Double" /> 32 <data name="ld_to" type="Double" />
27 </state> 33 </state>
28 34
29 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> 35 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
30 <from state="state.minfo.distance_only"/> 36 <from state="state.minfo.distance_only"/>
31 <to state="state.minfo.dischargestate"/> 37 <to state="state.minfo.dischargestate"/>
38 <condition data="calculation_mode" value="calc.flow.velocity" operator="equal"/>
39 </transition>
40
41 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
42 <from state="state.minfo.distance_only"/>
43 <to state="state.minfo.soundings"/>
44 <condition data="calculation_mode" value="calc.bed.middle" operator="equal"/>
32 </transition> 45 </transition>
33 46
34 <state id="state.minfo.dischargestate" description="state.minfo.dischargestate" state="de.intevation.flys.artifacts.states.DischargeState" helpText="help.minfo.dischargestate"> 47 <state id="state.minfo.dischargestate" description="state.minfo.dischargestate" state="de.intevation.flys.artifacts.states.DischargeState" helpText="help.minfo.dischargestate">
35 <data name="total.channel" type="intoptions"/> 48 <data name="total.channel" type="intoptions"/>
36 <data name="main.channel" type="intoptions"/> 49 <data name="main.channel" type="intoptions"/>
37 </state> 50 </state>
38 51
52 <state id="state.minfo.soundings" description="state.minfo.soundingsstate" state="de.intevation.flys.artifacts.states.SoundingsSelect" helpText="help.minfo.soundingsstate">
53 <data name="soundings" type="options"/>
54 </state>
55
39 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> 56 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
40 <from state="state.minfo.dischargestate"/> 57 <from state="state.minfo.dischargestate"/>
41 <to state="state.minfo.flow_velocity"/> 58 <to state="state.minfo.flow_velocity"/>
59 </transition>
60
61 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
62 <from state="state.minfo.soundings"/>
63 <to state="state.minfo.bedheight_middle"/>
42 </transition> 64 </transition>
43 65
44 <state id="state.minfo.flow_velocity" description="state.minfo.flow_velocity" state="de.intevation.flys.artifacts.states.FlowVelocityState" helpText="help.minfo.flowvelocity"> 66 <state id="state.minfo.flow_velocity" description="state.minfo.flow_velocity" state="de.intevation.flys.artifacts.states.FlowVelocityState" helpText="help.minfo.flowvelocity">
45 <outputmodes> 67 <outputmodes>
46 <outputmode name="flow_velocity" description="output.flow_velocity" mime-type="image/png" type="chart"> 68 <outputmode name="flow_velocity" description="output.flow_velocity" mime-type="image/png" type="chart">
59 </facets> 81 </facets>
60 </outputmode> 82 </outputmode>
61 </outputmodes> 83 </outputmodes>
62 </state> 84 </state>
63 85
86 <state id="state.minfo.bedheight_middle" description="state.minfo.bedheight_middle" state="de.intevation.flys.artifacts.states.MiddleBedHeight" helpText="help.minfo.bedheight_middle">
87 <outputmodes>
88 <outputmode name="bedheight_middle" description="output.bedheight_middle" mime-type="image/png" type="chart">
89 <facets>
90 <!-- TODO -->
91 </facets>
92 </outputmode>
93 <outputmode name="bedheight_middle_export" description="output.bedheight_middle_export" mime-type="text/plain" type="export">
94 <facets>
95 <facet name="csv" description="facet.bedheight_middle_export.csv" />
96 <!--
97 <facet name="pdf" description="facet.historical_discharge.pdf" />
98 -->
99 </facets>
100 </outputmode>
101 </outputmodes>
102 </state>
103
64 </states> 104 </states>
65 105
66 </artifact> 106 </artifact>

http://dive4elements.wald.intevation.org