예제 #1
0
        public CarWithFakeRegulators(DefaultCarController parent)
        {
            Controller = parent;
            CarInfo    = new CarInformations();

            SteeringWheelAngleRegulator = new FakeSteeringWheelRegulator();
            SpeedRegulator = new FakeSpeedRegulator();
            BrakeRegulator = new FakeBrakeRegulator();

            CarComunicator = new RealCarCommunicator(this);
        }
예제 #2
0
        public CarWithFakeRegulators(DefaultCarController parent)
        {
            Controller = parent;
            CarInfo = new CarInformations();

            SteeringWheelAngleRegulator = new FakeSteeringWheelRegulator();
            SpeedRegulator = new FakeSpeedRegulator();
            BrakeRegulator = new FakeBrakeRegulator();

            CarComunicator = new RealCarCommunicator(this);
        }
예제 #3
0
파일: RS232_old.cs 프로젝트: Spawek/valeo
 public RS232Controller(RealCarCommunicator comm)
 {
     communicator = comm;
 }
예제 #4
0
 public RS232Controller(RealCarCommunicator comm)
 {
     communicator = comm;
 }
예제 #5
0
 public GearboxController(USB4702 _extentionCardCommunicator, RealCarCommunicator comunicator)
 {
     extentionCardCommunicator = _extentionCardCommunicator;
     realCarCommunicator = comunicator;
 }