Beispiel #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;
        }
Beispiel #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;
        }