comparison flys-artifacts/doc/conf/artifacts/winfo.xml @ 751:8d5bd3a08dd1

merged flys-artifacts/2.4
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:14 +0200
parents 5ddb1b568f38
children 610d0e0f4f85
comparison
equal deleted inserted replaced
618:6fd6c223b81e 751:8d5bd3a08dd1
1 <?xml version="1.0" encoding="UTF-8"?>
2 <artifact name="winfo">
3 <states>
4
5 <state id="state.winfo.river" description="state.winfo.river" state="de.intevation.flys.artifacts.states.RiverSelect">
6 <data name="river" type="String" />
7 </state>
8
9 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
10 <from state="state.winfo.river"/>
11 <to state="state.winfo.calculation_mode"/>
12 </transition>
13
14 <state id="state.winfo.calculation_mode" description="state.winfo.calculation_mode" state="de.intevation.flys.artifacts.states.CalculationSelect">
15 <data name="calculation_mode" type="String" />
16 </state>
17
18 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
19 <from state="state.winfo.calculation_mode"/>
20 <to state="state.winfo.location_distance"/>
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"/>
28 </transition>
29
30 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
31 <from state="state.winfo.calculation_mode"/>
32 <to state="state.winfo.location"/>
33 <condition data="calculation_mode" value="calc.duration.curve" operator="equal"/>
34 </transition>
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
42 <state id="state.winfo.location" description="state.winfo.location" state="de.intevation.flys.artifacts.states.LocationSelect">
43 <data name="ld_locations" type="Double[]" />
44
45 <outputmodes>
46 <outputmode name="discharge_curve" description="output.discharge_curve" mime-type="image/png">
47 <facets>
48 <facet name="discharge_curve.curve" description="facet.discharge_curve.curve"/>
49 </facets>
50 </outputmode>
51 <!-- TODO: Do we want an error report? -->
52 </outputmodes>
53 </state>
54
55 <state id="state.winfo.location_distance" description="state.winfo.location_distance" state="de.intevation.flys.artifacts.states.LocationDistanceSelect">
56 <data name="ld_mode" type="String" />
57 <data name="ld_locations" type="Double[]" />
58 <data name="ld_from" type="Double" />
59 <data name="ld_to" type="Double" />
60 <data name="ld_step" type="Double" />
61
62 <outputmodes>
63 <outputmode name="discharge_curve" description="output.discharge_curve" mime-type="image/png">
64 <facets>
65 <facet name="discharge_curve.curve" description="facet.discharge_curve.curve"/>
66 </facets>
67 </outputmode>
68 <!-- TODO: Do we want an error report? -->
69 </outputmodes>
70 </state>
71
72 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
73 <from state="state.winfo.location_distance"/>
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"/>
82 </transition>
83
84 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
85 <from state="state.winfo.location"/>
86 <to state="state.winfo.durationcurve"/>
87 <condition data="calculation_mode" value="calc.duration.curve" operator="equal"/>
88 </transition>
89
90 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
91 <from state="state.winfo.location"/>
92 <to state="state.winfo.computeddischargecurve"/>
93 <condition data="calculation_mode" value="calc.discharge.curve" operator="equal"/>
94 </transition>
95
96 <state id="state.winfo.wq" description="state.winfo.wq" state="de.intevation.flys.artifacts.states.WQSelect">
97 <data name="wq_mode" type="String" />
98 <data name="wq_free" type="Boolean" />
99 <data name="wq_selection" type="String" />
100 <data name="wq_from" type="Double" />
101 <data name="wq_to" type="Double" />
102 <data name="wq_step" type="Double" />
103 <data name="wq_single" type="Double[]" />
104 </state>
105
106 <state id="state.winfo.wq_adapted" description="state.winfo.wq_adapted" state="de.intevation.flys.artifacts.states.WQAdapted">
107 <!-- TODO Add data objects -->
108 <data name="wq_mode" type="String" />
109 <data name="wq_values" type="WQTriple" />
110 </state>
111
112 <state id="state.winfo.durationcurve" description="state.winfo.durationcurve" state="de.intevation.flys.artifacts.states.DurationCurveState">
113 <outputmodes>
114 <outputmode name="duration_curve" description="output.duration_curve" mime-type="image/png">
115 <facets>
116 <facet name="duration_curve.w" description="facet.duration_curve.w"/>
117 <facet name="duration_curve.q" description="facet.duration_curve.q"/>
118 </facets>
119 </outputmode>
120 <outputmode name="durationcurve_export" description="output.durationcurve_export" mime-type="text/plain">
121 <facets>
122 <facet name="csv" description="facet.durationcurve_export.csv" />
123 </facets>
124 </outputmode>
125 <outputmode name="durationcurve_report" description="output.durationcurve_report" mime-type="text/xml">
126 <facets>
127 <facet name="report" description="facet.durationcurve_export.report" />
128 </facets>
129 </outputmode>
130 </outputmodes>
131 </state>
132
133 <state id="state.winfo.computeddischargecurve" description="state.winfo.computeddischargecurve" state="de.intevation.flys.artifacts.states.ComputedDischargeCurveState">
134 <outputmodes>
135 <outputmode name="computed_discharge_curve" description="output.computed_discharge_curve" mime-type="image/png">
136 <facets>
137 <facet name="computed_discharge_curve.q" description="facet.computed_discharge_curve.q"/>
138 </facets>
139 </outputmode>
140 <outputmode name="computed_dischargecurve_export" description="output.computed_dischargecurve_export" mime-type="text/plain">
141 <facets>
142 <facet name="csv" description="facet.computed_dischargecurve_export.csv" />
143 </facets>
144 </outputmode>
145 <outputmode name="computed_dischargecurve_report" description="output.computed_dischargecurve_report" mime-type="text/xml">
146 <facets>
147 <facet name="report" description="facet.computed_dischargecurve_export.report"/>
148 </facets>
149 </outputmode>
150 <outputmode name="computed_dischargecurve_at_export" description="output.computed_dischargecurve_at_export" mime-type="text/plain">
151 <facets>
152 <facet name="at" description="facet.computed_dischargecurve_export.at"/>
153 </facets>
154 </outputmode>
155 </outputmodes>
156 </state>
157
158 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
159 <from state="state.winfo.wq"/>
160 <to state="state.winfo.waterlevel"/>
161 <condition data="calculation_mode" value="calc.surface.curve" operator="equal"/>
162 </transition>
163
164 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
165 <from state="state.winfo.wq_adapted"/>
166 <to state="state.winfo.discharge_longitudinal_section"/>
167 </transition>
168
169 <state id="state.winfo.waterlevel" description="state.winfo.waterlevel" state="de.intevation.flys.artifacts.states.WaterlevelState">
170 <outputmodes>
171 <outputmode name="longitudinal_section" description="output.longitudinal_section" mime-type="image/png">
172 <facets>
173 <facet name="longitudinal_section.w" description="facet.longitudinal_section.w"/>
174 <facet name="longitudinal_section.q" description="facet.longitudinal_section.q"/>
175 </facets>
176 </outputmode>
177 <outputmode name="waterlevel_export" description="output.waterlevel_export" mime-type="text/plain">
178 <facets>
179 <facet name="csv" description="facet.waterlevel_export.csv" />
180 <facet name="wst" description="facet.waterlevel_export.wst" />
181 </facets>
182 </outputmode>
183 <outputmode name="waterlevel_report" description="output.waterlevel_report" mime-type="text/xml">
184 <facets>
185 <facet name="report" description="facet.waterlevel_export.report"/>
186 </facets>
187 </outputmode>
188 </outputmodes>
189 </state>
190
191 <state id="state.winfo.discharge_longitudinal_section" description="state.winfo.discharge_longitudinal_section" state="de.intevation.flys.artifacts.states.DischargeLongitudinalSection">
192 <outputmodes>
193 <outputmode name="discharge_longitudinal_section" description="output.discharge_longitudinal_section" mime-type="image/png">
194 <facets>
195 <facet name="discharge_longitudinal_section.w"/>
196 <facet name="discharge_longitudinal_section.q"/>
197 <facet name="discharge_longitudinal_section.c"/>
198 </facets>
199 </outputmode>
200 <outputmode name="discharge_longitudinal_section_export" description="output.discharge_longitudinal_section_export" mime-type="text/plain">
201 <facets>
202 <facet name="csv" description="facet.discharge_longitudinal_section_export.csv" />
203 <facet name="wst" description="facet.discharge_longitudinal_section_export.wst" />
204 </facets>
205 </outputmode>
206 <outputmode name="discharge_longitudinal_section_report" description="output.discharge_longitudinal_section_report" mime-type="text/xml">
207 <facets>
208 <facet name="report" description="facet.discharge_longitudinal_section_export.report"/>
209 </facets>
210 </outputmode>
211 </outputmodes>
212 </state>
213
214 </states>
215 </artifact>

http://dive4elements.wald.intevation.org