first approach object

This commit is contained in:
Joe Küng
2024-11-03 11:48:28 +01:00
parent 9717daf5aa
commit f9e7ee63fb
5 changed files with 70 additions and 0 deletions

13
.idea/.gitignore generated vendored Normal file
View File

@@ -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

4
.idea/encodings.xml generated Normal file
View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
</project>

6
.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@@ -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;
}
}

View File

@@ -1,3 +1,4 @@
// See https://aka.ms/new-console-template for more information // See https://aka.ms/new-console-template for more information
using System;
Console.WriteLine("Hello, World!"); Console.WriteLine("Hello, World!");