comparison flys-artifacts/doc/conf/artifacts/winfo.xml @ 430:7ab81ff32111 2.3

merged flys-artifacts/2.3
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:10 +0200
parents 9eb5f0c8fe7f
children c0bec245f608
comparison
equal deleted inserted replaced
290:a6f56ed9238b 430:7ab81ff32111
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 <facet name="discharge_curve.w" description="facet.discharge_curve.w"/>
50 <facet name="discharge_curve.q" description="facet.discharge_curve.q"/>
51 </facets>
52 </outputmode>
53 </outputmodes>
54 </state>
55
56 <state id="state.winfo.location_distance" description="state.winfo.location_distance" state="de.intevation.flys.artifacts.states.LocationDistanceSelect">
57 <data name="ld_from" type="Double" />
58 <data name="ld_to" type="Double" />
59 <data name="ld_step" type="Double" />
60
61 <outputmodes>
62 <outputmode name="discharge_curve" description="output.discharge_curve" mime-type="image/png">
63 <facets>
64 <facet name="discharge_curve.curve" description="facet.discharge_curve.curve"/>
65 <facet name="discharge_curve.w" description="facet.discharge_curve.w"/>
66 <facet name="discharge_curve.q" description="facet.discharge_curve.q"/>
67 </facets>
68 </outputmode>
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_selection" type="String" />
99 <data name="wq_from" type="Double" />
100 <data name="wq_to" type="Double" />
101 <data name="wq_step" 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" />
109 </state>
110
111 <state id="state.winfo.durationcurve" description="state.winfo.durationcurve" state="de.intevation.flys.artifacts.states.DurationCurveState">
112 <outputmodes>
113 <outputmode name="duration_curve" description="output.duration_curve" mime-type="image/png">
114 <facets>
115 <facet name="duration_curve.w" description="facet.duration_curve.w"/>
116 <facet name="duration_curve.q" description="facet.duration_curve.q"/>
117 </facets>
118 </outputmode>
119 <outputmode name="durationcurve_export" description="output.waterlevel_export" mime-type="text/plain">
120 <facets>
121 <facet name="csv" description="facet.durationcurve_export.csv" />
122 </facets>
123 </outputmode>
124 </outputmodes>
125 </state>
126
127 <state id="state.winfo.computeddischargecurve" description="state.winfo.computeddischargecurve" state="de.intevation.flys.artifacts.states.ComputedDischargeCurveState">
128 <outputmodes>
129 <outputmode name="computed_discharge_curve" description="output.computed_discharge_curve" mime-type="image/png">
130 <facets>
131 <facet name="computed_discharge_curve.w" description="facet.computed_discharge_curve.w"/>
132 <facet name="computed_discharge_curve.q" description="facet.computed_discharge_curve.q"/>
133 </facets>
134 </outputmode>
135 <outputmode name="computed_dischargecurve_export" description="output.computed_dischargecurve_export" mime-type="text/plain">
136 <facets>
137 <facet name="csv" description="facet.computed_dischargecurve_export.csv" />
138 </facets>
139 </outputmode>
140 </outputmodes>
141 </state>
142
143 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
144 <from state="state.winfo.wq"/>
145 <to state="state.winfo.waterlevel"/>
146 <condition data="calculation_mode" value="calc.surface.curve" operator="equal"/>
147 </transition>
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
154 <state id="state.winfo.waterlevel" description="state.winfo.waterlevel" state="de.intevation.flys.artifacts.states.WaterlevelState">
155 <outputmodes>
156 <outputmode name="longitudinal_section" description="output.longitudinal_section" mime-type="image/png">
157 <facets>
158 <facet name="longitudinal_section.w" description="facet.longitudinal_section.w"/>
159 <facet name="longitudinal_section.q" description="facet.longitudinal_section.q"/>
160 </facets>
161 </outputmode>
162 <outputmode name="waterlevel_export" description="output.waterlevel_export" mime-type="text/plain">
163 <facets>
164 <facet name="csv" description="facet.waterlevel_export.csv" />
165 </facets>
166 </outputmode>
167 </outputmodes>
168 </state>
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 <facet name="discharge_longitudinal_section.q"/>
176 </facets>
177 </outputmode>
178 <outputmode name="discharge_longitudinal_section_export" description="output.discharge_longitudinal_section_export" mime-type="text/plain">
179 <facets>
180 <facet name="csv" description="facet.discharge_longitudinal_section_export.csv" />
181 </facets>
182 </outputmode>
183 </outputmodes>
184 </state>
185
186 </states>
187 </artifact>

http://dive4elements.wald.intevation.org