comparison flys-artifacts/doc/conf/artifacts/winfo.xml @ 399:53cc794fee07

Improved the transition model and added states to enable the 'discharge longitudinal section' computation - NOTE: the work in this computation has not finished yet. flys-artifacts/trunk@1830 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 05 May 2011 06:12:44 +0000
parents 72177020db92
children eb22ffe4d74c
comparison
equal deleted inserted replaced
398:435058da0eae 399:53cc794fee07
31 <from state="state.winfo.calculation_mode"/> 31 <from state="state.winfo.calculation_mode"/>
32 <to state="state.winfo.location"/> 32 <to state="state.winfo.location"/>
33 <condition data="calculation_mode" value="calc.duration.curve" operator="equal"/> 33 <condition data="calculation_mode" value="calc.duration.curve" operator="equal"/>
34 </transition> 34 </transition>
35 35
36 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
37 <from state="state.winfo.calculation_mode"/>
38 <to state="state.winfo.location_distance"/>
39 <condition data="calculation_mode" value="calc.discharge.longitudinal.section" operator="equal"/>
40 </transition>
41
36 <state id="state.winfo.location" description="state.winfo.location" state="de.intevation.flys.artifacts.states.LocationSelect"> 42 <state id="state.winfo.location" description="state.winfo.location" state="de.intevation.flys.artifacts.states.LocationSelect">
37 <data name="ld_locations" type="Double[]" /> 43 <data name="ld_locations" type="Double[]" />
38 44
39 <outputmodes> 45 <outputmodes>
40 <outputmode name="discharge_curve" description="output.discharge_curve" mime-type="image/png"> 46 <outputmode name="discharge_curve" description="output.discharge_curve" mime-type="image/png">
61 </facets> 67 </facets>
62 </outputmode> 68 </outputmode>
63 </outputmodes> 69 </outputmodes>
64 </state> 70 </state>
65 71
66 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> 72 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
67 <from state="state.winfo.location_distance"/> 73 <from state="state.winfo.location_distance"/>
68 <to state="state.winfo.wq"/> 74 <to state="state.winfo.wq"/>
75 <condition data="calculation_mode" value="calc.surface.curve" operator="equal"/>
76 </transition>
77
78 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
79 <from state="state.winfo.location_distance"/>
80 <to state="state.winfo.wq_adapted"/>
81 <condition data="calculation_mode" value="calc.discharge.longitudinal.section" operator="equal"/>
69 </transition> 82 </transition>
70 83
71 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> 84 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
72 <from state="state.winfo.location"/> 85 <from state="state.winfo.location"/>
73 <to state="state.winfo.durationcurve"/> 86 <to state="state.winfo.durationcurve"/>
85 <data name="wq_selection" type="String" /> 98 <data name="wq_selection" type="String" />
86 <data name="wq_from" type="Double" /> 99 <data name="wq_from" type="Double" />
87 <data name="wq_to" type="Double" /> 100 <data name="wq_to" type="Double" />
88 <data name="wq_step" type="Double" /> 101 <data name="wq_step" type="Double" />
89 <data name="wq_single" type="Double[]" /> 102 <data name="wq_single" type="Double[]" />
103 </state>
104
105 <state id="state.winfo.wq_adapted" description="state.winfo.wq_adapted" state="de.intevation.flys.artifacts.states.WQAdapted">
106 <!-- TODO Add data objects -->
107 <data name="wq_mode" type="String" />
108 <data name="wq_values" type="WQTriple" />
90 </state> 109 </state>
91 110
92 <state id="state.winfo.durationcurve" description="state.winfo.durationcurve" state="de.intevation.flys.artifacts.states.DurationCurveState"> 111 <state id="state.winfo.durationcurve" description="state.winfo.durationcurve" state="de.intevation.flys.artifacts.states.DurationCurveState">
93 <outputmodes> 112 <outputmodes>
94 <outputmode name="duration_curve" description="output.duration_curve" mime-type="image/png"> 113 <outputmode name="duration_curve" description="output.duration_curve" mime-type="image/png">
125 <from state="state.winfo.wq"/> 144 <from state="state.winfo.wq"/>
126 <to state="state.winfo.waterlevel"/> 145 <to state="state.winfo.waterlevel"/>
127 <condition data="calculation_mode" value="calc.surface.curve" operator="equal"/> 146 <condition data="calculation_mode" value="calc.surface.curve" operator="equal"/>
128 </transition> 147 </transition>
129 148
149 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
150 <from state="state.winfo.wq_adapted"/>
151 <to state="state.winfo.discharge_longitudinal_section"/>
152 </transition>
153
130 <state id="state.winfo.waterlevel" description="state.winfo.waterlevel" state="de.intevation.flys.artifacts.states.WaterlevelState"> 154 <state id="state.winfo.waterlevel" description="state.winfo.waterlevel" state="de.intevation.flys.artifacts.states.WaterlevelState">
131 <outputmodes> 155 <outputmodes>
132 <outputmode name="longitudinal_section" description="output.longitudinal_section" mime-type="image/png"> 156 <outputmode name="longitudinal_section" description="output.longitudinal_section" mime-type="image/png">
133 <facets> 157 <facets>
134 <facet name="longitudinal_section.w" description="facet.longitudinal_section.w"/> 158 <facet name="longitudinal_section.w" description="facet.longitudinal_section.w"/>
141 </facets> 165 </facets>
142 </outputmode> 166 </outputmode>
143 </outputmodes> 167 </outputmodes>
144 </state> 168 </state>
145 169
170 <state id="state.winfo.discharge_longitudinal_section" description="state.winfo.discharge_longitudinal_section" state="de.intevation.flys.artifacts.states.DischargeLongitudinalSection">
171 <outputmodes>
172 <outputmode name="discharge_longitudinal_section" description="output.discharge_longitudinal_section" mime-type="image/png">
173 <facets>
174 <facet name="discharge_longitudinal_section.w"/>
175 </facets>
176 </outputmode>
177 </outputmodes>
178 </state>
179
146 </states> 180 </states>
147 </artifact> 181 </artifact>

http://dive4elements.wald.intevation.org