Ejemplo n.º 1
0
 public StatisticsService(ILogger <StatisticsService> logger, IDeviceService deviceService, IDataOverTimeStorage dataStorage, StatisticsServiceConfiguration configuration)
 {
     _logger        = logger;
     _dataStorage   = dataStorage;
     _deviceService = deviceService;
     _configuration = configuration;
 }
Ejemplo n.º 2
0
 public StatisticsService(ILogger <StatisticsService> logger, IDeviceService deviceService, StatisticsServiceConfiguration configuration)
     : this(logger, deviceService, new LiteDbDataStorage(configuration.StoragePath), configuration)
 {
 }