Last active
April 23, 2020 03:07
-
-
Save wolever/0f18ea2e6f12ba94d82f9681a7d4d734 to your computer and use it in GitHub Desktop.
Revisions
-
wolever revised this gist
Apr 23, 2020 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,6 @@ Machine({ 'idle-with-flow': { on: { CHECK_CONFIG: 'awaiting-check:config', START_MACHINE: 'knitting', }, -
wolever revised this gist
Apr 23, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Machine({ 'knitting': { on: { QC_CHECK_STOP: 'awaiting-check:qc-operator', FLOW_FINISH: 'idle-no-flow', }, }, -
wolever revised this gist
Apr 23, 2020 . 1 changed file with 14 additions and 8 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,38 +2,44 @@ Machine({ id: 'KNIT', initial: 'idle-no-flow', states: { 'idle-no-flow': { on: { FLOW_ASSIGN: 'idle-with-flow' } }, 'idle-with-flow': { on: { FLOW_REMOVE: 'idle-no-flow', CHECK_CONFIG: 'awaiting-check:config', START_MACHINE: 'knitting', }, }, 'knitting': { on: { QC_CHECK_STOP: 'awaiting-check:qc-operator', FLOW_FINISH: 'idle_no_flow', }, }, 'awaiting-check:config': { on: { CHECK_PASS: 'knitting', }, }, 'awaiting-check:qc-operator': { on: { CHECK_PASS: 'knitting', CHECK_FAIL: 'awaiting-check:qc-mechanic', }, }, 'awaiting-check:qc-mechanic': { on: { CHECK_PASS: 'knitting', CHECK_FAIL: 'offline', }, }, -
wolever revised this gist
Apr 23, 2020 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,24 +1,24 @@ Machine({ id: 'KNIT', initial: 'idle-no-flow', states: { idle_no_flow: { on: { FLOW_ASSIGN: 'idle-with-flow' } }, idle_with_flow: { on: { FLOW_REMOVE: 'idle-no-flow', CHECK_CONFIG: 'awaiting-check:config', START_MACHINE: 'knitting', }, }, knitting: { on: { QC_CHECK_STOP: 'awaiting-check:qc-operator', FLOW_FINISH: 'idle_no_flow', }, }, -
wolever created this gist
Apr 23, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,43 @@ Machine({ id: 'KNIT', initial: 'idle_no_flow', states: { idle_no_flow: { on: { FLOW_ASSIGN: 'idle_with_flow' } }, idle_with_flow: { on: { FLOW_REMOVE: 'idle_no_flow', CHANGE_STYLE: 'awaiting_check', START_MACHINE: 'knitting', }, }, knitting: { on: { QC_CHECK_STOP: 'awaiting_check', FLOW_FINISH: 'idle_no_flow', }, }, awaiting_check: { on: { CHECK_PASS: 'knitting', CHECK_FAIL: 'awaiting_maint', }, }, awaiting_maint: { on: { MAINT_DONE: 'knitting', MAIN_FAIL: 'offline', }, }, offline: {}, } })