comparison flys-artifacts/doc/conf/artifacts/winfo.xml @ 2200:575ed0248be2

Added transitions for 'historical discharge curves' calculation. flys-artifacts/trunk@3818 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 30 Jan 2012 09:03:12 +0000
parents 65b32220f197
children 1db66b88868f
comparison
equal deleted inserted replaced
2199:7bac5afb9892 2200:575ed0248be2
50 <to state="state.winfo.waterlevel_pair_select"/> 50 <to state="state.winfo.waterlevel_pair_select"/>
51 <condition data="calculation_mode" value="calc.w.differences" operator="equal"/> 51 <condition data="calculation_mode" value="calc.w.differences" operator="equal"/>
52 </transition> 52 </transition>
53 53
54 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> 54 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
55 <from state="state.winfo.calculation_mode"/>
56 <to state="state.winfo.historicalq.reference_gauge"/>
57 <condition data="calculation_mode" value="calc.historical.discharge.curve" operator="equal"/>
58 </transition>
59
60 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
55 <from state="state.winfo.waterlevel_pair_select"/> 61 <from state="state.winfo.waterlevel_pair_select"/>
56 <to state="state.winfo.w_differences"/> 62 <to state="state.winfo.w_differences"/>
63 </transition>
64
65 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
66 <from state="state.winfo.calculation_mode"/>
67 <to state="state.winfo.reference.curve.input"/>
68 <condition data="calculation_mode" value="calc.reference.curve" operator="equal"/>
57 </transition> 69 </transition>
58 70
59 <state id="state.winfo.location" description="state.winfo.location" state="de.intevation.flys.artifacts.states.LocationSelect"> 71 <state id="state.winfo.location" description="state.winfo.location" state="de.intevation.flys.artifacts.states.LocationSelect">
60 <data name="ld_locations" type="Double[]" /> 72 <data name="ld_locations" type="Double[]" />
61 73
256 </transition> 268 </transition>
257 269
258 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition"> 270 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
259 <from state="state.winfo.wq_adapted"/> 271 <from state="state.winfo.wq_adapted"/>
260 <to state="state.winfo.discharge_longitudinal_section"/> 272 <to state="state.winfo.discharge_longitudinal_section"/>
261 </transition>
262
263 <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
264 <from state="state.winfo.calculation_mode"/>
265 <to state="state.winfo.reference.curve.input"/>
266 <condition data="calculation_mode" value="calc.reference.curve" operator="equal"/>
267 </transition> 273 </transition>
268 274
269 <state id="state.winfo.waterlevel" description="state.winfo.waterlevel" state="de.intevation.flys.artifacts.states.WaterlevelState"> 275 <state id="state.winfo.waterlevel" description="state.winfo.waterlevel" state="de.intevation.flys.artifacts.states.WaterlevelState">
270 <outputmodes> 276 <outputmodes>
271 <outputmode name="longitudinal_section" description="output.longitudinal_section" mime-type="image/png" type="chart"> 277 <outputmode name="longitudinal_section" description="output.longitudinal_section" mime-type="image/png" type="chart">
426 </facets> 432 </facets>
427 </outputmode> 433 </outputmode>
428 </outputmodes> 434 </outputmodes>
429 </state> 435 </state>
430 436
437
438 <!-- path for historical discharge curves -->
439 <state id="state.winfo.historicalq.reference_gauge" description="state.winfo.historicalq.reference_gauge" state="de.intevation.flys.artifacts.states.ReferenceGaugeState">
440 <data name="reference_gauge" type="Integer" />
441 </state>
442
443 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
444 <from state="state.winfo.historicalq.reference_gauge"/>
445 <to state="state.winfo.historicalq.timerange"/>
446 </transition>
447
448 <state id="state.winfo.historicalq.timerange" description="state.winfo.historicalq.timerange" state="de.intevation.flys.artifacts.states.GaugeTimerangeState">
449 <data name="year_range" type="intrange"/>
450 </state>
451
452 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
453 <from state="state.winfo.historicalq.timerange"/>
454 <to state="state.winfo.historicalq.mode"/>
455 </transition>
456
457 <state id="state.winfo.historicalq.mode" description="state.winfo.historicalq.mode" state="de.intevation.flys.artifacts.states.HistoricalDischargeState">
458 <data name="historical_mode" type="Integer" />
459 <data name="historical_values" type="String" />
460 </state>
461
462 <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
463 <from state="state.winfo.historicalq.mode"/>
464 <to state="state.winfo.historicalq.compute"/>
465 </transition>
466
467 <state id="state.winfo.historicalq.compute" description="state.winfo.historicalq.compute" state="de.intevation.flys.artifacts.states.HistoricalDischargeComputeState">
468 <outputmodes>
469 <outputmode name="historical_discharge" description="output.historical_discharge.description" mime-type="image/png" type="chart">
470 <facets>
471 <!-- TODO ADD FACETS -->
472 </facets>
473 </outputmode>
474 <outputmode name="historical_discharge_report" description="output.historical_discharge_report" mime-type="text/xml" type="report">
475 <facets>
476 <!-- TODO ADD FACETS -->
477 </facets>
478 </outputmode>
479 </outputmodes>
480 </state>
481
431 </states> 482 </states>
432 </artifact> 483 </artifact>

http://dive4elements.wald.intevation.org