A Piece Of Machinery Can Be In One Of Several States Working Idle Failed Waiting

A piece of machinery can be in one of several states: working, idle, failed, waiting-for-repair, and being repaired. Show the state transition table and diagram and show how to use the State pattern to simulate this behavior

Posted in Uncategorized