예제 #1
0
        static void Main(string[] args)
        {
            // var iqweqw = Convert.ToDouble(item.ItemArray[6], CultureInfo.CreateSpecificCulture("en-US"));

            Init();

            RunFtpCommand();
            var date = spieniarkaProbkiRepository.GetDateLastRecord();

            spieniarkaProbkiRepository.InsertMissingData(filesLogic.GetDataFromFile(), date);
        }
예제 #2
0
        static void Main(string[] args)
        {
            Init();

            RunFtpCommand();
            Console.WriteLine("Start Logic");
            //var date = spieniarkaProbkiRepository.GetDateLastRecord(FileType.Batch);
            //spieniarkaProbkiRepository.InsertMissingData(FilesLogic.GetDataFromFile(BatchFilePath, FileType.Batch), date, FileType.Batch);
            var date = spieniarkaProbkiRepository.GetDateLastRecord(FileType.Summary);

            spieniarkaProbkiRepository.InsertMissingData(FilesLogic.GetDataFromFile(SummaryFilePath, FileType.Summary), date, FileType.Summary);
        }