Last active
August 29, 2015 14:19
-
-
Save jbeard4/edc09d5031b30f44b9a4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<scxml xmlns="http://www.w3.org/2005/07/scxml" name="device" datamodel="ecmascript" version="1.0"> | |
<state id="OK"> | |
<state id="on"> | |
<transition target="off" event="device.turnOff"/> | |
</state> | |
<state id="off"> | |
<transition target="on" event="device.turnOn"/> | |
</state> | |
<transition target="error" event="device.error"/> | |
</state> | |
<state id="error"> | |
<transition target="OK" event="device.reset"/> | |
</state> | |
</scxml> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment