コード例 #1
0
 public ImageProcessor(LoggerFactory loggerFactory, ISettings settings, IDaylightManager daylightManager, IFileService fileService,
                       IRaspberryService raspberry, IUploaderService uploader)
 {
     logger               = loggerFactory(nameof(ImageProcessor));
     this.settings        = settings;
     this.daylightManager = daylightManager;
     this.fileService     = fileService;
     this.raspberry       = raspberry;
     this.uploader        = uploader;
 }
コード例 #2
0
 public PinController(IValveService valveService, IRaspberryService raspberryService)
 {
     _valveService         = valveService;
     this.raspberryService = raspberryService;
 }
コード例 #3
0
 public RaspberryProcedure(IRaspberryService raspberryService, IValveService valveService) {
     _raspberryService = raspberryService;
     _valveService = valveService;
 }