public void ReadStatisticsData(string path) { try { StatistiCsvDataRepository.LoadData(path); } catch (DalException exception) { throw new BllException(string.Format("{0}: {1}", "Exception of DAL", exception.Message)); } StatistiCsvDataRepository.NormalizeData(); }
private void ReadNextChunk() { if (_forexTreeCsvDataRepository.CsvLinesNormalized != null) { if (_index < _forexTreeCsvDataRepository.CsvLinesNormalized.Count && _pathIndex != 0) { return; } } var path = _forexMarketPathRepository.Paths[_pathIndex++]; _forexTreeCsvDataRepository.LoadData(path); _forexTreeCsvDataRepository.NormalizeData(0); _index = 0; }
public void ReadCsv(string filePath) { try { _yahooDataRepository.LoadData(filePath); _yahooDataRepository.NormalizeData(); } catch (DalException exception) { throw new BllException(string.Format("{0}: {1}", "Exception of DAL", exception.Message)); } catch (Exception exception) { throw new BllException(string.Format("{0}: {1}", "Exception of other origin", exception.Message)); } }