Kleine änderungen durchgeführt
This commit is contained in:
@@ -226,12 +226,21 @@ namespace SanSystem
|
||||
|
||||
|
||||
IReadCSVData csvFile = null;
|
||||
List<UVcsvStrukture> struktures = null;
|
||||
csvFile = CsvParserFactory.ReadCSVFile(AcceptedCSVFormats.UVRELINING, files.Last());
|
||||
List<UVcsvStrukture> struktures = csvFile.ReadCSVStrukture();
|
||||
|
||||
inliner.AnfangAushaertung = struktures.Select(x => x.Zeitstempel).Min();
|
||||
inliner.EndeAushaertung = struktures.Select(x => x.Zeitstempel).Max();
|
||||
try
|
||||
{
|
||||
struktures = csvFile.ReadCSVStrukture();
|
||||
|
||||
inliner.AnfangAushaertung = struktures.Select(x => x.Zeitstempel).Min();
|
||||
inliner.EndeAushaertung = struktures.Select(x => x.Zeitstempel).Max();
|
||||
}
|
||||
catch(FileNotFoundException ex)
|
||||
{
|
||||
MessageBox.Show(string.Format("Datei {0} wurde nicht gefunden", ex.FileName));
|
||||
}
|
||||
if (struktures == null)
|
||||
return false;
|
||||
return makeGraphic.GetGraphics(struktures, destinationPath);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user