[Dive4elements-commits] [PATCH 01 of 13] Additional transitions and outs for MINFO sediment load calculation

Wald Commits scm-commit at wald.intevation.org
Wed Nov 14 17:26:27 CET 2012


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1352908618 -3600
# Node ID 6223e762886b55b651c30016973d5482680e9859
# Parent  1983f5706578deceb6619e36bcb47b402fce14fd
Additional transitions and outs for MINFO sediment load calculation.

* Added new transitions to have unit selection in epochs and official epochs.
* Added report output to MINFO sediment load calculation.

diff -r 1983f5706578 -r 6223e762886b flys-artifacts/doc/conf/artifacts/minfo.xml
--- a/flys-artifacts/doc/conf/artifacts/minfo.xml	Wed Nov 14 13:48:22 2012 +0100
+++ b/flys-artifacts/doc/conf/artifacts/minfo.xml	Wed Nov 14 16:56:58 2012 +0100
@@ -394,6 +394,16 @@
             <to state="state.minfo.sediment.load.unit"/>
         </transition>
 
+        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
+            <from state="state.minfo.sediment.load.epochs"/>
+            <to state="state.minfo.sediment.load.unit"/>
+        </transition>
+
+        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
+            <from state="state.minfo.sediment.load.off_epochs"/>
+            <to state="state.minfo.sediment.load.unit"/>
+        </transition>
+
         <state id="state.minfo.sediment.load.unit" description="state.minfo.sediment.load.unit" state="de.intevation.flys.artifacts.states.minfo.SedimentLoadUnit">
             <data name="unit" type="String"/>
         </state>
@@ -403,16 +413,6 @@
             <to state="state.minfo.sediment.load.calculate"/>
         </transition>
 
-        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
-            <from state="state.minfo.sediment.load.epochs"/>
-            <to state="state.minfo.sediment.load.calculate"/>
-        </transition>
-
-        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
-            <from state="state.minfo.sediment.load.off_epochs"/>
-            <to state="state.minfo.sediment.load.calculate"/>
-        </transition>
-
         <state id="state.minfo.sediment.load.calculate" description="state.minfo.sediment.load.calculate" state="de.intevation.flys.artifacts.states.minfo.SedimentLoadCalculate">
             <outputmodes>
                 <outputmode name="sedimentload_ls" description="output.sedimentload.ls" mime-type="image/png" type="chart">
@@ -426,6 +426,11 @@
                         <facet name="sedimentload.total"/>
                     </facets>
                 </outputmode>
+                <outputmode name="sedimentload_ls_report" description="output.sedimentload_ls_report" mime-type="text/xml" type="report">
+                    <facets>
+                        <facet name="report" description="facet.sedimentload_ls_export.report" />
+                    </facets>
+                </outputmode>
             </outputmodes>
         </state>
 


More information about the Dive4elements-commits mailing list