Exemplo n.º 1
0
 public DeviceAPI(ILogger <DeviceAPI> logger, IAquariumAuthService aquariumAuthService, IDeviceService deviceService, ScheduleService scheduleService, IGpioService gpioService, IATOService atoService)
 {
     _logger = logger;
     _aquariumAuthService = aquariumAuthService;
     _deviceService       = deviceService;
     _scheduleService     = scheduleService;
     _gpioService         = gpioService;
     _atoService          = atoService;
 }
Exemplo n.º 2
0
 public WaterChangeController(IDeviceService deviceService,
                              ScheduleService scheduleService,
                              IHardwareService hardwareService,
                              IATOService atoService,
                              IGpioService gpioService,
                              IAquariumAuthService aquariumAuthService,
                              ILogger <HomeController> logger, IConfiguration config)
 {
     _deviceService       = deviceService;
     _scheduleService     = scheduleService;
     _gpioService         = gpioService;
     _hardwareService     = hardwareService;
     _atoService          = atoService;
     _aquariumAuthService = aquariumAuthService;
     _logger = logger;
     _config = config;
 }