diff artifacts/doc/conf/artifacts/bundu.xml @ 9267:c7e5285d434f

bundu bezugswst work
author gernotbelger
date Wed, 18 Jul 2018 15:34:53 +0200
parents b64cf2f5f719
children 1c8eeaf6031f
line wrap: on
line diff
--- a/artifacts/doc/conf/artifacts/bundu.xml	Wed Jul 18 12:20:01 2018 +0200
+++ b/artifacts/doc/conf/artifacts/bundu.xml	Wed Jul 18 15:34:53 2018 +0200
@@ -124,7 +124,7 @@
             <facet name="csv" description="facet.fix_deltawt.csv" />
             <facet name="pdf" description="facet.fix_deltawt.pdf" />
           </facets>
-        </outputmode> 
+        </outputmode>
         <outputmode name="fix_parameters_export" description="output.fix_parameters_export" mine-type="text/plain" type="export">
           <facets>
             <facet name="fix_parameters" description="facet.fix_parameters.csv" />
@@ -325,8 +325,9 @@
     </transition>
 
 
-    <state id="state.bundu.yearselect" helpText="state.bundu.yearselect" description="state.bundu.yearselect" state="org.dive4elements.river.artifacts.bundu.bezugswst.LoadSingleYearSelectState">
-      <data name="singleyear" type="String" />
+    <state id="state.bundu.yearselect" helpText="state.bundu.yearselect" description="state.bundu.yearselect" state="org.dive4elements.river.artifacts.bundu.bezugswst.FixationPeriod">
+      <data name="singleyear" type="String" /> 
+      <data name="events_temp" type="intarray" /> <!--necessary, because they will be set automatically -->
     </state>
 
 
@@ -338,15 +339,52 @@
 
     <state id="state.bundu.fixationchoice" helpText="state.bundu.fixationchoice" description="state.bundu.fixationchoice" state="org.dive4elements.river.artifacts.bundu.bezugswst.FixationChoice">
       <data name="fix_choice" type="String" />
+      <data name="q1" type="Integer" />
+      <data name="q2" type="Integer" /> <!-- necessary, because they will be set automatically -->
+      <data name="start" type="Long" /> <!--copy from Period, to fill it in LoadQSeriesSelectState (necessary for auto-select events) -->
+      <data name="end" type="Long" />
+      <data name="events" type="intarray" />
     </state>
- 
-   
-   <!-- <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">
+
+
+
+
+    <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">
       <from state="state.bundu.fixationchoice" />
-      <to state="state.bundu.yearselect" />
-      <condition data="fix_choice" value="bundu_bezugswst" operator="equal" />
+      <to state="state.bundu.wst.fix.year_length" />
+      <condition data="fix_choice" value="state.bundu.fix.auto" operator="equal" />
     </transition>
-    TODO: to be continued -->  
+
+
+    <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">
+      <from state="state.bundu.fixationchoice" />
+      <to state="state.bundu.gaugerange" />
+      <condition data="fix_choice" value="state.bundu.fix.manual" operator="equal" />
+    </transition>
+
+
+
+
+    <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">
+      <from state="state.bundu.gaugerange" />
+      <to state="state.bundu.eventselect" />
+      <condition data="calculation_mode" value="bundu_bezugswst" operator="equal" />
+    </transition>
+
+
+    <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">
+      <from state="state.bundu.eventselect" />
+      <to state="state.bundu.wst.fix.year_length" />
+      <condition data="calculation_mode" value="bundu_bezugswst" operator="equal" />
+    </transition>
+
+
+    <state id="state.bundu.wst.fix.year_length" helpText="help.state.bundu.wst.fix.year_length" description="state.bundu.wst.fix.year_length" state="org.dive4elements.river.artifacts.bundu.bezugswst.LoadQSeriesSelectState">
+      <data name="year_input_q_series" type="String" />
+      <data name="start" type="Long" /> <!-- copy from Period, to fill it in LoadQSeriesSelectState -->
+      <data name="end" type="Long" />
+    </state>
+
 
 
 

http://dive4elements.wald.intevation.org