示例#1
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);
            date = spieniarkaProbkiRepository.GetDateLastRecord(FileType.Summary);
            spieniarkaProbkiRepository.InsertMissingData(FilesLogic.GetDataFromFile(SummaryFilePath, FileType.Summary), date, FileType.Summary);
        }
示例#2
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);
        }