comparison flys-artifacts/doc/conf/artifacts/winfo.xml @ 392:72177020db92

Improved the transition model and added classes to enable the WINFO artifact to create computed discharge curves - NOTE: each of the new classes is just a stub. flys-artifacts/trunk@1817 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 04 May 2011 07:48:39 +0000
parents 5d6988836f01
children 53cc794fee07
comparison
equal deleted inserted replaced
391:5d6988836f01 392:72177020db92
17 17
18 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> 18 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
19 <from state="state.winfo.calculation_mode"/> 19 <from state="state.winfo.calculation_mode"/>
20 <to state="state.winfo.location_distance"/> 20 <to state="state.winfo.location_distance"/>
21 <condition data="calculation_mode" value="calc.surface.curve" operator="equal"/> 21 <condition data="calculation_mode" value="calc.surface.curve" operator="equal"/>
22 </transition>
23
24 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
25 <from state="state.winfo.calculation_mode"/>
26 <to state="state.winfo.location"/>
27 <condition data="calculation_mode" value="calc.discharge.curve" operator="equal"/>
22 </transition> 28 </transition>
23 29
24 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> 30 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
25 <from state="state.winfo.calculation_mode"/> 31 <from state="state.winfo.calculation_mode"/>
26 <to state="state.winfo.location"/> 32 <to state="state.winfo.location"/>
60 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> 66 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
61 <from state="state.winfo.location_distance"/> 67 <from state="state.winfo.location_distance"/>
62 <to state="state.winfo.wq"/> 68 <to state="state.winfo.wq"/>
63 </transition> 69 </transition>
64 70
65 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> 71 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
66 <from state="state.winfo.location"/> 72 <from state="state.winfo.location"/>
67 <to state="state.winfo.durationcurve"/> 73 <to state="state.winfo.durationcurve"/>
74 <condition data="calculation_mode" value="calc.duration.curve" operator="equal"/>
75 </transition>
76
77 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
78 <from state="state.winfo.location"/>
79 <to state="state.winfo.computeddischargecurve"/>
80 <condition data="calculation_mode" value="calc.discharge.curve" operator="equal"/>
68 </transition> 81 </transition>
69 82
70 <state id="state.winfo.wq" description="state.winfo.wq" state="de.intevation.flys.artifacts.states.WQSelect"> 83 <state id="state.winfo.wq" description="state.winfo.wq" state="de.intevation.flys.artifacts.states.WQSelect">
71 <data name="wq_mode" type="String" /> 84 <data name="wq_mode" type="String" />
72 <data name="wq_selection" type="String" /> 85 <data name="wq_selection" type="String" />
85 </facets> 98 </facets>
86 </outputmode> 99 </outputmode>
87 <outputmode name="durationcurve_export" description="output.waterlevel_export" mime-type="text/plain"> 100 <outputmode name="durationcurve_export" description="output.waterlevel_export" mime-type="text/plain">
88 <facets> 101 <facets>
89 <facet name="csv" description="facet.durationcurve_export.csv" /> 102 <facet name="csv" description="facet.durationcurve_export.csv" />
103 </facets>
104 </outputmode>
105 </outputmodes>
106 </state>
107
108 <state id="state.winfo.computeddischargecurve" description="state.winfo.computeddischargecurve" state="de.intevation.flys.artifacts.states.ComputedDischargeCurveState">
109 <outputmodes>
110 <outputmode name="computed_discharge_curve" description="output.computed_discharge_curve" mime-type="image/png">
111 <facets>
112 <facet name="computed_discharge_curve.w" description="facet.computed_discharge_curve.w"/>
113 <facet name="computed_discharge_curve.q" description="facet.computed_discharge_curve.q"/>
114 </facets>
115 </outputmode>
116 <outputmode name="computed_dischargecurve_export" description="output.computed_dischargecurve_export" mime-type="text/plain">
117 <facets>
118 <facet name="csv" description="facet.computed_dischargecurve_export.csv" />
90 </facets> 119 </facets>
91 </outputmode> 120 </outputmode>
92 </outputmodes> 121 </outputmodes>
93 </state> 122 </state>
94 123

http://dive4elements.wald.intevation.org