示例#1
0
 public async Task ImportFakturaRrWierszFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection      = CsvImporter.GetCollectionFromCsv <FakturaRrWiersz>(fullFilePath);
         Jpk.FakturaRrWiersz = new ObservableCollection <FakturaRrWiersz>(collection);
     });
 }
示例#2
0
 public async Task ImportOswiadczenieFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection   = CsvImporter.GetCollectionFromCsv <Oswiadczenie>(fullFilePath);
         Jpk.Oswiadczenie = new ObservableCollection <Oswiadczenie>(collection);
     });
 }
示例#3
0
 public override async Task ImportZakupyFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection             = CsvImporter.GetCollectionFromCsv <EwidencjaZakupWiersz>(fullFilePath);
         Jpk.Ewidencja.ZakupWiersze = new ObservableCollection <EwidencjaZakupWiersz>(collection);
     });
 }
示例#4
0
 public async Task ImportSpisFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection = CsvImporter.GetCollectionFromCsv <PkpirSpis>(fullFilePath);
         Jpk.PkpirSpis  = new ObservableCollection <PkpirSpis>(collection);
     });
 }
示例#5
0
 public async Task ImportMmWartoscFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection   = CsvImporter.GetCollectionFromCsv <MmWartosc>(fullFilePath);
         Jpk.Mm.MmWartosc = new ObservableCollection <MmWartosc>(collection);
     });
 }
示例#6
0
 public async Task ImportZakupyFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection  = CsvImporter.GetCollectionFromCsv <ZakupWiersz>(fullFilePath);
         Jpk.ZakupWiersz = new ObservableCollection <ZakupWiersz>(collection);
     });
 }
示例#7
0
 public async Task ImportWyciagFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection    = CsvImporter.GetCollectionFromCsv <WyciagWiersz>(fullFilePath);
         Jpk.WyciagWiersze = new ObservableCollection <WyciagWiersz>(collection);
     });
 }
示例#8
0
 public async Task ImportDziennikFromCsv(string fullFilePath)
 {
     await Task.Run(() =>
     {
         var collection = CsvImporter.GetCollectionFromCsv <Dziennik>(fullFilePath);
         Jpk.Dziennik   = new ObservableCollection <Dziennik>(collection);
     });
 }
示例#9
0
        public async Task ImportZamowienieWierszFromCsv(string fullFilePath)
        {
            await Task.Run(() =>
            {
                if (selectedZamowienie == null)
                {
                    return;
                }

                var collection = CsvImporter.GetCollectionFromCsv <ZamowienieWiersz>(fullFilePath);
                SelectedZamowienie.ZamowienieWiersz = new ObservableCollection <ZamowienieWiersz>(collection);
            });
        }