Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 422 Bytes

turnstile.adoc

File metadata and controls

49 lines (42 loc) · 422 Bytes

TurnstileFSM State Chart

TurnstileFSM State Map

Start Event[Guard] Target Action

LOCKED

COIN

UNLOCKED

{
unlock()
}

UNLOCKED

<<timeout = 3000>>

LOCKED

{
timeout()
returnCoin()
}

UNLOCKED

PASS

LOCKED

{
lock()
}

UNLOCKED

COIN

UNLOCKED

{
returnCoin()
}