vergessene commit

This commit is contained in:
Husky
2018-07-21 12:24:23 +02:00
parent 20388f5603
commit 53fa3789f2
28 changed files with 307 additions and 14 deletions

View File

@@ -6,6 +6,9 @@ using System.Threading.Tasks;
namespace SchnittstelleImporter.XML2006
{
/// <summary>
///
/// </summary>
public class Anschlussdaten
{
string objektbezeichnung;

View File

@@ -11,9 +11,21 @@ namespace SchnittstelleImporter.XML2006
/// </summary>
public enum EAnlagetyp
{
/// <summary>
///
/// </summary>
Haltung = 1,
/// <summary>
///
/// </summary>
Anschlussleitung = 2,
/// <summary>
///
/// </summary>
Schacht = 3,
/// <summary>
///
/// </summary>
Bauwerk = 4
}
/// <summary>
@@ -40,7 +52,13 @@ namespace SchnittstelleImporter.XML2006
/// </summary>
public enum ERohrleitungstyp
{
/// <summary>
///
/// </summary>
HALTUNG,
/// <summary>
///
/// </summary>
LEITUNG
}
/// <summary>
@@ -56,8 +74,17 @@ namespace SchnittstelleImporter.XML2006
/// </summary>
public enum EKnotenTyp
{
/// <summary>
///
/// </summary>
SCHACHT = 0,
/// <summary>
///
/// </summary>
ANSCHLUSSPUNKT = 1,
/// <summary>
///
/// </summary>
BAUWERK = 2
}
/// <summary>
@@ -65,9 +92,21 @@ namespace SchnittstelleImporter.XML2006
/// </summary>
public enum EKantenTyp
{
/// <summary>
///
/// </summary>
HALTUNG,
/// <summary>
///
/// </summary>
LEITUNG,
/// <summary>
///
/// </summary>
RINNE,
/// <summary>
///
/// </summary>
GERINNE
}
}

View File

@@ -6,6 +6,9 @@ using System.Threading.Tasks;
namespace SchnittstelleImporter.XML2006
{
/// <summary>
///
/// </summary>
public sealed class InspizierteAbwassertechnischeAnlage
{
string objektbezeichnung;

View File

@@ -6,6 +6,9 @@ using System.Threading.Tasks;
namespace SchnittstelleImporter.XML2006
{
/// <summary>
///
/// </summary>
public class Lage
{
string strassename;

View File

@@ -6,6 +6,9 @@ using System.Threading.Tasks;
namespace SchnittstelleImporter.XML2006
{
/// <summary>
///
/// </summary>
public class OptischeInspektion
{
DateTime inspektionstime;

View File

@@ -6,6 +6,9 @@ using System.Threading.Tasks;
namespace SchnittstelleImporter.XML2006
{
/// <summary>
///
/// </summary>
public class RGrunddaten
{
string knotenZulauf;

View File

@@ -6,11 +6,23 @@ using System.Threading.Tasks;
namespace SchnittstelleImporter.XML2006
{
/// <summary>
///
/// </summary>
public struct Quantifizierung
{
/// <summary>
///
/// </summary>
public decimal Numerisch;
/// <summary>
///
/// </summary>
public string Text;
/// <summary>
///
/// </summary>
public override string ToString()
{
if (Text != null)
@@ -20,6 +32,9 @@ namespace SchnittstelleImporter.XML2006
return Numerisch.ToString();
}
}
/// <summary>
///
/// </summary>
public class RZustand
{
decimal station;
@@ -35,17 +50,53 @@ namespace SchnittstelleImporter.XML2006
int positionBis;
string kommentar;
/// <summary>
///
/// </summary>
public decimal Station { get => station; set => station = value; }
/// <summary>
///
/// </summary>
public string Inspektionskode { get => inspektionskode; set => inspektionskode = value; }
/// <summary>
///
/// </summary>
public string Charakterisierung1 { get => charakterisierung1; set => charakterisierung1 = value; }
/// <summary>
///
/// </summary>
public string Charakterisierung2 { get => charakterisierung2; set => charakterisierung2 = value; }
/// <summary>
///
/// </summary>
public bool Verbindung { get => verbindung; set => verbindung = value; }
/// <summary>
///
/// </summary>
public Quantifizierung Quantifizierung1 { get => quantifizierung1; set => quantifizierung1 = value; }
/// <summary>
///
/// </summary>
public Quantifizierung Quantifizierung2 { get => quantifizierung2; set => quantifizierung2 = value; }
/// <summary>
///
/// </summary>
public string Streckenschaden { get => streckenschaden; set => streckenschaden = value; }
/// <summary>
///
/// </summary>
public int Streckenschadennr { get => streckenschadennr; set => streckenschadennr = value; }
/// <summary>
///
/// </summary>
public int PositionVon { get => positionVon; set => positionVon = value; }
/// <summary>
///
/// </summary>
public int PositionBis { get => positionBis; set => positionBis = value; }
/// <summary>
///
/// </summary>
public string Kommentar { get => kommentar; set => kommentar = value; }
}
}

View File

@@ -13,6 +13,9 @@ namespace SchnittstelleImporter.XML2006
/// </summary>
public static class XMLParser
{
/// <summary>
///
/// </summary>
public static Dictionary<InspizierteAbwassertechnischeAnlage, string> anlageInFile = new Dictionary<InspizierteAbwassertechnischeAnlage, string>();
/// <summary>
/// Gibt eine Liste an anlagen zurück von einer XML Datei.