public DistanceMeasurementWorker(ILogger <DistanceMeasurementWorker> logger,
                                         IDistanceSensorDriver distanceSensor,
                                         IDriveServiceFactory driverServiceFactory)
        {
            this.logger         = logger;
            this.distanceSensor = distanceSensor;

            driveService = driverServiceFactory.GetDriveService();
        }
Exemplo n.º 2
0
 public VehicleControlHub(IDistanceSensorDriver distanceSensorDriver)
 {
     this.distanceSensorDriver = distanceSensorDriver;
 }