Archetektur angefangen

This commit is contained in:
HuskyTeufel
2021-01-31 22:15:43 +01:00
parent 9f8e167ce3
commit 7a733b92d2
44 changed files with 564 additions and 67 deletions

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
namespace KanSan.CrossCutting.DataClasses
{
public class Baustelle
{
public int ID { get; set; }
public Guid GuidNr { get; set; }
public Projekt Projekt { get; set; }
public string OrtTeil { get; set; }
public string BaustelleNummer { get; set; }
public List<Sewer> Kanaele { get; } = new List<Sewer>();
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace KanSan.CrossCutting.DataClasses
{
public class BaustelleLeistungsverzeichnisReferenz
{
public int ID { get; set; }
public Guid GuidNr { get; set; }
public Baustelle Baustelle { get; set; }
public LeistungsverzeichnisPosition LVPosition { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace KanSan.CrossCutting.DataClasses.Enums
{
public enum EMaterial
{
Steinzeug,
Beton,
Polypropolen
}
}

View File

@@ -0,0 +1,10 @@
namespace KanSan.CrossCutting.DataClasses.Enums
{
public enum EPunktType
{
Leitung,
Haltung,
Schacht,
Anschlusspunkt
}
}

View File

@@ -0,0 +1,10 @@
namespace KanSan.CrossCutting.DataClasses.Enums
{
public enum ESanierung
{
NONE,
REPERATUR,
RENOVATION,
ERNEUERUNG
}
}

View File

@@ -0,0 +1,11 @@
using System;
namespace KanSan.CrossCutting.DataClasses
{
public class Fahrzeug
{
public int ID { get; set; }
public Guid GuidNr { get; set; }
public string Kennzeichen { get; set; }
}
}

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace KanSan.CrossCutting.DataClasses
{
public abstract class GueteschutzProtokoll
{
public int ID { get; set; }
public Guid GuidNr { get; set; }
public Schaeden SchadPosition { get; set; }
public EWetter Wetter { get; set; }
public int AussenTemp { get; set; }
public int KanalTemp { get; set; }
public bool Sichtkontrolle { get; set; }
public bool Bericht { get; set; }
public bool Film { get; set; }
public bool Video { get; set; }
public bool Dichtheit { get; set; }
}
public enum EWetter
{
TROCKEN,
FEUCHT
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace KanSan.CrossCutting.DataClasses
{
public class HutprofilSan : PHarzSanierung
{
public string RohrDN { get; set; }
public string Winkel { get; set; }
public bool InnenBeschichtung { get; set; }
public double SeitenKanalDruckAnfang { get; set; }
public double SeitenKanalDruckEnde { get; set; }
}
}

View File

@@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace KanSan.CrossCutting.DataClasses
{
public class Kunde
{
public int ID { get; set; }
public Guid GuidNr { get; set; }
public string Vorname { get; set; }
public string Nachname { get; set; }
public string Strasse { get; set; }
public string PLZ { get; set; }
public string Ort { get; set; }
public List<Projekt> Baustellen { get; } = new List<Projekt>();
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace KanSan.CrossCutting.DataClasses
{
public class KurzlinerSan : PHarzSanierung
{
public double Lang { get; set; }
public double Breit { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using System;
namespace KanSan.CrossCutting.DataClasses
{
public class LeistungsverzeichnisPosition
{
public int ID { get; set; }
public Guid GuidNr { get; set; }
public string Positionsnummer { get; set; }
public string Beschreibung { get; set; }
public string Einheit { get; set; }
public string Tag { get; set; }
public bool HatGueteschutzProtokol { get; set; }
}
}

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace KanSan.CrossCutting.DataClasses
{
public class PHarzSanierung : GueteschutzProtokoll
{
public string HarzmaterialHersteller { get; set; }
public string HarzMaterialArt { get; set; }
public string KompACharge { get; set; }
public string KompBCharge { get; set; }
public string TraegerKurzliner { get; set; }
public string TraegerHersteller { get; set; }
public string TraegerCharge { get; set; }
public int Flaechengewicht { get; set; }
public bool Auffaelligkeit { get; set; }
public bool FixierungAufPacker { get; set; }
public DateTime MischZeit { get; set; }
public DateTime AnpressenPacker { get; set; }
public DateTime EntlueftenPacker { get; set; }
public double PackerDruckAnfang { get; set; }
public double PackerDruckEnde { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace KanSan.CrossCutting.DataClasses
{
public class Projekt
{
public int ID { get; set; }
public Guid GuidNr { get; set; }
public Kunde Kunde { get; set; }
public string Ort { get; set; }
public string Projektnummer { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using KanSan.CrossCutting.DataClasses.Enums;
namespace KanSan.CrossCutting.DataClasses
{
public class Sanierungskonzept
{
public int ID { get; set; }
public Guid GuidNr { get; set; }
//public Schaeden Schaden { get; set; }
public ESanierung SanierungsTyp { get; set; }
public List<Taetigkeiten> Taetigkeiten { get; } = new List<Taetigkeiten>();
}
}

View File

@@ -0,0 +1,23 @@
using KanSan.CrossCutting.DataClasses.Enums;
using System;
namespace KanSan.CrossCutting.DataClasses
{
public class Schaeden
{
public int ID { get; set; }
public Guid GuidNr { get; set; }
public Sewer Sewer { get; set; }
public decimal Entfernung { get; set; }
public ESanierung SanierungsTyp { get; set; }
public Sanierungskonzept Sanierungskonzept { get; set; }
public bool RissBruchScherbe { get; set; }
public bool WurzelInkrustationAblagerungen { get; set; }
public bool StutzenEinragend { get; set; }
public bool Infiltration { get; set; }
public bool VorbehandeltHD { get; set; }
public bool VorbehandeltMech { get; set; }
public bool VorbehandeltFraeser { get; set; }
public bool SchadstelleFaekalienFrei { get; set; }
}
}

View File

@@ -0,0 +1,30 @@
using KanSan.CrossCutting.DataClasses.Enums;
using System;
using System.Collections.Generic;
namespace KanSan.CrossCutting.DataClasses
{
public class Sewer
{
public int ID { get; set; }
public Guid GuidNr { get; set; }
public Baustelle Baustelle { get; set; }
public string StrasseName { get; set; }
public string ObjektNummer { get; set; }
public EPunktType SewerType { get; set; }
public EPunktType PunktTypeOben { get; set; }
public SewerPoint PunktOben { get; set; }
public EPunktType PunktTypeUnten { get; set; }
public SewerPoint PunktUnten { get; set; }
public int DN { get; set; }
public EMaterial Material { get; set; }
public bool RohrleitungInBetrieb { get; set; }
public bool HaltungGespuelt { get; set; }
public bool WasserHaltungDurchgefuehrt { get; set; }
public bool GenehmigungErforderlich { get; set; }
public bool BaustellensicherungErforderlich { get; set; }
public decimal Haltungslaenge { get; set; }
public List<Schaeden> Schaeden { get; } = new List<Schaeden>();
}
}

View File

@@ -0,0 +1,11 @@
using System;
namespace KanSan.CrossCutting.DataClasses
{
public class SewerPoint
{
public int ID { get; set; }
public Guid GuidNr { get; set; }
public string Objektnummer { get; set; }
}
}

View File

@@ -0,0 +1,19 @@
using System;
namespace KanSan.CrossCutting.DataClasses
{
public class Taetigkeiten
{
public int ID { get; set; }
public Guid GuidNr { get; set; }
public Sanierungskonzept Sanierungskonzept { get; set; }
public Fahrzeug Fahrzeug { get; set; }
public string Mitarbeiter { get; set; }
public DateTime ZeitStempel { get; set; }
//public decimal Position { get; set; }
public LeistungsverzeichnisPosition LeistungsverzeichnisPosition { get; set; }
public decimal Anzahl { get; set; }
public GueteschutzProtokoll GueteschutzProtokol { get; set; }
public string Bemerkung { get; set; }
}
}