summaryrefslogtreecommitdiff
path: root/Anoto/XMLStates.xml
blob: 3fe8ce6866f5a074cd25090b3b3bc9ed99bc84c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" ?>
<fsm name="Vending Machine">
  <states>
    <state name="Start">
      <transition input="Info" next="InfoFirst" action="Hilight"/>
      <transition input="Beacon1" next="BeaconFirst" action="Hilight"/>
      <transition input="Beacon2" next="BeaconFirst" action="Hilight"/>
      <transition input="Beacon3" next="BeaconFirst" action="Hilight"/>
      <transition input="Beacon4" next="BeaconFirst" action="Hilight"/>
      <transition input="Beacon5" next="BeaconFirst" action="Hilight"/>
      <transition input="Beacon6" next="BeaconFirst" action="Hilight"/>
    </state>
    <state name="InfoFirst">
      <transition input="Info" next="Start" action="AlidadeInfoInfo"/>
      <transition input="Beacon1" next="Start" action="AlidadeInfoBeacon"/>
      <transition input="Beacon2" next="Start" action="AlidadeInfoBeacon"/>
      <transition input="Beacon3" next="Start" action="AlidadeInfoBeacon"/>
      <transition input="Beacon4" next="Start" action="AlidadeInfoBeacon"/>
      <transition input="Beacon5" next="Start" action="AlidadeInfoBeacon"/>
      <transition input="Beacon6" next="Start" action="AlidadeInfoBeacon"/>     
    </state>
    <state name="BeaconFirst">
      <transition input="Info" next="Start" action="AlidadeBeaconInfo"/>
    </state>
  </states>
</fsm>