view flys-artifacts/doc/conf/artifacts/fixanalysis.xml @ 2995:7d33aec0b61d

Added own themes for mainvalues. flys-artifacts/trunk@4549 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 29 May 2012 07:37:46 +0000
parents 749a40c76ca3
children 3dd1c320cf81
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="fixanalysis">
    <states>
        <state id="state.fix.river" description="state.fix.river"
            state="de.intevation.flys.artifacts.states.RiverSelect">
            <data name="river" type="String" />
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.fix.river"/>
            <to state="state.fix.calculation.mode"/>
        </transition>

        <state id="state.fix.calculation.mode"
            description="state.fix.calcuation.mode"
            state="de.intevation.flys.artifacts.states.fixation.FixationSelect">
            <data name="calculation.mode" type="String"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.fix.calculation.mode"/>
            <to state="state.fix.location"/>
        </transition>

        <state id="state.fix.location" description="state.fix.location"
            state="de.intevation.flys.artifacts.states.fixation.LocationSelect">
            <data name="from" type="Double"/>
            <data name="to" type="Double"/>
            <data name="step" type="Double"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.fix.location"/>
            <to state="state.fix.period"/>
        </transition>

        <state id="state.fix.period" description="state.fix.period"
            state="de.intevation.flys.artifacts.states.fixation.FixationPeriod">
            <data name="start" type="Long"/>
            <data name="end" type="Long"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.fix.period"/>
            <to state="state.fix.gaugerange"/>
        </transition>

        <state id="state.fix.gaugerange" description="state.fix.gaugerange"
            state="de.intevation.flys.artifacts.states.fixation.GaugeRange">
            <data name="q1" type="Integer"/>
            <data name="q2" type="Integer"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.fix.gaugerange"/>
            <to state="state.fix.eventselect"/>
        </transition>

        <state id="state.fix.eventselect" description="state.fix.eventselect"
            state="de.intevation.flys.artifacts.states.fixation.EventSelect">
            <data name="events" type="intarray"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
            <from state="state.fix.eventselect"/>
            <to state="state.fix.analysis.referenceperiod"/>
            <condition data="calculation.mode" value="calculation.analysis"
                operator="equal"/>
        </transition>

        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
            <from state="state.fix.eventselect"/>
            <to state="state.fix.volmer.function"/>
            <condition data="calculation.mode" value="calculation.volmer"
                operator="equal"/>
        </transition>

        <state id="state.fix.analysis.referenceperiod"
            description="state.fix.analysis.referenceperiod"
            state="de.intevation.flys.artifacts.states.fixation.ReferencePeriod">
            <data name="ref_start" type="Long"/>
            <data name="ref_end" type="Long"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.fix.analysis.referenceperiod"/>
            <to state="state.fix.analysis.analysisperiods"/>
        </transition>

        <state id="state.fix.analysis.analysisperiods"
            description="state.fix.analysis.analysisperiods"
            state="de.intevation.flys.artifacts.states.fixation.AnalysisPeriods">
            <!--Temporary data fields. These have to be changed to take n
                periods-->
            <data name="ana_start" type="Long"/>
            <data name="ana_end" type="Long"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.fix.analysis.analysisperiods"/>
            <to state="state.fix.analysis.function"/>
        </transition>

        <state id="state.fix.analysis.function"
            description="state.fix.analysis.function"
            state="de.intevation.flys.artifacts.states.fixation.FunctionSelect">
            <data name="function" type="String"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.fix.analysis.function"/>
            <to state="state.fix.analysis.preprocessing"/>
        </transition>

        <state id="state.fix.analysis.preprocessing"
            description="state.fix.analysis.preprocessing"
            state="de.intevation.flys.artifacts.states.fixation.PreprocessingSelect">
            <data name="preprocessing" type="Boolean"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.fix.analysis.preprocessing"/>
            <to state="state.fix.analysis.compute"/>
        </transition>

        <state id="state.fix.analysis.compute"
            description="state.fix.analysis.compute"
            state="de.intevation.flys.artifacts.states.fixation.FixationCompute">
            <outputmodes>
                <outputmode name="fix_deltawt_export" description="output.fix_deltawt_export" mine-type="text/plain" type="export">
                    <facets>
                        <facet name="csv" description="face.fix_deltawt.csv" />
                    </facets>
                </outputmode>
                <outputmode name="fix_report" description="output.fix_report.report" mime-type="text/plain" type="report">
                    <facets>
                        <facet name="report" description="facet.fix.report" />
                    </facets>
                </outputmode>
            </outputmodes>
        </state>

        <state id="state.fix.volmer.function"
            description="state.fix.volmer.function"
            state="de.intevation.flys.artifacts.states.fixation.FunctionSelect">
            <data name="function" type="String"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.fix.volmer.function"/>
            <to state="state.fix.volmer.preprocessing"/>
        </transition>

        <state id="state.fix.volmer.preprocessing"
            description="state.fix.volmer.preprocessing"
            state="de.intevation.flys.artifacts.states.fixation.PreprocessingSelect">
            <data name="preprocessing" type="Boolean"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.fix.volmer.preprocessing"/>
            <to state="state.fix.volmer.qs"/>
        </transition>

        <state id="state.fix.volmer.qs" description="state.fix.volmer.qs"
            state="de.intevation.flys.artifacts.states.fixation.QSelect">
            <data name="qs" type="Double[]"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.fix.volmer.qs"/>
            <to state="state.fix.volmer.compute"/>
        </transition>

        <state id="state.fix.volmer.compute"
            description="state.fix.volmer.compute"
            state="de.intevation.flys.artifacts.states.fixation.FixationVolmerCompute">
            <outputmodes>
                <outputmode>
                    <facets>
                        <facet/>
                    </facets>
                </outputmode>
            </outputmodes>
        </state>
    </states>
</artifact>

http://dive4elements.wald.intevation.org