Exemple #1
0
 public TemperaturesController(
     IGetTemperatureMeasurementsService getTemperatureMeasurementsService,
     ICreateTemperatureMeasurementService createTemperatureMeasurementService,
     ICreateBatteryMeasurementService batteryMeasurementService, IDateTimeProvider dateTimeProvider)
 {
     this.getTemperatureMeasurementsService   = getTemperatureMeasurementsService;
     this.createTemperatureMeasurementService = createTemperatureMeasurementService;
     this.batteryMeasurementService           = batteryMeasurementService;
     this.dateTimeProvider = dateTimeProvider;
 }
Exemple #2
0
 public TemperatureMeasurementController(
     IGetTemperatureMeasurementsService getTemperatureMeasurementsService,
     IGetSensorsService getSensorsService, IGetPlacesService getPlacesService,
     IDeleteTemperatureMeasurementService deleteTemperatureMeasurementService,
     ICreateTemperatureMeasurementService createTemperatureMeasurementService,
     IUpdateTemperatureMeasurementService updateTemperatureMeasurementService,
     IPermissionVerificationService permissionVerificationService)
 {
     this.getTemperatureMeasurementsService = getTemperatureMeasurementsService;
     this.getSensorsService = getSensorsService;
     this.getPlacesService  = getPlacesService;
     this.deleteTemperatureMeasurementService = deleteTemperatureMeasurementService;
     this.createTemperatureMeasurementService = createTemperatureMeasurementService;
     this.updateTemperatureMeasurementService = updateTemperatureMeasurementService;
     this.permissionVerificationService       = permissionVerificationService;
 }