public ExecutionStateEngine() { OpeningState = new OpeningState(this); ClosingState = new ClosingState(this); TestOpeningState = new TestOpeningState(this); OpenState = new OpenState(this); ClosedState = new ClosedState(this); TestOpenState = new TestOpenState(this); CurrentState = ClosedState; }