public UpdateService(ITemperatureSensorsService temperatureSensorsService, IHumiditySensorsService humiditySensorsService, IRoomsService roomsService, ITemperatureService temperatureService, IHumidityService humidityService, IEmailService emailService, ISettingsService settingsService) { _temperatureSensorsService = temperatureSensorsService; _humiditySensorsService = humiditySensorsService; _roomsService = roomsService; _temperatureService = temperatureService; _humidityService = humidityService; _emailService = emailService; _settingsService = settingsService; }
public TimerViewModel(ISessionService sessionService, ITemperatureService temperatureService, IHumidityService humdityService) { this.sessionService = sessionService; this.temperatureService = temperatureService; this.humidityService = humdityService; session = new Session(); LoadCommands(); SubscribeToMessages(); run = false; User jonas = new User(); jonas.Name = "Jonas"; jonas.Password = "******"; jonas.Id = 2; session.User = jonas; }
public ValuesViewModel(IHumidityService humidityService) { this.humidityService = humidityService; RegisterForMessages(); }
public HumidityController(IHumidityService humidityService, ISensorService sensorService) { _humidityService = humidityService; _sensorService = sensorService; }
public WeatherForecastController(ILogger <WeatherForecastController> logger, IHumidityService humidityService) { _logger = logger; _humidityService = humidityService; }
public HumidityController(IHumidityService humidityService) { _humidityService = humidityService; }