changeset 2170:90dfc25007f1

Added transition/state stubs for "Bezugslinienverfahren". flys-artifacts/trunk@3765 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 25 Jan 2012 14:14:33 +0000
parents b817e680cf18
children 9083e1b47b66
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/artifacts/winfo.xml flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java
diffstat 4 files changed, 47 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Jan 25 12:58:26 2012 +0000
+++ b/flys-artifacts/ChangeLog	Wed Jan 25 14:14:33 2012 +0000
@@ -5,6 +5,15 @@
 
 2012-01-25	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
+	* doc/conf/artifacts/winfo.xml: Add states/transitions stubs for 
+	"Bezugsllinenverfahren."
+
+	* src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java,
+	  src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java:
+	  Stubs for the two new states.
+
+2012-01-25	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
 	* contrib/visualize-transitions.xsl: Fixed output of the conditions 
 	  of the transitions. Now you can see the circumstances
 	  when a branch is taken.
--- a/flys-artifacts/doc/conf/artifacts/winfo.xml	Wed Jan 25 12:58:26 2012 +0000
+++ b/flys-artifacts/doc/conf/artifacts/winfo.xml	Wed Jan 25 14:14:33 2012 +0000
@@ -161,6 +161,19 @@
             <data name="diffids" type="String" />
         </state>
 
+        <state id="state.winfo.reference.curve.input" description="state.winfo.reference.curve.input" state="de.intevation.flys.artifacts.states.ReferenceCurveInputState">
+            <data name="reference_start" type="Double"/>
+            <data name="reference_end" type="Double[]"/>
+        </state>
+
+        <state id="state.winfo.reference.curve" description="state.winfo.reference.curve" state="de.intevation.flys.artifacts.states.ReferenceCurveState">
+        </state>
+
+        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
+            <from state="state.winfo.reference.curve.input"/>
+            <to state="state.winfo.reference.curve"/>
+        </transition>
+
         <state id="state.winfo.w_differences" description="state.winfo.w_differences" state="de.intevation.flys.artifacts.states.WDifferencesState">
 
             <outputmodes>
@@ -248,6 +261,12 @@
             <to state="state.winfo.discharge_longitudinal_section"/>
         </transition>
 
+        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
+            <from state="state.winfo.calculation_mode"/>
+            <to state="state.winfo.reference.curve.input"/>
+            <condition data="calculation_mode" value="calc.reference.curve" operator="equal"/>
+        </transition>
+
         <state id="state.winfo.waterlevel" description="state.winfo.waterlevel" state="de.intevation.flys.artifacts.states.WaterlevelState">
             <outputmodes>
                 <outputmode name="longitudinal_section" description="output.longitudinal_section" mime-type="image/png" type="chart">
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java	Wed Jan 25 14:14:33 2012 +0000
@@ -0,0 +1,10 @@
+package de.intevation.flys.artifacts.states;
+
+public class ReferenceCurveInputState
+extends      DefaultState
+{
+    public ReferenceCurveInputState() {
+    }
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java	Wed Jan 25 14:14:33 2012 +0000
@@ -0,0 +1,9 @@
+package de.intevation.flys.artifacts.states;
+
+public class ReferenceCurveState
+extends      DefaultState
+{
+    public ReferenceCurveState() {
+    }
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org