Umstrukturierungen

This commit is contained in:
HuskyTeufel
2019-10-10 09:20:37 +02:00
parent 30f0956d21
commit a049c64ea4
39 changed files with 201 additions and 416 deletions

View File

@@ -1,15 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public class AbwasserTechnischeAnlageCollection : List<Inspektionsobjekt>
{
}
}

View File

@@ -1,15 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public class AusgefuehrteTaetigkeitenCollection : List<AusgefuehrteTaetigkeiten>
{
}
}

View File

@@ -4,12 +4,9 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB
namespace KlassenBIB.Collections
{
/// <summary>
///
/// </summary>
public class BilderCollection : List<SavedBilder>
public class AbwasserTechnischeAnlage : List<Inspektionsobjekt>
{
}
}

View File

@@ -5,12 +5,9 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB
namespace KlassenBIB.Collections
{
/// <summary>
///
/// </summary>
public class AuftraggeberListCollection : List<IAuftraggeber>
public class AuftraggeberList : List<IAuftraggeber>
{
}
}

View File

@@ -4,12 +4,9 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB
namespace KlassenBIB.Collections
{
/// <summary>
///
/// </summary>
public class SanierungCollection : List<Sanierung>
public class AusgefuehrteTaetigkeiten : List<KlassenBIB.AusgefuehrteTaetigkeiten>
{
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB.Collections
{
public class Bilder : List<SavedBilder>
{
}
}

View File

@@ -6,9 +6,6 @@ using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public class ChargeNummerCollection : List<StructChargeNummern>
{
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB.Collections
{
public class ImprägnierBericht : List<WerkseitigImprägniert>
{
}
}

View File

@@ -5,13 +5,10 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB
namespace KlassenBIB.Collections
{
/// <summary>
///
/// </summary>
[Browsable(false)]
public class InspektionskuerzelnCollection : List<Inspektionskuerzeln>
public class Inspektionskuerzeln : List<KlassenBIB.Inspektionskuerzeln>
{
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB.Collections
{
public class Leistungsverzeichnis : List<LeistungsVerzeichnis>
{
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB.Collections
{
public class Sanierung : List<KlassenBIB.Sanierung>
{
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB.Collections
{
public class Sanierungskonzept : List<KlassenBIB.Sanierungskonzept>
{
}
}

View File

@@ -12,57 +12,31 @@ namespace KlassenBIB
/// </summary>
public class Inspektionskuerzeln
{
/// <summary>
///
/// </summary>
public decimal Station { get; set; }
/// <summary>
///
/// </summary>
public string Hauptkode { get; set; }
/// <summary>
///
/// </summary>
public string Charakterisierung1 { get; set; }
/// <summary>
///
/// </summary>
public string Charakterisierung2 { get; set; }
/// <summary>
///
/// </summary>
public uint Quantifizierung1 { get; set; }
/// <summary>
///
/// </summary>
public uint Quantifizierung2 { get; set; }
/// <summary>
///
/// </summary>
public uint LageAmUmfangStart { get; set; }
/// <summary>
///
/// </summary>
public uint LageAmUmfangEnde { get; set; }
/// <summary>
///
/// </summary>
public bool ImVerbindung { get; set; }
/// <summary>
///
/// </summary>
public string FotoReferenz { get; set; }
/// <summary>
///
/// </summary>
public string VideoReferenz { get; set; }
/// <summary>
///
/// </summary>
public string Anmerkung { get; set; }
/// <summary>
///
/// </summary>
public SanierungskonzeptCollection Sanierungskonzepts { get; set; }
public Collections.Sanierungskonzept Sanierungskonzepts { get; set; }
}
}

View File

@@ -14,94 +14,52 @@ namespace KlassenBIB
public class Inspektionsobjekt
{
private string strasseName = "none";
/// <summary>
///
/// </summary>
public bool GeschlossenesEnde { get; set; }
/// <summary>
///
/// </summary>
public string StrasseName { get => strasseName; set => strasseName = value; }
/// <summary>
///
/// </summary>
public string OrtName { get; set; }
/// <summary>
///
/// </summary>
public string Hausnummer { get; set; }
/// <summary>
///
/// </summary>
public string Projektnummer { get; set; }
/// <summary>
///
/// </summary>
public string Objektbezeichnung { get; set; }
/// <summary>
///
/// </summary>
public string VonPunkt { get; set; }
/// <summary>
///
/// </summary>
public string BisPunkt { get; set; }
/// <summary>
///
/// </summary>
public string RohrMaterial { get; set; }
/// <summary>
///
/// </summary>
public uint Kanalrohrweite { get; set; }
/// <summary>
///
/// </summary>
public double Haltungslaenge { get; set; }
/// <summary>
///
/// </summary>
public double Schachtlaenge { get; set; }
/// <summary>
///
/// </summary>
public DateTime HaltungGemessen { get; set; }
/// <summary>
///
/// </summary>
public InspektionskuerzelnCollection Schadenskuerzeln { get; set; }
/// <summary>
///
/// </summary>
public Collections.Inspektionskuerzeln Schadenskuerzeln { get; set; }
public string Bemerkung { get; set; }
/// <summary>
///
/// </summary>
public SanierungCollection Sanierung { get;set; }
/// <summary>
///
/// </summary>
public AusgefuehrteTaetigkeitenCollection AusgefuehrteTaetigkeiten { get; set; }
/// <summary>
/// In welcher Richtung wurde Inspiziert
/// </summary>
public Collections.Sanierung Sanierung { get;set; }
public Collections.AusgefuehrteTaetigkeiten AusgefuehrteTaetigkeiten { get; set; }
public string Inspektionsrichtung { get; set; }
/// <summary>
///
/// </summary>
public string Sanierungsnummer { get; set; }
/// <summary>
///
/// </summary>
public Guid Guid { get; set; }
/// <summary>
///
/// </summary>
public Inspektionsobjekt()
{
Schadenskuerzeln = new InspektionskuerzelnCollection();
Sanierung = new SanierungCollection();
AusgefuehrteTaetigkeiten = new AusgefuehrteTaetigkeitenCollection();
Schadenskuerzeln = new Collections.Inspektionskuerzeln();
Sanierung = new Collections.Sanierung();
AusgefuehrteTaetigkeiten = new Collections.AusgefuehrteTaetigkeiten();
if (HaltungGemessen <= DateTime.MinValue || HaltungGemessen >= DateTime.MaxValue) HaltungGemessen = DateTime.Now;
}
}

View File

@@ -44,42 +44,43 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="AbstractImprägnier.cs" />
<Compile Include="AbwasserTechnischeAnlageCollection.cs" />
<Compile Include="AnlagenType.cs" />
<Compile Include="Collections\ImprägnierBericht.cs" />
<Compile Include="Sanierung\Renovation\AbstractImprägnier.cs" />
<Compile Include="Collections\AbwasserTechnischeAnlage.cs" />
<Compile Include="Sanierung\Renovation\UVAnlagenTyp.cs" />
<Compile Include="Auftraggeber.cs" />
<Compile Include="AuftraggeberListCollection.cs" />
<Compile Include="Collections\AuftraggeberList.cs" />
<Compile Include="AusgefuehrteTaetigkeiten.cs" />
<Compile Include="AusgefuehrteTaetigkeitenCollection.cs" />
<Compile Include="BilderCollection.cs" />
<Compile Include="ChargeNummerCollection.cs" />
<Compile Include="Hutprofil.cs" />
<Compile Include="Collections\AusgefuehrteTaetigkeiten.cs" />
<Compile Include="Collections\Bilder.cs" />
<Compile Include="Collections\ChargeNummer.cs" />
<Compile Include="Sanierung\Reparatur\Hutprofil.cs" />
<Compile Include="IImportedObjekte.cs" />
<Compile Include="ImprägnierungStrukture.cs" />
<Compile Include="InlinerSanierung.cs" />
<Compile Include="Kurzliner.cs" />
<Compile Include="Sanierung\Renovation\ImprägnierungStrukture.cs" />
<Compile Include="Sanierung\Renovation\InlinerSanierung.cs" />
<Compile Include="Sanierung\Reparatur\Kurzliner.cs" />
<Compile Include="LeistungsVerzeichnis.cs" />
<Compile Include="LeistungsverzeichnisCollection.cs" />
<Compile Include="Collections\Leistungsverzeichnis.cs" />
<Compile Include="Lieferschein.cs" />
<Compile Include="MainDataBase.cs" />
<Compile Include="Projekt.cs" />
<Compile Include="Inspektionskuerzeln.cs" />
<Compile Include="InspektionskuerzelnCollection.cs" />
<Compile Include="Collections\Inspektionskuerzeln.cs" />
<Compile Include="Inspektionsobjekt.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Quicklock.cs" />
<Compile Include="Reparatur.cs" />
<Compile Include="SanMitHarz.cs" />
<Compile Include="Sanieren.cs" />
<Compile Include="Sanierung.cs" />
<Compile Include="SanierungCollection.cs" />
<Compile Include="Sanierung\Reparatur\Quicklock.cs" />
<Compile Include="Sanierung\Reparatur.cs" />
<Compile Include="Sanierung\Reparatur\SanMitHarz.cs" />
<Compile Include="Sanierung\Renovation\AbstractSanieren.cs" />
<Compile Include="Sanierung\Sanierung.cs" />
<Compile Include="Collections\Sanierung.cs" />
<Compile Include="Sanierungskonzept.cs" />
<Compile Include="SanierungskonzeptCollection.cs" />
<Compile Include="Collections\Sanierungskonzept.cs" />
<Compile Include="SavedBilder.cs" />
<Compile Include="SchachtAnbindung.cs" />
<Compile Include="StructChargeNummern.cs" />
<Compile Include="VorOrtImprägnier.cs" />
<Compile Include="WerkseitigImprägniert.cs" />
<Compile Include="Sanierung\StructChargeNummern.cs" />
<Compile Include="Sanierung\Renovation\VorOrtImprägnier.cs" />
<Compile Include="Sanierung\Renovation\WerkseitigImprägniert.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SanShared\SanShared.csproj">

View File

@@ -1,15 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public class LeistungsverzeichnisCollection : List<LeistungsVerzeichnis>
{
}
}

View File

@@ -7,22 +7,15 @@ using System.Windows.Markup;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
[ContentProperty("AuftraggeberListe")]
public class MainDataBase
{
/// <summary>
///
/// </summary>
public AuftraggeberListCollection AuftraggeberListe { get; set; }
/// <summary>
///
/// </summary>
public Collections.AuftraggeberList AuftraggeberListe { get; set; }
public Collections.ImprägnierBericht ImprägnierBerichtListe { get; set; }
public MainDataBase()
{
AuftraggeberListe = new AuftraggeberListCollection();
AuftraggeberListe = new Collections.AuftraggeberList();
ImprägnierBerichtListe = new Collections.ImprägnierBericht();
}
}
}

View File

@@ -15,33 +15,18 @@ namespace KlassenBIB
[ContentProperty("Objekte")]
public class Projekt :IProjekt
{
/// <summary>
///
/// </summary>
public string Nummer { get; set; }
/// <summary>
///
/// </summary>
public string Ort { get; set; }
/// <summary>
///
/// </summary>
public IAuftraggeber Auftraggeber { get; set; }
/// <summary>
///
/// </summary>
public LeistungsverzeichnisCollection Leistungsverzeichnis { get; set; }
/// <summary>
///
/// </summary>
public AbwasserTechnischeAnlageCollection Objekte { get; set; }
public Collections.Leistungsverzeichnis Leistungsverzeichnis { get; set; }
public Collections.AbwasserTechnischeAnlage Objekte { get; set; }
/// <summary>
///
/// </summary>
public Projekt()
{
Objekte = new AbwasserTechnischeAnlageCollection();
Leistungsverzeichnis = new LeistungsverzeichnisCollection();
Objekte = new Collections.AbwasserTechnischeAnlage();
Leistungsverzeichnis = new Collections.Leistungsverzeichnis();
Auftraggeber = new Auftraggeber();
}
}

View File

@@ -6,30 +6,18 @@ using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public abstract class Sanieren : Sanierung
public abstract class AbstractSanieren : Sanierung
{
DateTime datum = new DateTime();
bool fertig = false;
string verzeichnispfad;
/// <summary>
///
/// </summary>
#region getSeters
public string Besatzung { get; set; }
/// <summary>
///
/// </summary>
public DateTime Datum { get => datum; set => datum = value; }
/// <summary>
///
/// </summary>
public bool Fertig { get => fertig; set => fertig = value; }
/// <summary>
///
/// </summary>
public string Verzeichnispfad { get => verzeichnispfad; protected set => verzeichnispfad = value; }
#endregion
}
}

View File

@@ -6,18 +6,9 @@ using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public class ImprägnierungStrukture
{
/// <summary>
///
/// </summary>
public DateTime Zeitstempel { get; set; }
/// <summary>
///
/// </summary>
public double Temperature { get; set; }
}
}

View File

@@ -14,7 +14,7 @@ namespace KlassenBIB
/// Inliner class
///
/// </summary>
public sealed class InlinerSanierung : Sanieren, IMakeProtokol
public sealed class InlinerSanierung : AbstractSanieren, IMakeProtokol
{
double kalibrierUnterdruck = -0.5;
double kalibierWalzenAbstand = 0.9;
@@ -34,19 +34,14 @@ namespace KlassenBIB
string bediener;
DateTime anfangKalibrierung;
DateTime endeKalibirierung;
/// <summary>
/// Gibt den kompletten Harzbedarf auf die Haltungslänge bezogen zurück
/// </summary>
public double GetGesamtHarzbedarf(double haltungslaenge)
{
return haltungslaenge * harzbedarf;
}
/// <summary>
///
/// </summary>
/// <param name="projektpfad"></param>
/// <returns></returns>
public override string CheckVerzeichnisse(string projektpfad)
{
string path = Path.Combine(projektpfad, PfadZurSan);
@@ -57,12 +52,7 @@ namespace KlassenBIB
return path;
}
/// <summary>
///
/// </summary>
/// <param name="destinationPath"></param>
/// <param name="projekt">Projekt</param>
/// <returns></returns>
public Hashtable MakeProtokoll(string destinationPath, IProjekt projekt)
{
Hashtable grunddaten = new Hashtable()
@@ -157,30 +147,20 @@ namespace KlassenBIB
grunddaten["harz_type"] = HarzTyp;
return grunddaten;
}
/// <summary>
///
/// </summary>
public InlinerSanierung()
{
//datumKalibrierung = new DateTime();
Verzeichnispfad = "UVAnlage";
if (datumKalibrierung <= DateTime.MinValue || datumKalibrierung >= DateTime.MaxValue) datumKalibrierung = DateTime.Now;
}
/// <summary>
///
/// </summary>
public double KalibrierUnterdruck { get => kalibrierUnterdruck; set => kalibrierUnterdruck = value; }
/// <summary>
///
/// </summary>
public double KalibierWalzenAbstand { get => kalibierWalzenAbstand; set => kalibierWalzenAbstand = value; }
/// <summary>
///
/// </summary>
public double HarzKalibrierTemperatur { get => harzKalibrierTemperatur; set => harzKalibrierTemperatur = value; }
/// <summary>
///
/// </summary>
public DateTime DatumKalibrierung
{
get
@@ -192,65 +172,35 @@ namespace KlassenBIB
datumKalibrierung = value;
}
}
/// <summary>
///
/// </summary>
public string HarzChargenummer { get => harzChargenummer; set => harzChargenummer = value; }
/// <summary>
///
/// </summary>
public string LinerChargenummer { get => linerChargenummer; set => linerChargenummer = value; }
/// <summary>
///
/// </summary>
public double Harzbedarf { get => harzbedarf; set => harzbedarf = value; }
/// <summary>
///
/// </summary>
public uint Rueckholgeschwindigkeit { get => rueckholgeschwindigkeit; set => rueckholgeschwindigkeit = value; }
/// <summary>
///
/// </summary>
public bool GeschlosseneEnde { get => geschlosseneEnde; set => geschlosseneEnde = value; }
/// <summary>
///
/// </summary>
public double HarzBedarf { get => harzbedarf; set => harzbedarf = value; }
/// <summary>
///
/// </summary>
public string HarzTyp { get => harzTyp; set => harzTyp = value; }
/// <summary>
///
/// </summary>
public string LinerTyp { get => linerTyp; set => linerTyp = value; }
/// <summary>
///
/// </summary>
public DateTime AnfangAushaertung { get => anfangAushaertung; set => anfangAushaertung = value; }
/// <summary>
///
/// </summary>
public DateTime EndeAushaertung { get => endeAushaertung; set => endeAushaertung = value; }
/// <summary>
///
/// </summary>
public string Ort { get => ort; set => ort = value; }
/// <summary>
///
/// </summary>
public string Bediener { get => bediener; set => bediener = value; }
/// <summary>
///
/// </summary>
public DateTime AnfangKalibrierung { get => anfangKalibrierung; set => anfangKalibrierung = value; }
/// <summary>
///
/// </summary>
public DateTime EndeKalibirierung { get => endeKalibirierung; set => endeKalibirierung = value; }
/// <summary>
/// Preliner
/// </summary>
public bool Preliner { get => preliner; set => preliner = value; }
}
}

View File

@@ -3,7 +3,7 @@
/// <summary>
///
/// </summary>
public class AnlagenType
public class UVAnlagenTyp
{
/// <summary>
///

View File

@@ -10,7 +10,7 @@ namespace KlassenBIB
/// <summary>
/// Abstrakte Klasse zur Darstellung einer Partielle Reparatur
/// </summary>
public abstract class Reparatur : Sanieren
public abstract class Reparatur : AbstractSanieren
{
decimal positionImKanal;
/// <summary>

View File

@@ -8,12 +8,6 @@ using System.Threading.Tasks;
namespace KlassenBIB
{
//
// Zusammenfassung:
// Bietet die grundlegene Struktur für eine Sanierung
/// <summary>
///
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
[Browsable(false)]
public abstract class Sanierung : INotifyPropertyChanged
@@ -31,14 +25,9 @@ namespace KlassenBIB
DateTime hDReinigungDatum;
//DateTime sanierungsDatum;
Inspektionsobjekt inspektionsobjekt;
/// <summary>
///
/// </summary>
protected string pfadZurSan;
/// <summary>
///
/// </summary>
[Browsable(false)]
public Sanierung()
{
@@ -47,19 +36,11 @@ namespace KlassenBIB
}
/// <summary>
///
/// </summary>
/// <param name="projektpfad"></param>
/// <returns></returns>
public abstract string CheckVerzeichnisse(string projektpfad);
/// <summary>
///
/// </summary>
public Guid Guid { get => guid; set => guid = value; }
/// <summary>
///
/// </summary>
public double TempAusen
{
get => tempAusen;
@@ -73,60 +54,35 @@ namespace KlassenBIB
}
}
/// <summary>
///
/// </summary>
public double TempKanal { get => tempKanal; set => tempKanal = value; }
/// <summary>
///
/// </summary>
public string Wetter { get => wetter; set => wetter = value; }
/// <summary>
///
/// </summary>
public bool GenehmigungVorhanden { get => genehmigungVorhanden; set => genehmigungVorhanden = value; }
/// <summary>
///
/// </summary>
public bool WasserhaltungEingerichtet { get => wasserhaltungEingerichtet; set => wasserhaltungEingerichtet = value; }
/// <summary>
///
/// </summary>
public bool STVOAbsicherung { get => sTVOAbsicherung; set => sTVOAbsicherung = value; }
/// <summary>
///
/// </summary>
public bool HDReinigung { get => hDReinigung; set => hDReinigung = value; }
/// <summary>
///
/// </summary>
public DateTime HDReinigungDatum { get => hDReinigungDatum; set => hDReinigungDatum = value; }
/// <summary>
///
/// </summary>
public Inspektionsobjekt Inspektionsobjekt { get => inspektionsobjekt; set => inspektionsobjekt = value; }
/// <summary>
///
/// </summary>
protected string PfadZurSan {
get
{
return string.Format("{0}-{1}", Inspektionsobjekt.VonPunkt, Inspektionsobjekt.BisPunkt);
}
}
/// <summary>
///
/// </summary>
public bool VorbereitetMechanisch { get => vorbereitetMechanisch; set => vorbereitetMechanisch = value; }
/// <summary>
///
/// </summary>
public bool VorbereitetRoboter { get => vorbereitetRoboter; set => vorbereitetRoboter = value; }
//public DateTime SanierungsDatum { get => sanierungsDatum; set => sanierungsDatum = value; }
/// <summary>
///
/// </summary>
public event PropertyChangedEventHandler PropertyChanged;
private void NotifyPropertyChanged([CallerMemberName] string propertyName = null)
{

View File

@@ -1,15 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KlassenBIB
{
/// <summary>
///
/// </summary>
public class SanierungskonzeptCollection : List<Sanierungskonzept>
{
}
}

View File

@@ -10,10 +10,10 @@ namespace KlassenBIB
/// <summary>
///
/// </summary>
public class SchachtAnbindung : Sanieren
public class SchachtAnbindung : AbstractSanieren
{
string schachtNummer;
BilderCollection savedBilders;
Collections.Bilder savedBilders;
#region GettersSetters
/// <summary>
@@ -23,7 +23,7 @@ namespace KlassenBIB
/// <summary>
///
/// </summary>
public BilderCollection SavedBilders { get => savedBilders; set => savedBilders = value; }
public Collections.Bilder SavedBilders { get => savedBilders; set => savedBilders = value; }
#endregion
/// <summary>
///
@@ -31,7 +31,7 @@ namespace KlassenBIB
public SchachtAnbindung()
{
Verzeichnispfad = "Schachtanbindung";
SavedBilders = new BilderCollection();
SavedBilders = new Collections.Bilder();
}
/// <summary>

View File

@@ -47,7 +47,7 @@ namespace SanSystem
dr["vorbereitet"] = "am " + objekt.HaltungGemessen.ToShortDateString();
int schachtanbindungen = 0;
foreach (Sanieren mainsan in objekt.Sanierung)
foreach (AbstractSanieren mainsan in objekt.Sanierung)
{
if (
mainsan.Datum.Day == targetDatum.Day &&
@@ -173,7 +173,7 @@ namespace SanSystem
add = true;
}
foreach(Sanieren san in objekt.Sanierung)
foreach(AbstractSanieren san in objekt.Sanierung)
{
if (san.Fertig &&

View File

@@ -234,7 +234,7 @@ namespace SanSystem
Inspektionskuerzeln kuerzel = (dgvr.DataBoundItem as Inspektionskuerzeln);
if (kuerzel == null) return;
if (kuerzel.Sanierungskonzepts == null)
kuerzel.Sanierungskonzepts = new SanierungskonzeptCollection();
kuerzel.Sanierungskonzepts = new KlassenBIB.Collections.Sanierungskonzept();
frmSanKonzeptList frmSanKonzept = new frmSanKonzeptList(kuerzel.Sanierungskonzepts);

View File

@@ -50,7 +50,7 @@ namespace SanSystem
int counter = 0;
foreach(Sanierung san in tmp.Sanierung)
{
Sanieren _san = (san as Sanieren);
AbstractSanieren _san = (san as AbstractSanieren);
if (_san.Fertig) anzahlfertig++;
counter++;
}

View File

@@ -29,6 +29,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SchnittstelleImporterTests"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSVParser", "CSVParser\CSVParser.csproj", "{3F79BD28-9BF6-4902-8977-41E9E71F8488}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{DDF8C748-82A0-4FFC-8EE1-9C81C26A75E3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -88,8 +90,10 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{0FEC903E-6C9F-48AC-A207-0BACA184AAA8} = {DDF8C748-82A0-4FFC-8EE1-9C81C26A75E3}
{FF6C3E9C-0AB0-4C67-A150-318C22734FBD} = {8DB2B84C-B8C5-4C32-82C0-47AD5FADD649}
{BE364E88-92DA-4A6C-97E7-DDD7D887B3D4} = {8DB2B84C-B8C5-4C32-82C0-47AD5FADD649}
{9264791A-9D57-4133-BE47-75721057DBBB} = {DDF8C748-82A0-4FFC-8EE1-9C81C26A75E3}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {78FE215A-2904-4B88-8553-88BF8165DAC4}

View File

@@ -152,7 +152,7 @@ namespace SchnittstelleImporter
foreach(InspizierteAbwassertechnischeAnlage src in anlagen)
{
Inspektionsobjekt inspektionsobjekt = new Inspektionsobjekt();
InspektionskuerzelnCollection inspektionskuerzelns = new InspektionskuerzelnCollection();
KlassenBIB.Collections.Inspektionskuerzeln inspektionskuerzelns = new KlassenBIB.Collections.Inspektionskuerzeln();
inspektionsobjekt.Projektnummer = projektnummer;
inspektionsobjekt.Objektbezeichnung = src.Objektbezeichnung;