public RegisteredSourceProcessingGroup(RegisteredEnergyObservationSourceWrapper sourceRegistration, IProcessingFactory factory) { _sourceRegistration = sourceRegistration; Storage = factory.CreateStorage(); Processor = factory.CreateProcessor(); Analizer = factory.CreateAnalizer(); _processorSubscription = _sourceRegistration.Subscribe(Processor); }
public Analyzer(IEnergyObservationAnalyzer <IEnergyObservation> analizer, IMapper mapper) { _analyzer = analizer; _mapper = mapper; }