Beispiel #1
0
 public ProfiDriver(
     OpenCarCommand openCar,
     CloseCarCommand closeCar,
     StartEngineCommand startEngine,
     StopEngineCommand stopEngine,
     MoveStartCommand moveStart,
     MoveStopCommand moveStop
     ) : base(openCar, closeCar, startEngine, stopEngine, moveStart, moveStop)
 {
 }
        public Driver(
            #region args

            OpenCarCommand openCar,
            CloseCarCommand closeCar,
            StartEngineCommand startEngine,
            StopEngineCommand stopEngine,
            MoveStartCommand moveStart,
            MoveStopCommand moveStop

            #endregion
            )
        {
            this.openCarCommand     = openCar;
            this.closeCarCommand    = closeCar;
            this.startEngineCommand = startEngine;
            this.stopEngineCommand  = stopEngine;
            this.moveStartCommand   = moveStart;
            this.moveStopCommand    = moveStop;
        }