Last active
November 16, 2018 00:18
-
-
Save kabriel/a74ab7bf2b82a0b60ad06c6a6ec30d32 to your computer and use it in GitHub Desktop.
Chef
This file contains 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
Chef | |
update ready -> Confirm Update | |
Init* | |
system start -> Config | |
Settings | |
settings close -> Cooker | |
Config | |
Awaiting Initial Config* | |
config ready -> Loading Config | |
config timeout -> Request Config | |
Request Config | |
config requested -> Awaiting Config | |
Awaiting Config | |
config ready -> Loading Config | |
config timeout -> Request Config | |
config timeout 5 -> Config Error | |
Awaiting Update | |
config ready -> Loading Config | |
update timeout -> Cooker | |
Confirm Update | |
update confirmed -> Awaiting Update | |
update timeout -> Awaiting Update | |
update veto -> Veto Update | |
Veto Update | |
veto done -> Cooker | |
Loading Config | |
loading config done -> Connection | |
loading config error -> Config Error | |
Config Error | |
reboot -> Chef | |
Connection | |
Test Connections* | |
connections not connected -> Not Connected | |
connections all connected -> Cooker | |
Not Connected | |
connections connect -> Connecting | |
Connecting | |
connections test -> Test Connections | |
connections error -> Connection Error | |
Connection Error | |
reboot -> Chef | |
Cooker | |
connections unhealthy -> Connection | |
Pre Cooking* | |
Ready* | |
door open -> Idle Open | |
door closed -> Idle Closed | |
Idle Open | |
cavity full -> Full Open | |
cavity empty -> Empty Open | |
perception error -> Food Error Open | |
door closed -> Idle Closed | |
Idle Closed | |
cavity full -> Full Closed | |
cavity empty -> Empty Closed | |
perception running -> Recognizing Closed | |
perception error -> Food Error Closed | |
door open -> Idle Open | |
Empty Open | |
cavity full -> Full Open | |
perception error -> Food Error Open | |
door closed -> Empty Closed | |
settings show -> Settings | |
Empty Closed | |
cavity full -> Full Closed | |
perception running -> Recognizing Closed | |
door open -> Empty Open | |
settings show -> Settings | |
Recognizing Closed | |
cavity full -> Full Closed | |
cavity empty -> Empty Closed | |
perception idle -> Empty Closed | |
perception error -> Food Error Closed | |
door open -> Empty Open | |
Full Open | |
cavity empty -> Empty Open | |
perception idle -> Idle Open | |
door closed -> Full Closed | |
Full Closed | |
cooking init -> Cooking | |
door open -> Full Open | |
Food Error Open | |
perception idle -> Idle Open | |
cavity full -> Full Open | |
cavity empty -> Empty Open | |
door closed -> Food Error Closed | |
Food Error Closed | |
cavity full -> Full Closed | |
cavity empty -> Empty Closed | |
door open -> Food Error Open | |
Cooking | |
Cooking Check* | |
cooking ready -> Cooking Setup | |
cooking error -> Cooking Error | |
cooking timeout -> Cooking Error | |
menu error -> Menu Error | |
door open -> Pre Cooking | |
Cooking Setup | |
meals assigned -> Cooking Ready | |
preheat error -> Cooking Error | |
door open -> Pre Cooking | |
Cooking Ready | |
cooking start -> Cooking In Progress | |
door open -> Pre Cooking | |
Cooking In Progress | |
cooking done -> Cooking Done | |
cooking cancel -> Cooking Check | |
cooking error -> Cooking Error | |
door open -> Pre Cooking | |
Cooking Done | |
door open -> Pre Cooking | |
Cooking Error | |
door open -> Pre Cooking | |
Menu Error | |
door open -> Pre Cooking |
This file contains 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
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment