Mercurial > dive4elements > river
annotate flys-artifacts/doc/conf/artifacts/winfo.xml @ 151:4eddbb219866
Add factory to fetch gauges from database and filter them
for their ranges. XXX: Coded inefficent.
flys-artifacts/trunk@1581 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 28 Mar 2011 09:17:25 +0000 |
parents | 8735d1a9af4c |
children | ea7bf9990973 |
rev | line source |
---|---|
105
beb991dc4827
Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
beb991dc4827
Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
2 <artifact name="winfo"> |
beb991dc4827
Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
3 <states> |
beb991dc4827
Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
4 |
127
21d791e21aca
Introduced a state to select the calculation mode.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
113
diff
changeset
|
5 <state id="state.winfo.river" description="state.winfo.river" state="de.intevation.flys.artifacts.states.RiverSelect"> |
113
f077df8ad54c
The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
109
diff
changeset
|
6 <data name="river" type="String" /> |
105
beb991dc4827
Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
7 </state> |
beb991dc4827
Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
8 |
106
5864c41219db
Initializes a TransitionEngine storing all transitions for each artifact at the application start.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
105
diff
changeset
|
9 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> |
127
21d791e21aca
Introduced a state to select the calculation mode.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
113
diff
changeset
|
10 <from state="state.winfo.river"/> |
21d791e21aca
Introduced a state to select the calculation mode.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
113
diff
changeset
|
11 <to state="state.winfo.calculation_mode"/> |
105
beb991dc4827
Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
12 </transition> |
beb991dc4827
Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
13 |
127
21d791e21aca
Introduced a state to select the calculation mode.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
113
diff
changeset
|
14 <state id="state.winfo.calculation_mode" description="state.winfo.calculation_mode" state="de.intevation.flys.artifacts.states.CalculationSelect"> |
21d791e21aca
Introduced a state to select the calculation mode.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
113
diff
changeset
|
15 <data name="calculation_mode" type="String" /> |
105
beb991dc4827
Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
16 </state> |
beb991dc4827
Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
17 |
138
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
18 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
19 <from state="state.winfo.calculation_mode"/> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
20 <to state="state.winfo.location_distance"/> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
21 </transition> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
22 |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
23 <state id="state.winfo.location_distance" description="state.winfo.location_distance" state="de.intevation.flys.artifacts.states.LocationDistanceSelect"> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
24 <data name="ld_from" type="Double" /> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
25 <data name="ld_to" type="Double" /> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
26 <data name="ld_step" type="Double" /> |
143
8735d1a9af4c
The location_distance state of the WINFO parameterization has an output mode 'discharge_table' now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
138
diff
changeset
|
27 |
8735d1a9af4c
The location_distance state of the WINFO parameterization has an output mode 'discharge_table' now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
138
diff
changeset
|
28 <outputmodes> |
8735d1a9af4c
The location_distance state of the WINFO parameterization has an output mode 'discharge_table' now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
138
diff
changeset
|
29 <outputmode name="discharge_table" description="output.discharge_table" mime-type="image/png"/> |
8735d1a9af4c
The location_distance state of the WINFO parameterization has an output mode 'discharge_table' now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
138
diff
changeset
|
30 </outputmodes> |
138
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
31 </state> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
32 |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
33 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
34 <from state="state.winfo.location_distance"/> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
35 <to state="state.winfo.wq"/> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
36 </transition> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
37 |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
38 <state id="state.winfo.wq" description="state.winfo.wq" state="de.intevation.flys.artifacts.states.WQSelect"> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
39 <data name="wq_mode" type="String" /> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
40 <data name="wq_from" type="Double" /> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
41 <data name="wq_to" type="Double" /> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
42 <data name="wq_step" type="Double" /> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
43 </state> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
44 |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
45 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
46 <from state="state.winfo.wq"/> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
47 <to state="state.winfo.calculation"/> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
48 </transition> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
49 |
143
8735d1a9af4c
The location_distance state of the WINFO parameterization has an output mode 'discharge_table' now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
138
diff
changeset
|
50 <state id="state.winfo.calculation" description="state.winfo.wq" state="de.intevation.flys.artifacts.states.WINFOOutputState"> |
138
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
51 </state> |
38b60ebc71b5
Added new states to insert location/distance and w/q data in the config of a WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
127
diff
changeset
|
52 |
105
beb991dc4827
Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
53 </states> |
beb991dc4827
Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
54 </artifact> |