comparison flys-artifacts/doc/conf/artifacts/winfo.xml @ 383:dcc3cd962c0e

Enhanced the transition model to reach a state that creates duration curves. flys-artifacts/trunk@1799 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 02 May 2011 16:58:04 +0000
parents c21fb8de54f8
children 69d05357c177
comparison
equal deleted inserted replaced
382:e07d1c3f7667 383:dcc3cd962c0e
13 13
14 <state id="state.winfo.calculation_mode" description="state.winfo.calculation_mode" state="de.intevation.flys.artifacts.states.CalculationSelect"> 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" /> 15 <data name="calculation_mode" type="String" />
16 </state> 16 </state>
17 17
18 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> 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 </transition> 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.duration.curve" operator="equal"/>
28 </transition>
29
30 <state id="state.winfo.location" description="state.winfo.location" state="de.intevation.flys.artifacts.states.LocationSelect">
31 <data name="ld_locations" type="Double[]" />
32
33 <outputmodes>
34 <outputmode name="discharge_curve" description="output.discharge_curve" mime-type="image/png">
35 <facets>
36 <facet name="discharge_curve.curve" description="facet.discharge_curve.curve"/>
37 <facet name="discharge_curve.w" description="facet.discharge_curve.w"/>
38 <facet name="discharge_curve.q" description="facet.discharge_curve.q"/>
39 </facets>
40 </outputmode>
41 </outputmodes>
42 </state>
22 43
23 <state id="state.winfo.location_distance" description="state.winfo.location_distance" state="de.intevation.flys.artifacts.states.LocationDistanceSelect"> 44 <state id="state.winfo.location_distance" description="state.winfo.location_distance" state="de.intevation.flys.artifacts.states.LocationDistanceSelect">
24 <data name="ld_from" type="Double" /> 45 <data name="ld_from" type="Double" />
25 <data name="ld_to" type="Double" /> 46 <data name="ld_to" type="Double" />
26 <data name="ld_step" type="Double" /> 47 <data name="ld_step" type="Double" />
39 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> 60 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
40 <from state="state.winfo.location_distance"/> 61 <from state="state.winfo.location_distance"/>
41 <to state="state.winfo.wq"/> 62 <to state="state.winfo.wq"/>
42 </transition> 63 </transition>
43 64
65 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
66 <from state="state.winfo.location"/>
67 <to state="state.winfo.durationcurve"/>
68 </transition>
69
44 <state id="state.winfo.wq" description="state.winfo.wq" state="de.intevation.flys.artifacts.states.WQSelect"> 70 <state id="state.winfo.wq" description="state.winfo.wq" state="de.intevation.flys.artifacts.states.WQSelect">
45 <data name="wq_mode" type="String" /> 71 <data name="wq_mode" type="String" />
46 <data name="wq_selection" type="String" /> 72 <data name="wq_selection" type="String" />
47 <data name="wq_from" type="Double" /> 73 <data name="wq_from" type="Double" />
48 <data name="wq_to" type="Double" /> 74 <data name="wq_to" type="Double" />
49 <data name="wq_step" type="Double" /> 75 <data name="wq_step" type="Double" />
50 <data name="wq_single" type="Double[]" /> 76 <data name="wq_single" type="Double[]" />
77 </state>
78
79 <state id="state.winfo.durationcurve" description="state.winfo.durationcurve" state="de.intevation.flys.artifacts.states.DurationCurveState">
80 <outputmodes>
81 <outputmode name="duration_curve" description="output.duration_curve" mime-type="image/png">
82 <facets>
83 <facet name="duration_curve.w" description="facet.duration_curve.w"/>
84 <facet name="duration_curve.q" description="facet.duration_curve.q"/>
85 </facets>
86 </outputmode>
87 </outputmodes>
51 </state> 88 </state>
52 89
53 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> 90 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
54 <from state="state.winfo.wq"/> 91 <from state="state.winfo.wq"/>
55 <to state="state.winfo.waterlevel"/> 92 <to state="state.winfo.waterlevel"/>

http://dive4elements.wald.intevation.org