Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/artifacts/winfo.xml @ 921:610d0e0f4f85
#159 Modifications in the transition model to support a state with a kilometer range input only.
flys-artifacts/trunk@2270 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 30 Jun 2011 11:32:17 +0000 |
parents | 5ddb1b568f38 |
children | 53a2be494765 |
comparison
equal
deleted
inserted
replaced
920:a618dd6d80ea | 921:610d0e0f4f85 |
---|---|
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"> | 36 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> |
37 <from state="state.winfo.calculation_mode"/> | 37 <from state="state.winfo.calculation_mode"/> |
38 <to state="state.winfo.location_distance"/> | 38 <to state="state.winfo.distance"/> |
39 <condition data="calculation_mode" value="calc.discharge.longitudinal.section" operator="equal"/> | 39 <condition data="calculation_mode" value="calc.discharge.longitudinal.section" operator="equal"/> |
40 </transition> | 40 </transition> |
41 | 41 |
42 <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"> |
43 <data name="ld_locations" type="Double[]" /> | 43 <data name="ld_locations" type="Double[]" /> |
47 <facets> | 47 <facets> |
48 <facet name="discharge_curve.curve" description="facet.discharge_curve.curve"/> | 48 <facet name="discharge_curve.curve" description="facet.discharge_curve.curve"/> |
49 </facets> | 49 </facets> |
50 </outputmode> | 50 </outputmode> |
51 <!-- TODO: Do we want an error report? --> | 51 <!-- TODO: Do we want an error report? --> |
52 </outputmodes> | |
53 </state> | |
54 | |
55 <state id="state.winfo.distance" description="state.winfo.distance" state="de.intevation.flys.artifacts.states.DistanceSelect"> | |
56 <data name="ld_from" type="Double" /> | |
57 <data name="ld_to" type="Double" /> | |
58 <data name="ld_step" type="Double" /> | |
59 | |
60 <outputmodes> | |
61 <outputmode name="discharge_curve" description="output.discharge_curve" mime-type="image/png"> | |
62 <facets> | |
63 <facet name="discharge_curve.curve" description="facet.discharge_curve.curve"/> | |
64 </facets> | |
65 </outputmode> | |
52 </outputmodes> | 66 </outputmodes> |
53 </state> | 67 </state> |
54 | 68 |
55 <state id="state.winfo.location_distance" description="state.winfo.location_distance" state="de.intevation.flys.artifacts.states.LocationDistanceSelect"> | 69 <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" /> | 70 <data name="ld_mode" type="String" /> |
67 </outputmode> | 81 </outputmode> |
68 <!-- TODO: Do we want an error report? --> | 82 <!-- TODO: Do we want an error report? --> |
69 </outputmodes> | 83 </outputmodes> |
70 </state> | 84 </state> |
71 | 85 |
86 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> | |
87 <from state="state.winfo.distance"/> | |
88 <to state="state.winfo.wq_adapted"/> | |
89 </transition> | |
90 | |
72 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> | 91 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> |
73 <from state="state.winfo.location_distance"/> | 92 <from state="state.winfo.location_distance"/> |
74 <to state="state.winfo.wq"/> | 93 <to state="state.winfo.wq"/> |
75 <condition data="calculation_mode" value="calc.surface.curve" operator="equal"/> | 94 <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> | 95 </transition> |
83 | 96 |
84 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> | 97 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition"> |
85 <from state="state.winfo.location"/> | 98 <from state="state.winfo.location"/> |
86 <to state="state.winfo.durationcurve"/> | 99 <to state="state.winfo.durationcurve"/> |