Example #1
0
        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;
        }
Example #2
0
        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;
        }