diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..7781bed --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/projectSettingsUpdater.xml +/.idea.capzlog-ExtractDataFromPDF.iml +/modules.xml +/contentModel.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..df87cf9 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/capzlog-ExtractDataFromPDF/Flight.cs b/capzlog-ExtractDataFromPDF/Flight.cs new file mode 100644 index 0000000..81b846d --- /dev/null +++ b/capzlog-ExtractDataFromPDF/Flight.cs @@ -0,0 +1,46 @@ +namespace DefaultNamespace +{ + public class Flight + { + private string ident = ""; + private FlightInfo flightInfo; + } + + public class FlightInfo + { + public string Date { get; set; } = ""; + public string Reg { get; set; } = ""; + public string Type { get; set; } = ""; + public string From { get; set; } = ""; + public string To { get; set; } = ""; + public string Altn1 { get; set; } = ""; + public string FltNr { get; set; } = ""; + public string ATC { get; set; } = ""; + } + + public class Times + { + public string STD { get; set; } = ""; + public string STA { get; set; } = ""; + } + + public class Loadmass + { + public string ZFM { get; set; } = ""; + } + + public class Fuel + { + public string LIMC { get; set; } = ""; + public string LIML { get; set; } = ""; + public string MIN { get; set; } = ""; + + } + + public class Corrections + { + public double gain-loss { get; set; } = 0; + } + + +} diff --git a/capzlog-ExtractDataFromPDF/Program.cs b/capzlog-ExtractDataFromPDF/Program.cs index e5dff12..8a84e20 100644 --- a/capzlog-ExtractDataFromPDF/Program.cs +++ b/capzlog-ExtractDataFromPDF/Program.cs @@ -1,3 +1,4 @@ // See https://aka.ms/new-console-template for more information +using System; Console.WriteLine("Hello, World!"); \ No newline at end of file