view flys-artifacts/doc/conf/artifacts/winfo.xml @ 292:f44b11cc23b6

Enhanced the output mode for discharge curves with three facets. flys-artifacts/trunk@1628 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 30 Mar 2011 15:21:12 +0000
parents ea7bf9990973
children 37b320bb292b
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="winfo">
    <states>

        <state id="state.winfo.river" description="state.winfo.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.winfo.river"/>
            <to state="state.winfo.calculation_mode"/>
        </transition>

        <state id="state.winfo.calculation_mode" description="state.winfo.calculation_mode" state="de.intevation.flys.artifacts.states.CalculationSelect">
            <data name="calculation_mode"  type="String" />
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.winfo.calculation_mode"/>
            <to state="state.winfo.location_distance"/>
        </transition>

        <state id="state.winfo.location_distance" description="state.winfo.location_distance" state="de.intevation.flys.artifacts.states.LocationDistanceSelect">
            <data name="ld_from" type="Double" />
            <data name="ld_to" type="Double" />
            <data name="ld_step" type="Double" />

            <outputmodes>
                <outputmode name="discharge_curve" description="output.discharge_curve" mime-type="image/png">
                    <facets>
                        <facet name="discharge_curve.curve" description="facet.discharge_curve.curve"/>
                        <facet name="discharge_curve.w" description="facet.discharge_curve.w"/>
                        <facet name="discharge_curve.q" description="facet.discharge_curve.q"/>
                    </facets>
                </outputmode>
            </outputmodes>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.winfo.location_distance"/>
            <to state="state.winfo.wq"/>
        </transition>

        <state id="state.winfo.wq" description="state.winfo.wq" state="de.intevation.flys.artifacts.states.WQSelect">
            <data name="wq_mode" type="String" />
            <data name="wq_from" type="Double" />
            <data name="wq_to" type="Double" />
            <data name="wq_step" type="Double" />
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.winfo.wq"/>
            <to state="state.winfo.calculation"/>
        </transition>

        <state id="state.winfo.calculation" description="state.winfo.wq" state="de.intevation.flys.artifacts.states.WINFOOutputState">
        </state>

    </states>
</artifact>

http://dive4elements.wald.intevation.org