public BloodTestResultParserPollingAgent(ISettings settings, ILogManager logManager, IEventCustomerResultBloodLabRepository eventCustomerResultBloodLabRepository, IEventRepository eventRepository) { _settings = settings; _bloodTestFolder = _settings.BloodTestFolderLocation; _bloodTestArchiveFolderLocation = _settings.BloodTestArchiveFolderLocation; _logManager = logManager; _logger = logManager.GetLogger("BloodTestResult"); _testResultService = new Service.TestResultService(); _eventCustomerResultBloodLabRepository = eventCustomerResultBloodLabRepository; _eventRepository = eventRepository; }
public BloodResultParsePollingAgent(ISettings settings, ILogManager logManager, IMediaRepository mediaRepository, ICsvReader csvReader, IEventRepository eventRepository, IEventCustomerResultBloodLabRepository eventCustomerResultBloodLabRepository, Service.TestResultService testResultService, IEventCustomerResultBloodLabParserRepository eventCustomerResultBloodLabParserRepository) { _settings = settings; _mediaRepository = mediaRepository; _csvReader = csvReader; _eventRepository = eventRepository; _eventCustomerResultBloodLabRepository = eventCustomerResultBloodLabRepository; _testResultService = testResultService; _logger = logManager.GetLogger("NewBloodResultParser"); _logManager = logManager; _bloodResultFolderLocation = settings.BloodResultFolderLocation; _bloodResultArchiveFolderLocation = settings.BloodResultArchiveFolderLocation; _eventCustomerResultBloodLabParserRepository = eventCustomerResultBloodLabParserRepository; }