Exemplo n.º 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;
        }
Exemplo n.º 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;
        }