File: syntaxErrors2.scxml

package info (click to toggle)
qtscxml-everywhere-src 5.15.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,768 kB
  • sloc: cpp: 13,587; javascript: 330; python: 80; ansic: 28; sh: 27; makefile: 22
file content (14 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" ?>
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0">
    <state id="lightImpulseGenerator">
        <transition event="scheduleNewImpulse">
            <if cond="In('offState')">
                <send event="lightImpulse" id="lightId" delay="1s"/>
            <elseif cond="In('hurryStateOff')"/>
                <send>event="lightImpulse" id="lightId" delay="500ms"/>
            <else/>
                <send event="lightImpulse" id="lightId" delay="200ms"/>
            </if>
        </transition>
    </state>
</scxml>