diff --git a/BerichtGen/Bericht.cs b/BerichtGen/Bericht.cs index dd4a5d7..62ece3f 100644 --- a/BerichtGen/Bericht.cs +++ b/BerichtGen/Bericht.cs @@ -21,11 +21,13 @@ namespace BerichtGen /// /// Erstellt /// - /// Die zuverwendete Vorlagenname - /// Die name zum Speichern der Datei + /// Die zuverwendete Vorlagenname /// Pfad zum Speichern - /// Inhalt vom Dokument - /// Ein doc datei soll erzeugt werden + /// + /// + /// Zur zeit ohne Implementierung + /// Für Tabellen anzeige + /// Ein doc datei soll erzeugt werden /// Ein Pdf datei soll erzeugt werden public void Erzeuge(string source, string savepath,string filename, Hashtable daten,List bilderObjects,DataTable tableContents, bool erzeugeDOC = false , bool erzeugePDF = true) { @@ -134,7 +136,7 @@ namespace BerichtGen graphics.Dispose(); } - catch(Exception ex) + catch(Exception) { } diff --git a/BerichtGen/FrmOptions.cs b/BerichtGen/FrmOptions.cs index bbca491..911243a 100644 --- a/BerichtGen/FrmOptions.cs +++ b/BerichtGen/FrmOptions.cs @@ -14,6 +14,9 @@ using System.Windows.Forms; namespace BerichtGen { + /// + /// + /// public partial class FrmOptions : Form { Thread generateProtokollThread; @@ -26,6 +29,16 @@ namespace BerichtGen List bilderObjects; DataTable tableContent = null; + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// public FrmOptions(string firma, string vorlage, string speicherpfad,string filename, Hashtable grunddaten, List bilderObjects, DataTable tableContent = null) { InitializeComponent(); diff --git a/BerichtGen/FrmPDFViewer.cs b/BerichtGen/FrmPDFViewer.cs index 68ab619..005a4cb 100644 --- a/BerichtGen/FrmPDFViewer.cs +++ b/BerichtGen/FrmPDFViewer.cs @@ -10,9 +10,16 @@ using System.Windows.Forms; namespace BerichtGen { + /// + /// + /// public partial class FrmPDFViewer : Form { string pfad; + /// + /// + /// + /// public FrmPDFViewer(string pfad) { InitializeComponent(); diff --git a/KlassenBIB/AbwasserTechnischeAnlageCollection.cs b/KlassenBIB/AbwasserTechnischeAnlageCollection.cs index be9a563..03620fc 100644 --- a/KlassenBIB/AbwasserTechnischeAnlageCollection.cs +++ b/KlassenBIB/AbwasserTechnischeAnlageCollection.cs @@ -6,6 +6,9 @@ using System.Threading.Tasks; namespace KlassenBIB { + /// + /// + /// public class AbwasserTechnischeAnlageCollection : List { } diff --git a/KlassenBIB/BilderCollection.cs b/KlassenBIB/BilderCollection.cs index 80bc8e2..30cb71f 100644 --- a/KlassenBIB/BilderCollection.cs +++ b/KlassenBIB/BilderCollection.cs @@ -6,6 +6,9 @@ using System.Threading.Tasks; namespace KlassenBIB { + /// + /// + /// public class BilderCollection : List { } diff --git a/KlassenBIB/ChargeNummerCollection.cs b/KlassenBIB/ChargeNummerCollection.cs new file mode 100644 index 0000000..5370168 --- /dev/null +++ b/KlassenBIB/ChargeNummerCollection.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace KlassenBIB +{ + /// + /// + /// + public class ChargeNummerCollection : List + { + } +} diff --git a/KlassenBIB/Hutprofil.cs b/KlassenBIB/Hutprofil.cs new file mode 100644 index 0000000..a215552 --- /dev/null +++ b/KlassenBIB/Hutprofil.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace KlassenBIB +{ + /// + /// Zulaufeinbindung + /// + public class Hutprofil : SanMitHarz + { + } +} diff --git a/KlassenBIB/IImportedObjekte.cs b/KlassenBIB/IImportedObjekte.cs new file mode 100644 index 0000000..61aa398 --- /dev/null +++ b/KlassenBIB/IImportedObjekte.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace KlassenBIB +{ + /// + /// Interface zur Import von Daten + /// + public interface IImportedObjekte + { + /// + /// Angaben zur XMLDatei die importiert werden soll + /// + string XMLFile { get; set; } + /// + /// Angaben zur Projektnummern die eingetragen werden soll in die Objekte + /// + string Projektnummer { get; set; } + /// + /// Funktion der die Inspektionsobjekte übergibt + /// + /// + List GetInspektionsobjekte(); + } +} diff --git a/KlassenBIB/InlinerSanierung.cs b/KlassenBIB/InlinerSanierung.cs index 7c92c0e..748b7b0 100644 --- a/KlassenBIB/InlinerSanierung.cs +++ b/KlassenBIB/InlinerSanierung.cs @@ -10,6 +10,10 @@ using System.Threading.Tasks; namespace KlassenBIB { + /// + /// Inliner class + /// + /// public sealed class InlinerSanierung : Sanieren, IMakeProtokol { double kalibrierUnterdruck = -0.5; @@ -33,7 +37,11 @@ namespace KlassenBIB { return haltungslaenge * harzbedarf; } - + /// + /// + /// + /// + /// public override string CheckVerzeichnisse(string projektpfad) { string path = Path.Combine(projektpfad, PfadZurSan); @@ -44,6 +52,11 @@ namespace KlassenBIB return mypath; } + /// + /// + /// + /// + /// public Hashtable MakeProtokoll(string destinationPath) { @@ -135,17 +148,30 @@ namespace KlassenBIB return grunddaten; } - + /// + /// + /// public InlinerSanierung() { //datumKalibrierung = new DateTime(); Verzeichnispfad = "UVAnlage"; if (datumKalibrierung <= DateTime.MinValue || datumKalibrierung >= DateTime.MaxValue) datumKalibrierung = DateTime.Now; } - + /// + /// + /// public double KalibrierUnterdruck { get => kalibrierUnterdruck; set => kalibrierUnterdruck = value; } + /// + /// + /// public double KalibierWalzenAbstand { get => kalibierWalzenAbstand; set => kalibierWalzenAbstand = value; } + /// + /// + /// public double HarzKalibrierTemperatur { get => harzKalibrierTemperatur; set => harzKalibrierTemperatur = value; } + /// + /// + /// public DateTime DatumKalibrierung { get @@ -159,15 +185,45 @@ namespace KlassenBIB datumKalibrierung = value; } } + /// + /// + /// public string HarzChargenummer { get => harzChargenummer; set => harzChargenummer = value; } + /// + /// + /// public string LinerChargenummer { get => linerChargenummer; set => linerChargenummer = value; } + /// + /// + /// public double Harzbedarf { get => harzbedarf; set => harzbedarf = value; } + /// + /// + /// public uint Rueckholgeschwindigkeit { get => rueckholgeschwindigkeit; set => rueckholgeschwindigkeit = value; } + /// + /// + /// public bool GeschlosseneEnde { get => geschlosseneEnde; set => geschlosseneEnde = value; } + /// + /// + /// public double HarzBedarf { get => harzbedarf; set => harzbedarf = value; } + /// + /// + /// public string HarzTyp { get => harzTyp; set => harzTyp = value; } + /// + /// + /// public string LinerTyp { get => linerTyp; set => linerTyp = value; } + /// + /// + /// public DateTime AnfangAushaertung { get => anfangAushaertung; set => anfangAushaertung = value; } + /// + /// + /// public DateTime EndeAushaertung { get => endeAushaertung; set => endeAushaertung = value; } } } diff --git a/KlassenBIB/Inspektionskuerzeln.cs b/KlassenBIB/Inspektionskuerzeln.cs index 7bfef02..cfdb979 100644 --- a/KlassenBIB/Inspektionskuerzeln.cs +++ b/KlassenBIB/Inspektionskuerzeln.cs @@ -3,21 +3,66 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using System.Windows.Markup; namespace KlassenBIB { + /// + /// + /// public class Inspektionskuerzeln { + /// + /// + /// + public decimal Station { get; set; } + /// + /// + /// public string Hauptkode { get; set; } + /// + /// + /// public string Charakterisierung1 { get; set; } + /// + /// + /// public string Charakterisierung2 { get; set; } + /// + /// + /// public uint Quantifizierung1 { get; set; } + /// + /// + /// public uint Quantifizierung2 { get; set; } + /// + /// + /// public uint LageAmUmfangStart { get; set; } + /// + /// + /// public uint LageAmUmfangEnde { get; set; } + /// + /// + /// public bool ImVerbindung { get; set; } + /// + /// + /// public string FotoReferenz { get; set; } + /// + /// + /// public string VideoReferenz { get; set; } + /// + /// + /// public string Anmerkung { get; set; } + /// + /// + /// + public SanierungskonzeptCollection Sanierungskonzepts { get; set; } } } diff --git a/KlassenBIB/InspektionskuerzelnCollection.cs b/KlassenBIB/InspektionskuerzelnCollection.cs index 83d5d6d..42f0cbb 100644 --- a/KlassenBIB/InspektionskuerzelnCollection.cs +++ b/KlassenBIB/InspektionskuerzelnCollection.cs @@ -7,6 +7,9 @@ using System.Threading.Tasks; namespace KlassenBIB { + /// + /// + /// [Browsable(false)] public class InspektionskuerzelnCollection : List { diff --git a/KlassenBIB/Inspektionsobjekt.cs b/KlassenBIB/Inspektionsobjekt.cs index 7490d69..2c4826a 100644 --- a/KlassenBIB/Inspektionsobjekt.cs +++ b/KlassenBIB/Inspektionsobjekt.cs @@ -7,27 +7,76 @@ using System.Windows.Markup; namespace KlassenBIB { + /// + /// + /// [ContentProperty("Sanierung")] public class Inspektionsobjekt { private string strasseName = "none"; - + /// + /// + /// public string StrasseName { get => strasseName; set => strasseName = value; } + /// + /// + /// public string OrtName { get; set; } + /// + /// + /// public string Hausnummer { get; set; } + /// + /// + /// public string Projektnummer { get; set; } + /// + /// + /// public string Objektbezeichnung { get; set; } + /// + /// + /// public string VonPunkt { get; set; } + /// + /// + /// public string BisPunkt { get; set; } + /// + /// + /// public string RohrMaterial { get; set; } + /// + /// + /// public uint Kanalrohrweite { get; set; } + /// + /// + /// public double Haltungslaenge { get; set; } + /// + /// + /// public double Schachtlaenge { get; set; } + /// + /// + /// public DateTime HaltungGemessen { get; set; } - public InspektionskuerzelnCollection Schadenskuerzeln { get; private set; } + /// + /// + /// + public InspektionskuerzelnCollection Schadenskuerzeln { get; set; } + /// + /// + /// public string Bemerkung { get; set; } + /// + /// + /// public SanierungCollection Sanierung { get;set; } - + /// + /// + /// public Inspektionsobjekt() { Schadenskuerzeln = new InspektionskuerzelnCollection(); diff --git a/KlassenBIB/KlassenBIB.csproj b/KlassenBIB/KlassenBIB.csproj index 4e33752..5236747 100644 --- a/KlassenBIB/KlassenBIB.csproj +++ b/KlassenBIB/KlassenBIB.csproj @@ -44,17 +44,27 @@ + + + + + + + + + + diff --git a/KlassenBIB/Kurzliner.cs b/KlassenBIB/Kurzliner.cs new file mode 100644 index 0000000..eb6b28c --- /dev/null +++ b/KlassenBIB/Kurzliner.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace KlassenBIB +{ + /// + /// Partielle Reparatur + /// + public class Kurzliner : SanMitHarz + { + } +} diff --git a/KlassenBIB/Projekt.cs b/KlassenBIB/Projekt.cs index 215e91f..2e3cf07 100644 --- a/KlassenBIB/Projekt.cs +++ b/KlassenBIB/Projekt.cs @@ -8,13 +8,27 @@ using System.Windows.Markup; [assembly: XmlnsDefinition("http://schemas.cosysda.de/sanVerwaltung/xaml","KlassenBIB")] namespace KlassenBIB { + /// + /// + /// [ContentProperty("Objekte")] public class Projekt { + /// + /// + /// public string Nummer { get; set; } + /// + /// + /// public string Ort { get; set; } + /// + /// + /// public AbwasserTechnischeAnlageCollection Objekte { get; set; } - + /// + /// + /// public Projekt() { Objekte = new AbwasserTechnischeAnlageCollection(); diff --git a/KlassenBIB/Quicklock.cs b/KlassenBIB/Quicklock.cs new file mode 100644 index 0000000..546ae0b --- /dev/null +++ b/KlassenBIB/Quicklock.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace KlassenBIB +{ + /// + /// Quicklock manschette + /// + public class Quicklock : Reparatur + { + } +} diff --git a/KlassenBIB/Reparatur.cs b/KlassenBIB/Reparatur.cs new file mode 100644 index 0000000..2af5f27 --- /dev/null +++ b/KlassenBIB/Reparatur.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace KlassenBIB +{ + + /// + /// Abstrakte Klasse zur Darstellung einer Partielle Reparatur + /// + public abstract class Reparatur : Sanieren + { + decimal positionImKanal; + /// + /// + /// + public decimal PositionImKanal + { + get + { + return positionImKanal; + } + set + { + positionImKanal = value; + } + } + /// + /// + /// + /// + /// + public override string CheckVerzeichnisse(string projektpfad) + { + throw new NotImplementedException(); + } + } +} diff --git a/KlassenBIB/SanMitHarz.cs b/KlassenBIB/SanMitHarz.cs new file mode 100644 index 0000000..34d8473 --- /dev/null +++ b/KlassenBIB/SanMitHarz.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace KlassenBIB +{ + /// + /// + /// + public class SanMitHarz : Reparatur + { + ChargeNummerCollection chargeNummerns; + + /// + /// Liste mit die Chargenummern + /// + public ChargeNummerCollection ChargeNummern + { + get + { + return chargeNummerns; + } + set + { + chargeNummerns = value; + } + } + } +} diff --git a/KlassenBIB/Sanieren.cs b/KlassenBIB/Sanieren.cs index c8dbca6..2ea664f 100644 --- a/KlassenBIB/Sanieren.cs +++ b/KlassenBIB/Sanieren.cs @@ -6,16 +6,30 @@ using System.Threading.Tasks; namespace KlassenBIB { + /// + /// + /// public abstract class Sanieren : Sanierung { Guid guid; DateTime datum = new DateTime(); bool fertig = false; string verzeichnispfad; - + /// + /// + /// public Guid Guid { get => guid; set => guid = value; } + /// + /// + /// public DateTime Datum { get => datum; set => datum = value; } + /// + /// + /// public bool Fertig { get => fertig; set => fertig = value; } + /// + /// + /// public string Verzeichnispfad { get => verzeichnispfad; protected set => verzeichnispfad = value; } } } diff --git a/KlassenBIB/Sanierung.cs b/KlassenBIB/Sanierung.cs index 26e7570..f11ade8 100644 --- a/KlassenBIB/Sanierung.cs +++ b/KlassenBIB/Sanierung.cs @@ -11,6 +11,9 @@ namespace KlassenBIB // // Zusammenfassung: // Bietet die grundlegene Struktur für eine Sanierung + /// + /// + /// [EditorBrowsable(EditorBrowsableState.Never)] [Browsable(false)] public abstract class Sanierung : INotifyPropertyChanged @@ -26,8 +29,14 @@ namespace KlassenBIB DateTime hDReinigungDatum; //DateTime sanierungsDatum; Inspektionsobjekt inspektionsobjekt; + /// + /// + /// protected string pfadZurSan; + /// + /// + /// [Browsable(false)] public Sanierung() { @@ -36,9 +45,16 @@ namespace KlassenBIB } - + /// + /// + /// + /// + /// public abstract string CheckVerzeichnisse(string projektpfad); //public Guid Guid { get => guid; set => guid = value; } + /// + /// + /// public double TempAusen { get => tempAusen; @@ -52,14 +68,41 @@ namespace KlassenBIB } } + /// + /// + /// public double TempKanal { get => tempKanal; set => tempKanal = value; } + /// + /// + /// public string Wetter { get => wetter; set => wetter = value; } + /// + /// + /// public bool GenehmigungVorhanden { get => genehmigungVorhanden; set => genehmigungVorhanden = value; } + /// + /// + /// public bool WasserhaltungEingerichtet { get => wasserhaltungEingerichtet; set => wasserhaltungEingerichtet = value; } + /// + /// + /// public bool STVOAbsicherung { get => sTVOAbsicherung; set => sTVOAbsicherung = value; } + /// + /// + /// public bool HDReinigung { get => hDReinigung; set => hDReinigung = value; } + /// + /// + /// public DateTime HDReinigungDatum { get => hDReinigungDatum; set => hDReinigungDatum = value; } + /// + /// + /// public Inspektionsobjekt Inspektionsobjekt { get => inspektionsobjekt; set => inspektionsobjekt = value; } + /// + /// + /// protected string PfadZurSan { get { @@ -67,7 +110,9 @@ namespace KlassenBIB } } //public DateTime SanierungsDatum { get => sanierungsDatum; set => sanierungsDatum = value; } - + /// + /// + /// public event PropertyChangedEventHandler PropertyChanged; private void NotifyPropertyChanged([CallerMemberName] string propertyName = null) { diff --git a/KlassenBIB/SanierungCollection.cs b/KlassenBIB/SanierungCollection.cs index 31e1547..3dcd279 100644 --- a/KlassenBIB/SanierungCollection.cs +++ b/KlassenBIB/SanierungCollection.cs @@ -6,6 +6,9 @@ using System.Threading.Tasks; namespace KlassenBIB { + /// + /// + /// public class SanierungCollection : List { } diff --git a/KlassenBIB/Sanierungskonzept.cs b/KlassenBIB/Sanierungskonzept.cs new file mode 100644 index 0000000..891d1da --- /dev/null +++ b/KlassenBIB/Sanierungskonzept.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Markup; + +namespace KlassenBIB +{ + /// + /// + /// + public class Sanierungskonzept + { + string anweisung; + + /// + /// Anweisung zur Darstellung vom Art des Reparatur + /// + public string Anweisung + { + get + { + return anweisung; + } + set + { + anweisung = value; + } + } + /// + /// Die Reparatur + /// + public Reparatur Reparatur { get; set; } + + public override string ToString() + { + string result = ""; + + bool sanVorhanden = Reparatur != null; + + bool sanAbgeschlossen = (sanVorhanden && Reparatur.Fertig); + + result = string.Format("{0} abgeschlossen : {1}", Anweisung, sanAbgeschlossen); + + return result; + + } + + } +} diff --git a/KlassenBIB/SanierungskonzeptCollection.cs b/KlassenBIB/SanierungskonzeptCollection.cs new file mode 100644 index 0000000..907a55b --- /dev/null +++ b/KlassenBIB/SanierungskonzeptCollection.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace KlassenBIB +{ + /// + /// + /// + public class SanierungskonzeptCollection : List + { + } +} diff --git a/KlassenBIB/SavedBilder.cs b/KlassenBIB/SavedBilder.cs index cb248ba..cdbefb1 100644 --- a/KlassenBIB/SavedBilder.cs +++ b/KlassenBIB/SavedBilder.cs @@ -6,12 +6,26 @@ using System.Threading.Tasks; namespace KlassenBIB { + /// + /// + /// public class SavedBilder { + /// + /// + /// public string Bildname { get; set; } + /// + /// + /// public string Speicherpfad { get; set; } + /// + /// + /// public string Bemerkung { get; set; } - + /// + /// + /// public override string ToString() { return Bildname; diff --git a/KlassenBIB/SchachtAnbindung.cs b/KlassenBIB/SchachtAnbindung.cs index dcce6c2..c436b40 100644 --- a/KlassenBIB/SchachtAnbindung.cs +++ b/KlassenBIB/SchachtAnbindung.cs @@ -7,23 +7,36 @@ using System.Threading.Tasks; namespace KlassenBIB { + /// + /// + /// public class SchachtAnbindung : Sanieren { string schachtNummer; BilderCollection savedBilders; #region GettersSetters + /// + /// + /// public string SchachtNummer { get => schachtNummer; set => schachtNummer = value; } + /// + /// + /// public BilderCollection SavedBilders { get => savedBilders; set => savedBilders = value; } #endregion - + /// + /// + /// public SchachtAnbindung() { Verzeichnispfad = "Schachtanbindung"; SavedBilders = new BilderCollection(); } - + /// + /// + /// public override string CheckVerzeichnisse(string projektpfad) { string path = Path.Combine(projektpfad, PfadZurSan); diff --git a/KlassenBIB/StructChargeNummern.cs b/KlassenBIB/StructChargeNummern.cs new file mode 100644 index 0000000..75a3865 --- /dev/null +++ b/KlassenBIB/StructChargeNummern.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace KlassenBIB +{ + /// + /// + /// + public struct StructChargeNummern + { + /// + /// Bezeichnung des Harzes oder Material + /// + public string Bezeichnung; + /// + /// ChargeNummer vom Material + /// + public string ChargeNummer; + } +} diff --git a/KlassenBIBTests/InspektionsobjektTests.cs b/KlassenBIBTests/InspektionsobjektTests.cs index 5253c34..c422250 100644 --- a/KlassenBIBTests/InspektionsobjektTests.cs +++ b/KlassenBIBTests/InspektionsobjektTests.cs @@ -22,6 +22,7 @@ namespace KlassenBIB.Tests [TestMethod()] public void XAMLSerializeTest() { + /* Projekt projekt = new Projekt(); projekt.Nummer = "16/219"; projekt.Ort = "Oldenburg"; @@ -68,6 +69,7 @@ namespace KlassenBIB.Tests XamlServices.Save("projekt1.xaml", projekt); + */ } [TestMethod()] public void InspektionsobjektTest() diff --git a/SanShared/BilderObject.cs b/SanShared/BilderObject.cs index c37a13b..f6ed6ff 100644 --- a/SanShared/BilderObject.cs +++ b/SanShared/BilderObject.cs @@ -6,10 +6,22 @@ using System.Threading.Tasks; namespace SanShared { + /// + /// + /// public class BilderObject { + /// + /// + /// public string Kommentar { get; set; } + /// + /// + /// public string Path { get; set; } + /// + /// + /// public int ImgID { get; set; } } } diff --git a/SanShared/Exceptions/LangNotFoundException.cs b/SanShared/Exceptions/LangNotFoundException.cs index 9580f8c..7911670 100644 --- a/SanShared/Exceptions/LangNotFoundException.cs +++ b/SanShared/Exceptions/LangNotFoundException.cs @@ -7,20 +7,37 @@ using System.Threading.Tasks; namespace SanShared.Exceptions { + /// + /// + /// public class LangNotFoundException : Exception { + /// + /// + /// public LangNotFoundException() { } - + /// + /// + /// + /// public LangNotFoundException(string message) : base(message) { } - + /// + /// + /// + /// + /// public LangNotFoundException(string message, Exception innerException) : base(message, innerException) { } - + /// + /// + /// + /// + /// protected LangNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { } diff --git a/SanShared/ILanguage.cs b/SanShared/ILanguage.cs index 19265a4..c6b1140 100644 --- a/SanShared/ILanguage.cs +++ b/SanShared/ILanguage.cs @@ -6,9 +6,18 @@ using System.Threading.Tasks; namespace SanShared { + /// + /// + /// public interface ILanguage { + /// + /// + /// Dictionary Fehlermeldungen { get; } + /// + /// + /// Dictionary Labels { get; } } } diff --git a/SanShared/IMakeProtokol.cs b/SanShared/IMakeProtokol.cs index fb2b1de..f423bdf 100644 --- a/SanShared/IMakeProtokol.cs +++ b/SanShared/IMakeProtokol.cs @@ -7,8 +7,16 @@ using System.Threading.Tasks; namespace SanShared { + /// + /// + /// public interface IMakeProtokol { + /// + /// + /// + /// + /// Hashtable MakeProtokoll(string destinationPath); } } diff --git a/SanShared/ITemperature.cs b/SanShared/ITemperature.cs index d7221f8..b2e0959 100644 --- a/SanShared/ITemperature.cs +++ b/SanShared/ITemperature.cs @@ -6,8 +6,16 @@ using System.Threading.Tasks; namespace SanShared { + /// + /// + /// public interface ITemperature { + /// + /// + /// + /// + /// double GetTemperatur(out string message); } } diff --git a/SanShared/UVcsvStrukture.cs b/SanShared/UVcsvStrukture.cs index a7ff8e5..2a84b05 100644 --- a/SanShared/UVcsvStrukture.cs +++ b/SanShared/UVcsvStrukture.cs @@ -6,14 +6,25 @@ using System.Threading.Tasks; namespace SanShared { + /// + /// CSV Dateistruktur + /// public class UVcsvStrukture { DateTime zeitstempel; double temperatur; double druck; - + /// + /// Zeitstempel vom Eintrag + /// public DateTime Zeitstempel { get => zeitstempel; set => zeitstempel = value; } + /// + /// Temperatur anzeige vom Eintrag + /// public double Temperatur { get => temperatur; set => temperatur = value; } + /// + /// Druckanzeige vom Eintrag + /// public double Druck { get => druck; set => druck = value; } } } diff --git a/SanSystem/FrmKalibrierungFestlegung.cs b/SanSystem/FrmKalibrierungFestlegung.cs index 14a68f3..91fbf58 100644 --- a/SanSystem/FrmKalibrierungFestlegung.cs +++ b/SanSystem/FrmKalibrierungFestlegung.cs @@ -11,8 +11,14 @@ using System.Windows.Forms; namespace SanSystem { + /// + /// + /// public partial class FrmKalibrierungFestlegung : Form { + /// + /// + /// public FrmKalibrierungFestlegung(List inspektionsobjekts) { InitializeComponent(); diff --git a/SanSystem/FrmNewProjekt.cs b/SanSystem/FrmNewProjekt.cs index 72630e9..da5f5c0 100644 --- a/SanSystem/FrmNewProjekt.cs +++ b/SanSystem/FrmNewProjekt.cs @@ -11,8 +11,14 @@ using System.Windows.Forms; namespace SanSystem { + /// + /// + /// public partial class FrmNewProjekt : Form { + /// + /// + /// public FrmNewProjekt() { InitializeComponent(); diff --git a/SanSystem/FrmReparaturKonzept.Designer.cs b/SanSystem/FrmReparaturKonzept.Designer.cs new file mode 100644 index 0000000..b35a1e6 --- /dev/null +++ b/SanSystem/FrmReparaturKonzept.Designer.cs @@ -0,0 +1,88 @@ +namespace SanSystem +{ + partial class FrmReparaturKonzept + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.txt_anweisung = new System.Windows.Forms.TextBox(); + this.btn_add_san = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.Location = new System.Drawing.Point(12, 9); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(51, 20); + this.label1.TabIndex = 0; + this.label1.Text = "label1"; + // + // txt_anweisung + // + this.txt_anweisung.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txt_anweisung.Location = new System.Drawing.Point(121, 9); + this.txt_anweisung.Multiline = true; + this.txt_anweisung.Name = "txt_anweisung"; + this.txt_anweisung.Size = new System.Drawing.Size(221, 260); + this.txt_anweisung.TabIndex = 1; + // + // btn_add_san + // + this.btn_add_san.Location = new System.Drawing.Point(12, 275); + this.btn_add_san.Name = "btn_add_san"; + this.btn_add_san.Size = new System.Drawing.Size(330, 84); + this.btn_add_san.TabIndex = 2; + this.btn_add_san.Text = "Sanierung hinzufügen"; + this.btn_add_san.UseVisualStyleBackColor = true; + this.btn_add_san.Click += new System.EventHandler(this.btn_add_san_Click); + // + // FrmReparaturKonzept + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(354, 371); + this.Controls.Add(this.btn_add_san); + this.Controls.Add(this.txt_anweisung); + this.Controls.Add(this.label1); + this.Name = "FrmReparaturKonzept"; + this.Text = "FrmRepaturKonzept"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmRepaturKonzept_FormClosing); + this.Load += new System.EventHandler(this.FrmRepaturKonzept_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.TextBox txt_anweisung; + private System.Windows.Forms.Button btn_add_san; + } +} \ No newline at end of file diff --git a/SanSystem/FrmReparaturKonzept.cs b/SanSystem/FrmReparaturKonzept.cs new file mode 100644 index 0000000..b054d54 --- /dev/null +++ b/SanSystem/FrmReparaturKonzept.cs @@ -0,0 +1,73 @@ +using KlassenBIB; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace SanSystem +{ + /// + /// + /// + public partial class FrmReparaturKonzept : Form + { + Sanierungskonzept konzept = null; + /// + /// + /// + /// + public FrmReparaturKonzept(Sanierungskonzept konzept) + { + InitializeComponent(); + this.konzept = konzept != null ? konzept : new Sanierungskonzept(); + } + + private void FrmRepaturKonzept_Load(object sender, EventArgs e) + { + txt_anweisung.DataBindings.Add(new Binding("text", konzept, "Anweisung")); + } + + private void FrmRepaturKonzept_FormClosing(object sender, FormClosingEventArgs e) + { + txt_anweisung.DataBindings.Clear(); + } + + private void btn_add_san_Click(object sender, EventArgs e) + { + int mod = (int)Sanierungsarten.KURZLINER ^ (int)Sanierungsarten.QUICKLOCK ^ (int)Sanierungsarten.HUTPROFIL; + FrmSelectNewSan frmSelectNewSan = new FrmSelectNewSan(mod); + + frmSelectNewSan.AddKurzlinerClicked += FrmSelectNewSan_AddKurzlinerClicked; + frmSelectNewSan.AddHutprofilClicked += FrmSelectNewSan_AddHutprofilClicked; + frmSelectNewSan.AddQuicklockClicked += FrmSelectNewSan_AddQuicklockClicked; + try + { + frmSelectNewSan.ShowDialog(); + } + catch(NotImplementedException ex) + { + MessageBox.Show(string.Format("{0} Sanierung wurde noch nicht implementiert",ex.Message)); + } + } + + private void FrmSelectNewSan_AddQuicklockClicked(object sender, EventArgs e) + { + throw new NotImplementedException("Quicklock"); + } + + private void FrmSelectNewSan_AddHutprofilClicked(object sender, EventArgs e) + { + throw new NotImplementedException("Hutprofil"); + } + + private void FrmSelectNewSan_AddKurzlinerClicked(object sender, EventArgs e) + { + throw new NotImplementedException("Kurzliner"); + } + } +} diff --git a/SanSystem/FrmReparaturKonzept.resx b/SanSystem/FrmReparaturKonzept.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/SanSystem/FrmReparaturKonzept.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/SanSystem/FrmSanKonzeptList.Designer.cs b/SanSystem/FrmSanKonzeptList.Designer.cs new file mode 100644 index 0000000..aad5b3d --- /dev/null +++ b/SanSystem/FrmSanKonzeptList.Designer.cs @@ -0,0 +1,90 @@ +namespace SanSystem +{ + partial class FrmSanKonzeptList + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.btn_san_add = new System.Windows.Forms.Button(); + this.lb_sans = new System.Windows.Forms.ListBox(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.Location = new System.Drawing.Point(12, 14); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(82, 20); + this.label1.TabIndex = 0; + this.label1.Text = "Sanierung"; + // + // btn_san_add + // + this.btn_san_add.Location = new System.Drawing.Point(12, 174); + this.btn_san_add.Name = "btn_san_add"; + this.btn_san_add.Size = new System.Drawing.Size(813, 91); + this.btn_san_add.TabIndex = 2; + this.btn_san_add.Text = "Neue Sanierung"; + this.btn_san_add.UseVisualStyleBackColor = true; + this.btn_san_add.Click += new System.EventHandler(this.btn_san_add_Click); + // + // lb_sans + // + this.lb_sans.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lb_sans.FormattingEnabled = true; + this.lb_sans.ItemHeight = 20; + this.lb_sans.Location = new System.Drawing.Point(172, 12); + this.lb_sans.Name = "lb_sans"; + this.lb_sans.Size = new System.Drawing.Size(653, 144); + this.lb_sans.TabIndex = 3; + this.lb_sans.DoubleClick += new System.EventHandler(this.lb_sans_DoubleClick); + // + // FrmSanKonzeptList + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(837, 280); + this.Controls.Add(this.lb_sans); + this.Controls.Add(this.btn_san_add); + this.Controls.Add(this.label1); + this.Name = "FrmSanKonzeptList"; + this.Text = "FrmSanKonzept"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmSanKonzept_FormClosing); + this.Load += new System.EventHandler(this.FrmSanKonzept_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button btn_san_add; + private System.Windows.Forms.ListBox lb_sans; + } +} \ No newline at end of file diff --git a/SanSystem/FrmSanKonzeptList.cs b/SanSystem/FrmSanKonzeptList.cs new file mode 100644 index 0000000..04f1f47 --- /dev/null +++ b/SanSystem/FrmSanKonzeptList.cs @@ -0,0 +1,65 @@ +using KlassenBIB; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace SanSystem +{ + /// + /// + /// + public partial class FrmSanKonzeptList : Form + { + List sanierungskonzept; + /// + /// + /// + public FrmSanKonzeptList(List sanierungskonzept) + { + InitializeComponent(); + + this.sanierungskonzept = sanierungskonzept != null ? sanierungskonzept : new List(); + } + + private void FrmSanKonzept_Load(object sender, EventArgs e) + { + lb_sans.DataSource = sanierungskonzept; + } + + private void FrmSanKonzept_FormClosing(object sender, FormClosingEventArgs e) + { + + } + + private void btn_san_add_Click(object sender, EventArgs e) + { + Sanierungskonzept sankonzept = new Sanierungskonzept(); + + sanierungskonzept.Add(sankonzept); + + FrmReparaturKonzept frmReparaturKonzept = new FrmReparaturKonzept(sankonzept); + frmReparaturKonzept.ShowDialog(); + } + + private void lb_sans_DoubleClick(object sender, EventArgs e) + { + //if ((sender as ListBox).SelectedItem == null) return; + + Sanierungskonzept konzept = (Sanierungskonzept)(sender as ListBox).SelectedItem; + + if (konzept == null) return; + + FrmReparaturKonzept frmReparaturKonzept = new FrmReparaturKonzept(konzept); + frmReparaturKonzept.ShowDialog(); + + //throw new Exception((sender as ListBox).SelectedItem.GetType().ToString()); + + } + } +} diff --git a/SanSystem/FrmSanKonzeptList.resx b/SanSystem/FrmSanKonzeptList.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/SanSystem/FrmSanKonzeptList.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/SanSystem/FrmSelectMassenDate.cs b/SanSystem/FrmSelectMassenDate.cs index 47068fd..a093894 100644 --- a/SanSystem/FrmSelectMassenDate.cs +++ b/SanSystem/FrmSelectMassenDate.cs @@ -12,6 +12,9 @@ using System.Windows.Forms; namespace SanSystem { + /// + /// + /// public partial class FrmSelectMassenDate : Form { diff --git a/SanSystem/FrmSelectNewSan.Designer.cs b/SanSystem/FrmSelectNewSan.Designer.cs index 59261b6..6bdd5e1 100644 --- a/SanSystem/FrmSelectNewSan.Designer.cs +++ b/SanSystem/FrmSelectNewSan.Designer.cs @@ -36,6 +36,7 @@ // // btn_inliner // + this.btn_inliner.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_inliner.Location = new System.Drawing.Point(12, 12); this.btn_inliner.Name = "btn_inliner"; this.btn_inliner.Size = new System.Drawing.Size(187, 58); @@ -46,6 +47,7 @@ // // btn_schacht_anb // + this.btn_schacht_anb.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_schacht_anb.Location = new System.Drawing.Point(212, 12); this.btn_schacht_anb.Name = "btn_schacht_anb"; this.btn_schacht_anb.Size = new System.Drawing.Size(187, 58); @@ -56,6 +58,7 @@ // // btn_kurzliner // + this.btn_kurzliner.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_kurzliner.Location = new System.Drawing.Point(412, 12); this.btn_kurzliner.Name = "btn_kurzliner"; this.btn_kurzliner.Size = new System.Drawing.Size(187, 58); @@ -66,6 +69,7 @@ // // btn_hut // + this.btn_hut.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_hut.Location = new System.Drawing.Point(612, 12); this.btn_hut.Name = "btn_hut"; this.btn_hut.Size = new System.Drawing.Size(187, 58); @@ -79,7 +83,6 @@ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(814, 87); - this.ControlBox = false; this.Controls.Add(this.btn_hut); this.Controls.Add(this.btn_kurzliner); this.Controls.Add(this.btn_schacht_anb); diff --git a/SanSystem/FrmSelectNewSan.cs b/SanSystem/FrmSelectNewSan.cs index c8657d6..f0d7a76 100644 --- a/SanSystem/FrmSelectNewSan.cs +++ b/SanSystem/FrmSelectNewSan.cs @@ -10,33 +10,78 @@ using System.Windows.Forms; namespace SanSystem { + /// + /// + /// public partial class FrmSelectNewSan : Form { + /// + /// Neue Inliner wurde angeklickt + /// public event EventHandler AddInlinerClicked; + /// + /// Neue Schachtanbindung wurde angeklickt + /// public event EventHandler AddSchachtAnbindungClicked; + /// + /// Neue Kurzliner wurde angeklickt + /// public event EventHandler AddKurzlinerClicked; + /// + /// Neue Hutprofil wurde angeklickt + /// public event EventHandler AddHutprofilClicked; - + /// + /// Neue Quicklock wurde angeklickt + /// + public event EventHandler AddQuicklockClicked; + + /// + /// + /// + /// protected virtual void OnAddSchachtAnbindungClicked(EventArgs e) { EventHandler handler = AddSchachtAnbindungClicked; if (handler != null) handler(this, e); } + /// + /// + /// + /// protected virtual void OnAddInlinerClicked(EventArgs e) { EventHandler handler = AddInlinerClicked; if (handler != null) handler(this, e); } + /// + /// + /// + /// protected virtual void OnAddKurzlinerClicked(EventArgs e) { EventHandler handler = AddKurzlinerClicked; if (handler != null) handler(this, e); } + /// + /// + /// + /// protected virtual void OnAddHutClicked(EventArgs e) { EventHandler handler = AddHutprofilClicked; if (handler != null) handler(this, e); } + /// + /// + /// + /// + protected virtual void OnAddQuickLockClicked(EventArgs e) + { + EventHandler handler = AddQuicklockClicked; + if (handler != null) handler(this, e); + } + /// /// /// diff --git a/SanSystem/SanSystem.csproj b/SanSystem/SanSystem.csproj index 2f0e7e2..487a265 100644 --- a/SanSystem/SanSystem.csproj +++ b/SanSystem/SanSystem.csproj @@ -112,6 +112,18 @@ frmProjektList.cs + + Form + + + FrmReparaturKonzept.cs + + + Form + + + FrmSanKonzeptList.cs + Form @@ -175,6 +187,12 @@ frmProjektList.cs + + FrmReparaturKonzept.cs + + + FrmSanKonzeptList.cs + FrmSelectMassenDate.cs @@ -250,6 +268,10 @@ {c949087e-20e1-4a17-b021-faead363c1d8} SanShared + + {E1564A4D-39FD-489B-8029-AEEF33033EF2} + SchnittstelleImporter + {e4979419-5eae-4b6d-a6a0-9632c1de87a0} TempCAN diff --git a/SanSystem/UCInliner.cs b/SanSystem/UCInliner.cs index ea899b8..234aecd 100644 --- a/SanSystem/UCInliner.cs +++ b/SanSystem/UCInliner.cs @@ -17,7 +17,9 @@ using Syncfusion.Windows.Forms.Chart; namespace SanSystem { - + /// + /// + /// public partial class UCInliner : UserControl { enum TabPages @@ -29,6 +31,10 @@ namespace SanSystem string destinationPath = string.Empty; UCLinerGrundlagen UCLinerGrundlagen = null; List filenames = new List(); + /// + /// + /// + /// public UCInliner(InlinerSanierung san) { InitializeComponent(); @@ -143,7 +149,7 @@ namespace SanSystem FtpClient newClient = null; client.Dispose(); - FtpClient newclient = null; + //FtpClient newclient = null; foreach (string file in filenames) { newClient = new FtpClient("192.168.250.2"); @@ -166,7 +172,7 @@ namespace SanSystem } catch (TimeoutException ex) { - MessageBox.Show("Die anlage reagiert nicht!"); + MessageBox.Show("Die anlage reagiert nicht!\n"+ex.Message); } } diff --git a/SanSystem/UCLinerGrundlagen.cs b/SanSystem/UCLinerGrundlagen.cs index 47b706e..58cab0c 100644 --- a/SanSystem/UCLinerGrundlagen.cs +++ b/SanSystem/UCLinerGrundlagen.cs @@ -11,16 +11,28 @@ using KlassenBIB; namespace SanSystem { + /// + /// + /// public partial class UCLinerGrundlagen : UserControl { InlinerSanierung inliner = null; + /// + /// + /// public List inspektionsobjekts = null; + /// + /// + /// + /// public UCLinerGrundlagen(InlinerSanierung inliner) { InitializeComponent(); this.inliner = inliner; } - + /// + /// + /// public UCLinerGrundlagen() { InitializeComponent(); diff --git a/SanSystem/UCSchachtanbindung.cs b/SanSystem/UCSchachtanbindung.cs index a41c1ba..5dc2832 100644 --- a/SanSystem/UCSchachtanbindung.cs +++ b/SanSystem/UCSchachtanbindung.cs @@ -13,6 +13,9 @@ using System.IO; namespace SanSystem { + /// + /// + /// public partial class UCSchachtanbindung : UserControl { SchachtAnbindung schacht = null; diff --git a/SanSystem/frmMain.Designer.cs b/SanSystem/frmMain.Designer.cs index 39eedb7..25c5cf7 100644 --- a/SanSystem/frmMain.Designer.cs +++ b/SanSystem/frmMain.Designer.cs @@ -1,5 +1,8 @@ namespace SanSystem { + /// + /// + /// partial class frmMain { /// @@ -33,9 +36,10 @@ this.neuToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.öffnenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.speichernToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.massenstatistikToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripStatus_projekt_Label = new System.Windows.Forms.ToolStripStatusLabel(); - this.massenstatistikToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.stammdatenImportierenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mainmenu.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.SuspendLayout(); @@ -57,7 +61,8 @@ // this.projektToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.neuToolStripMenuItem, - this.öffnenToolStripMenuItem}); + this.öffnenToolStripMenuItem, + this.stammdatenImportierenToolStripMenuItem}); this.projektToolStripMenuItem.Name = "projektToolStripMenuItem"; this.projektToolStripMenuItem.Size = new System.Drawing.Size(56, 20); this.projektToolStripMenuItem.Text = "Projekt"; @@ -65,14 +70,14 @@ // neuToolStripMenuItem // this.neuToolStripMenuItem.Name = "neuToolStripMenuItem"; - this.neuToolStripMenuItem.Size = new System.Drawing.Size(111, 22); + this.neuToolStripMenuItem.Size = new System.Drawing.Size(207, 22); this.neuToolStripMenuItem.Text = "Neu"; this.neuToolStripMenuItem.Click += new System.EventHandler(this.neuToolStripMenuItem_Click); // // öffnenToolStripMenuItem // this.öffnenToolStripMenuItem.Name = "öffnenToolStripMenuItem"; - this.öffnenToolStripMenuItem.Size = new System.Drawing.Size(111, 22); + this.öffnenToolStripMenuItem.Size = new System.Drawing.Size(207, 22); this.öffnenToolStripMenuItem.Text = "Öffnen"; this.öffnenToolStripMenuItem.Click += new System.EventHandler(this.öffnenToolStripMenuItem_Click); // @@ -83,6 +88,13 @@ this.speichernToolStripMenuItem.Text = "Speichern"; this.speichernToolStripMenuItem.Click += new System.EventHandler(this.speichernToolStripMenuItem_Click); // + // massenstatistikToolStripMenuItem + // + this.massenstatistikToolStripMenuItem.Name = "massenstatistikToolStripMenuItem"; + this.massenstatistikToolStripMenuItem.Size = new System.Drawing.Size(99, 20); + this.massenstatistikToolStripMenuItem.Text = "Massenstatistik"; + this.massenstatistikToolStripMenuItem.Click += new System.EventHandler(this.massenstatistikToolStripMenuItem_Click); + // // statusStrip1 // this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); @@ -100,12 +112,12 @@ this.toolStripStatus_projekt_Label.Size = new System.Drawing.Size(44, 17); this.toolStripStatus_projekt_Label.Text = "Projekt"; // - // massenstatistikToolStripMenuItem + // stammdatenImportierenToolStripMenuItem // - this.massenstatistikToolStripMenuItem.Name = "massenstatistikToolStripMenuItem"; - this.massenstatistikToolStripMenuItem.Size = new System.Drawing.Size(99, 20); - this.massenstatistikToolStripMenuItem.Text = "Massenstatistik"; - this.massenstatistikToolStripMenuItem.Click += new System.EventHandler(this.massenstatistikToolStripMenuItem_Click); + this.stammdatenImportierenToolStripMenuItem.Name = "stammdatenImportierenToolStripMenuItem"; + this.stammdatenImportierenToolStripMenuItem.Size = new System.Drawing.Size(207, 22); + this.stammdatenImportierenToolStripMenuItem.Text = "Stammdaten importieren"; + this.stammdatenImportierenToolStripMenuItem.Click += new System.EventHandler(this.stammdatenImportierenToolStripMenuItem_Click); // // frmMain // @@ -116,7 +128,7 @@ this.Controls.Add(this.mainmenu); this.IsMdiContainer = true; this.MainMenuStrip = this.mainmenu; - this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.Margin = new System.Windows.Forms.Padding(2); this.Name = "frmMain"; this.Text = "Kanalsanierungsverwaltung"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frm_main_FormClosing); @@ -140,6 +152,7 @@ private System.Windows.Forms.ToolStripStatusLabel toolStripStatus_projekt_Label; private System.Windows.Forms.ToolStripMenuItem speichernToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem massenstatistikToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem stammdatenImportierenToolStripMenuItem; } } diff --git a/SanSystem/frmMain.cs b/SanSystem/frmMain.cs index 001b347..042cab8 100644 --- a/SanSystem/frmMain.cs +++ b/SanSystem/frmMain.cs @@ -1,6 +1,7 @@ using Database; using FluentFTP; using KlassenBIB; +using SchnittstelleImporter; using System; using System.Collections.Generic; using System.ComponentModel; @@ -15,9 +16,14 @@ using System.Windows.Forms; namespace SanSystem { + /// + /// + /// public partial class frmMain : Form { - + /// + /// + /// public frmMain() { InitializeComponent(); @@ -108,5 +114,13 @@ namespace SanSystem FrmSelectMassenDate frmSelectMassenDate = new FrmSelectMassenDate(); frmSelectMassenDate.ShowDialog(); } + + private void stammdatenImportierenToolStripMenuItem_Click(object sender, EventArgs e) + { + IImportedObjekte importedObjekte = SchnittstelleImporter.ImportBuilder.Import(ImportSchnittstellen.XML2006); + importedObjekte.XMLFile = @"C:\Users\Damian\Desktop\XML\3_Zustandsdaten\ISYBAU_XML-2006-Zustandsdaten_DIN_EN_13508-2.xml"; + importedObjekte.Projektnummer = Global.Instance.ProjektNummer; + Datenbank.Instance.loadedProjekt.Objekte.AddRange(importedObjekte.GetInspektionsobjekte()); + } } } diff --git a/SanSystem/frmObjektEdit.Designer.cs b/SanSystem/frmObjektEdit.Designer.cs index d6f4c7a..7dbeac1 100644 --- a/SanSystem/frmObjektEdit.Designer.cs +++ b/SanSystem/frmObjektEdit.Designer.cs @@ -30,6 +30,8 @@ { this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); + this.cb_objekname_man = new System.Windows.Forms.CheckBox(); + this.label8 = new System.Windows.Forms.Label(); this.txt_ort = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.txt_bemerkung = new System.Windows.Forms.TextBox(); @@ -57,27 +59,28 @@ this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); + this.tabPage2 = new System.Windows.Forms.TabPage(); + this.dgv_schadenkuerzel = new System.Windows.Forms.DataGridView(); this.btn_close = new System.Windows.Forms.Button(); this.btn_add_san = new System.Windows.Forms.Button(); this.btn_delete = new System.Windows.Forms.Button(); - this.label8 = new System.Windows.Forms.Label(); - this.cb_objekname_man = new System.Windows.Forms.CheckBox(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.groupBox2.SuspendLayout(); + this.tabPage2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgv_schadenkuerzel)).BeginInit(); this.SuspendLayout(); // // tabControl1 // - this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); this.tabControl1.Controls.Add(this.tabPage1); - this.tabControl1.Location = new System.Drawing.Point(13, 14); + this.tabControl1.Controls.Add(this.tabPage2); + this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(1264, 612); + this.tabControl1.Size = new System.Drawing.Size(1290, 702); this.tabControl1.TabIndex = 0; this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged); // @@ -112,11 +115,32 @@ this.tabPage1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.tabPage1.Size = new System.Drawing.Size(1256, 579); + this.tabPage1.Size = new System.Drawing.Size(1282, 669); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Grunddaten"; this.tabPage1.UseVisualStyleBackColor = true; // + // cb_objekname_man + // + this.cb_objekname_man.AutoSize = true; + this.cb_objekname_man.Location = new System.Drawing.Point(108, 70); + this.cb_objekname_man.Name = "cb_objekname_man"; + this.cb_objekname_man.Size = new System.Drawing.Size(60, 20); + this.cb_objekname_man.TabIndex = 29; + this.cb_objekname_man.Text = "man?"; + this.cb_objekname_man.UseVisualStyleBackColor = true; + this.cb_objekname_man.CheckedChanged += new System.EventHandler(this.cb_objekname_man_CheckedChanged); + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label8.Location = new System.Drawing.Point(725, 276); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(91, 20); + this.label8.TabIndex = 28; + this.label8.Text = "Bemerkung"; + // // txt_ort // this.txt_ort.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -424,6 +448,28 @@ this.label1.TabIndex = 0; this.label1.Text = "Projektnummer"; // + // tabPage2 + // + this.tabPage2.Controls.Add(this.dgv_schadenkuerzel); + this.tabPage2.Location = new System.Drawing.Point(4, 29); + this.tabPage2.Name = "tabPage2"; + this.tabPage2.Padding = new System.Windows.Forms.Padding(3); + this.tabPage2.Size = new System.Drawing.Size(1282, 669); + this.tabPage2.TabIndex = 1; + this.tabPage2.Text = "Kanalinformationen"; + this.tabPage2.UseVisualStyleBackColor = true; + // + // dgv_schadenkuerzel + // + this.dgv_schadenkuerzel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.dgv_schadenkuerzel.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgv_schadenkuerzel.Location = new System.Drawing.Point(6, 6); + this.dgv_schadenkuerzel.Name = "dgv_schadenkuerzel"; + this.dgv_schadenkuerzel.Size = new System.Drawing.Size(1268, 269); + this.dgv_schadenkuerzel.TabIndex = 0; + this.dgv_schadenkuerzel.RowHeaderMouseDoubleClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgv_schadenkuerzel_RowHeaderMouseDoubleClick); + // // btn_close // this.btn_close.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); @@ -456,27 +502,6 @@ this.btn_delete.UseVisualStyleBackColor = true; this.btn_delete.Click += new System.EventHandler(this.btn_delete_Click); // - // label8 - // - this.label8.AutoSize = true; - this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label8.Location = new System.Drawing.Point(725, 276); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(91, 20); - this.label8.TabIndex = 28; - this.label8.Text = "Bemerkung"; - // - // cb_objekname_man - // - this.cb_objekname_man.AutoSize = true; - this.cb_objekname_man.Location = new System.Drawing.Point(108, 70); - this.cb_objekname_man.Name = "cb_objekname_man"; - this.cb_objekname_man.Size = new System.Drawing.Size(60, 20); - this.cb_objekname_man.TabIndex = 29; - this.cb_objekname_man.Text = "man?"; - this.cb_objekname_man.UseVisualStyleBackColor = true; - this.cb_objekname_man.CheckedChanged += new System.EventHandler(this.cb_objekname_man_CheckedChanged); - // // frmObjektEdit // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); @@ -499,6 +524,8 @@ this.tabPage1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); + this.tabPage2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dgv_schadenkuerzel)).EndInit(); this.ResumeLayout(false); } @@ -539,5 +566,7 @@ private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label8; private System.Windows.Forms.CheckBox cb_objekname_man; + private System.Windows.Forms.TabPage tabPage2; + private System.Windows.Forms.DataGridView dgv_schadenkuerzel; } } \ No newline at end of file diff --git a/SanSystem/frmObjektEdit.cs b/SanSystem/frmObjektEdit.cs index 876ad75..9300b44 100644 --- a/SanSystem/frmObjektEdit.cs +++ b/SanSystem/frmObjektEdit.cs @@ -14,11 +14,17 @@ using Database; namespace SanSystem { - + /// + /// + /// public partial class frmObjektEdit : Form { Inspektionsobjekt inspektionsobjekt = null; + /// + /// + /// + /// public frmObjektEdit(Inspektionsobjekt inspektion) { InitializeComponent(); @@ -28,6 +34,8 @@ namespace SanSystem btn_close.Text = Global.Instance.language.Labels["btn_close"]; this.inspektionsobjekt = inspektion; + dgv_schadenkuerzel.DataSource = inspektion.Schadenskuerzeln; + foreach(Sanierung san in inspektion.Sanierung) { TabPage tab = new TabPage(); @@ -176,5 +184,26 @@ namespace SanSystem txt_objekt_name.DataBindings.Add(new Binding("Text", inspektionsobjekt, "Objektbezeichnung")); } } + + private void dgv_schadenkuerzel_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) + { + DataGridView dataGridView = (DataGridView)sender; + if (dataGridView == null) return; + DataGridViewSelectedRowCollection dataGridViewRowsSelect = dataGridView.SelectedRows; + + + if (dataGridViewRowsSelect.Count > 1) return; + + DataGridViewRow dgvr = dataGridViewRowsSelect[0]; + Inspektionskuerzeln kuerzel = (dgvr.DataBoundItem as Inspektionskuerzeln); + if (kuerzel == null) return; + if (kuerzel.Sanierungskonzepts == null) + kuerzel.Sanierungskonzepts = new SanierungskonzeptCollection(); + + + FrmSanKonzeptList frmSanKonzept = new FrmSanKonzeptList(kuerzel.Sanierungskonzepts); + //frmSanKonzept.MdiParent = this.MdiParent; + frmSanKonzept.ShowDialog(); + } } } diff --git a/SanSystem/frmObjekteList.cs b/SanSystem/frmObjekteList.cs index 6b62479..2261cd1 100644 --- a/SanSystem/frmObjekteList.cs +++ b/SanSystem/frmObjekteList.cs @@ -15,12 +15,18 @@ using System.Windows.Forms; namespace SanSystem { + /// + /// + /// public partial class frmObjekteList : Form { private List inspektionsobjekte; ObjecteListSetting objecteListSetting = new ObjecteListSetting(); - + /// + /// + /// + /// private void loadObjekte(string streetname) { @@ -63,7 +69,10 @@ namespace SanSystem } return true; } - + /// + /// + /// + /// public frmObjekteList(string streetname) { InitializeComponent(); diff --git a/SanSystem/frmProjektList.cs b/SanSystem/frmProjektList.cs index e56264e..da117a3 100644 --- a/SanSystem/frmProjektList.cs +++ b/SanSystem/frmProjektList.cs @@ -11,8 +11,14 @@ using System.Windows.Forms; namespace SanSystem { + /// + /// + /// public partial class frmProjektList : Form { + /// + /// + /// public frmProjektList() { InitializeComponent(); diff --git a/SanSystem/frmStrassenList.cs b/SanSystem/frmStrassenList.cs index 89df3de..e2fc863 100644 --- a/SanSystem/frmStrassenList.cs +++ b/SanSystem/frmStrassenList.cs @@ -12,10 +12,15 @@ using System.Windows.Forms; namespace SanSystem { + /// + /// + /// public partial class frmStrassenList : Form { BindingSource bs = new BindingSource(); - + /// + /// + /// public frmStrassenList() { InitializeComponent(); diff --git a/SanSystem_exe.WibuAxProject b/SanSystem_exe.WibuAxProject index 35cd606..0039393 100644 Binary files a/SanSystem_exe.WibuAxProject and b/SanSystem_exe.WibuAxProject differ diff --git a/SanVerwaltung.sln b/SanVerwaltung.sln index 045699c..5cfbb31 100644 --- a/SanVerwaltung.sln +++ b/SanVerwaltung.sln @@ -25,6 +25,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Language", "Language\Langua EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BerichtGen", "BerichtGen\BerichtGen.csproj", "{3022DA07-FD06-4AEA-9FC8-00D318E95A82}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SchnittstelleImporterTests", "SchnittstelleImporterTests\SchnittstelleImporterTests.csproj", "{9264791A-9D57-4133-BE47-75721057DBBB}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -71,6 +73,10 @@ Global {3022DA07-FD06-4AEA-9FC8-00D318E95A82}.Debug|Any CPU.Build.0 = Debug|Any CPU {3022DA07-FD06-4AEA-9FC8-00D318E95A82}.Release|Any CPU.ActiveCfg = Release|Any CPU {3022DA07-FD06-4AEA-9FC8-00D318E95A82}.Release|Any CPU.Build.0 = Release|Any CPU + {9264791A-9D57-4133-BE47-75721057DBBB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9264791A-9D57-4133-BE47-75721057DBBB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9264791A-9D57-4133-BE47-75721057DBBB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9264791A-9D57-4133-BE47-75721057DBBB}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/SchnittstelleImporter/I2006XML.cs b/SchnittstelleImporter/I2006XML.cs new file mode 100644 index 0000000..009e2b5 --- /dev/null +++ b/SchnittstelleImporter/I2006XML.cs @@ -0,0 +1,195 @@ +using KlassenBIB; +using SchnittstelleImporter.XML2006; +using System; +using System.Collections.Generic; +using System.Data; +using System.Diagnostics; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Xml; +using System.Xml.Schema; + +namespace SchnittstelleImporter +{ + /// + /// + /// + public class I2006XML : IImportedObjekte + { + string xmlFile; + string projektnummer; + Dictionary materialReferenz = new Dictionary(); + /// + /// Angabe zur XML datei + /// + public string XMLFile + { + get + { + return xmlFile; + } + set + { + xmlFile = value; + } + } + /// + /// Angabe zur Projektnummer + /// + public string Projektnummer + { + get + { + return projektnummer; + } + set + { + projektnummer = value; + } + + } + /// + /// + /// + public I2006XML() + { + LoadMaterialien(); + } + private void LoadMaterialien() + { + materialReferenz.Add("AZ", "AsbestZement"); + materialReferenz.Add("B", "Beton"); + materialReferenz.Add("BS", "BetonSegmente"); + + /*materialReferenz.Add("CNS + materialReferenz.Add("EIS + materialReferenz.Add("FZ + */ + materialReferenz.Add("GFK", "GFK"); + materialReferenz.Add("GG", "Grauguss"); + /* + materialReferenz.Add("GGG + materialReferenz.Add("KST + materialReferenz.Add("MA + materialReferenz.Add("OB + materialReferenz.Add("P + materialReferenz.Add("PC + materialReferenz.Add("PCC + */ + materialReferenz.Add("PE", "PE"); + materialReferenz.Add("PEHD", "PEHD"); + /* + materialReferenz.Add("PH + materialReferenz.Add("PHB + */ + materialReferenz.Add("PP", "Polypropolen"); + materialReferenz.Add("PVC", "Polyvinylchlorid"); + materialReferenz.Add("PVCU", "Polyvinylchlorid hart"); + /*materialReferenz.Add("SFB + materialReferenz.Add("SPB + */ + materialReferenz.Add("SB", "Stahlbeton"); + //materialReferenz.Add("ST + materialReferenz.Add("STZ", "Steinzeug"); + /*materialReferenz.Add("SZB + materialReferenz.Add("W + materialReferenz.Add("ZG + materialReferenz.Add("MIX + materialReferenz.Add("BOD + materialReferenz.Add("RAS + materialReferenz.Add("PFL + */ + } + + private string getRohrmaterial(string kennung) + { + string result; + if (!materialReferenz.TryGetValue(kennung, out result)) + result = kennung; + + return result; + } + + public static void LoadRefListe() + { + //XmlSchema s = XmlSchema.Read(XmlReader.Create(@"XML2006\SchemaDateien\0610-referenzlisten.xsd"), null); + XmlDocument xmlDocument = new XmlDocument(); + xmlDocument.Load(@"XML2006\SchemaDateien\0610-referenzlisten.xsd"); + + XmlNodeReader nodeReader = new XmlNodeReader(xmlDocument); + while(nodeReader.Read()) + { + Trace.WriteLine(nodeReader.Name); + Trace.WriteLine(nodeReader.GetAttribute("name")); + } + /* + int x = xmlDocument.ChildNodes.Count; + var y = xmlDocument.ChildNodes[7]; + + for(int i = 0; i < y.ChildNodes.Count; i++) + { + var d = y.ChildNodes[i]; + var e = d["MaterialType"]; + Trace.WriteLine(e); + }*/ + + } + + private static void ValidationCallback(object sender, ValidationEventArgs e) + { + throw new NotImplementedException(); + } + + /// + /// + /// + /// + public List GetInspektionsobjekte() + { + List result = new List(); + List anlagen = XMLParser.GetList(XMLFile); + foreach(InspizierteAbwassertechnischeAnlage src in anlagen) + { + Inspektionsobjekt inspektionsobjekt = new Inspektionsobjekt(); + InspektionskuerzelnCollection inspektionskuerzelns = new InspektionskuerzelnCollection(); + + inspektionsobjekt.Projektnummer = projektnummer; + inspektionsobjekt.Objektbezeichnung = src.Objektbezeichnung; + inspektionsobjekt.OrtName = src.Lage.Ortname!= null? src.Lage.Ortname : ""; + inspektionsobjekt.StrasseName = src.Lage.Strassename != null ? src.Lage.Strassename : "noname"; + inspektionsobjekt.RohrMaterial = src.OptischeInspektion.Rohrleitung.Grunddaten.Material != null ? getRohrmaterial(src.OptischeInspektion.Rohrleitung.Grunddaten.Material) : "Unbekannt"; + inspektionsobjekt.Kanalrohrweite = src.OptischeInspektion.Rohrleitung.Grunddaten.Profilhoehe != 0 ? (uint)src.OptischeInspektion.Rohrleitung.Grunddaten.Profilhoehe : (uint)src.OptischeInspektion.Rohrleitung.Grunddaten.Profilbreite; + inspektionsobjekt.Haltungslaenge = Convert.ToDouble(src.OptischeInspektion.Rohrleitung.Inspektionslaenge); + inspektionsobjekt.VonPunkt = src.OptischeInspektion.Rohrleitung.Grunddaten.KnotenZulauf; + inspektionsobjekt.BisPunkt = src.OptischeInspektion.Rohrleitung.Grunddaten.KnotenAblauf; + inspektionsobjekt.Bemerkung = src.OptischeInspektion.Rohrleitung.Inspektionsrichtung; + + + foreach(RZustand zustand in src.OptischeInspektion.Rohrleitung.Zustaende) + { + Inspektionskuerzeln inspektionskuerzeln = new Inspektionskuerzeln(); + inspektionskuerzeln.Station = zustand.Station; + inspektionskuerzeln.Hauptkode = zustand.Inspektionskode; + inspektionskuerzeln.Charakterisierung1 = zustand.Charakterisierung1; + inspektionskuerzeln.Charakterisierung2 = zustand.Charakterisierung2; + inspektionskuerzeln.ImVerbindung = zustand.Verbindung; + inspektionskuerzeln.LageAmUmfangStart = Convert.ToUInt32(zustand.PositionVon); + inspektionskuerzeln.LageAmUmfangEnde = Convert.ToUInt32(zustand.PositionBis); + + Quantifizierung quant1 = zustand.Quantifizierung1; + Quantifizierung quant2 = zustand.Quantifizierung2; + + inspektionskuerzeln.Quantifizierung1 = Convert.ToUInt32(quant1.Numerisch); + inspektionskuerzeln.Quantifizierung2 = Convert.ToUInt32(quant2.Numerisch); + + inspektionskuerzelns.Add(inspektionskuerzeln); + } + + inspektionsobjekt.Schadenskuerzeln = inspektionskuerzelns; + result.Add(inspektionsobjekt); + } + return result; + } + } +} diff --git a/SchnittstelleImporter/ImportBuilder.cs b/SchnittstelleImporter/ImportBuilder.cs new file mode 100644 index 0000000..f14f3ed --- /dev/null +++ b/SchnittstelleImporter/ImportBuilder.cs @@ -0,0 +1,39 @@ +using KlassenBIB; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SchnittstelleImporter +{ + /// + /// Definiert die Importierbare Schnittstellen + /// + public enum ImportSchnittstellen + { + /// + /// Euronorm XML 2006 + /// + XML2006 + } + /// + /// + /// + public static class ImportBuilder + { + /// + /// + /// + public static IImportedObjekte Import(ImportSchnittstellen importSchnittstellen) + { + switch (importSchnittstellen) + { + case ImportSchnittstellen.XML2006: return new I2006XML(); + default: throw new Exception("Gewünschte Schnittstelle nicht implementiert"); + } + + } + } + +} diff --git a/SchnittstelleImporter/SchnittstelleImporter.csproj b/SchnittstelleImporter/SchnittstelleImporter.csproj index 3482fcd..6119739 100644 --- a/SchnittstelleImporter/SchnittstelleImporter.csproj +++ b/SchnittstelleImporter/SchnittstelleImporter.csproj @@ -41,17 +41,46 @@ + + - + + + + + {c82bd650-466b-403f-bed9-2b1660771f54} + KlassenBIB + + + + Designer + + + Designer + + + Designer + + + Designer + PreserveNewest + + + Designer + + + Designer + + \ No newline at end of file diff --git a/SchnittstelleImporter/XML2006/Anschlussdaten.cs b/SchnittstelleImporter/XML2006/Anschlussdaten.cs index 63974c4..b2b14c5 100644 --- a/SchnittstelleImporter/XML2006/Anschlussdaten.cs +++ b/SchnittstelleImporter/XML2006/Anschlussdaten.cs @@ -6,6 +6,9 @@ using System.Threading.Tasks; namespace SchnittstelleImporter.XML2006 { + /// + /// + /// public class Anschlussdaten { string objektbezeichnung; @@ -14,12 +17,29 @@ namespace SchnittstelleImporter.XML2006 string anschlussArt; string fixierung; string kommentar; - + /// + /// + /// public string Objektbezeichnung { get => objektbezeichnung; set => objektbezeichnung = value; } + /// + /// + /// public EKantenTyp Kantentyp { get => kantentyp; set => kantentyp = value; } + /// + /// + /// public decimal Entfernung { get => entfernung; set => entfernung = value; } + /// + /// + /// public string AnschlussArt { get => anschlussArt; set => anschlussArt = value; } + /// + /// + /// public string Fixierung { get => fixierung; set => fixierung = value; } + /// + /// + /// public string Kommentar { get => kommentar; set => kommentar = value; } } } diff --git a/SchnittstelleImporter/XML2006/Enums.cs b/SchnittstelleImporter/XML2006/Enums.cs index e3582ea..dbd11d3 100644 --- a/SchnittstelleImporter/XML2006/Enums.cs +++ b/SchnittstelleImporter/XML2006/Enums.cs @@ -6,47 +6,107 @@ using System.Threading.Tasks; namespace SchnittstelleImporter.XML2006 { + /// + /// + /// public enum EAnlagetyp { + /// + /// + /// Haltung = 1, + /// + /// + /// Anschlussleitung = 2, + /// + /// + /// Schacht = 3, + /// + /// + /// Bauwerk = 4 } - public enum EInspektionverfahren + /// + /// + /// + enum EInspektionverfahren { TVUntersuchung, Begehung, VomSchacht, Other } - public enum EWetter + /// + /// + /// + enum EWetter { KEINNIEDERSCHLAG = 1, REGEN = 2, SCHNEE = 3 } + /// + /// + /// public enum ERohrleitungstyp { + /// + /// + /// HALTUNG, + /// + /// + /// LEITUNG } - public enum EObjektArt + /// + /// + /// + enum EObjektArt { KANTE = 1, KNOTEN = 2 } + /// + /// + /// public enum EKnotenTyp { + /// + /// + /// SCHACHT = 0, + /// + /// + /// ANSCHLUSSPUNKT = 1, + /// + /// + /// BAUWERK = 2 } + /// + /// + /// public enum EKantenTyp { + /// + /// + /// HALTUNG, + /// + /// + /// LEITUNG, + /// + /// + /// RINNE, + /// + /// + /// GERINNE } } diff --git a/SchnittstelleImporter/XML2006/InspizierteAbwassertechnischeAnlage.cs b/SchnittstelleImporter/XML2006/InspizierteAbwassertechnischeAnlage.cs index 648bc29..7859582 100644 --- a/SchnittstelleImporter/XML2006/InspizierteAbwassertechnischeAnlage.cs +++ b/SchnittstelleImporter/XML2006/InspizierteAbwassertechnischeAnlage.cs @@ -6,13 +6,18 @@ using System.Threading.Tasks; namespace SchnittstelleImporter.XML2006 { + /// + /// + /// public sealed class InspizierteAbwassertechnischeAnlage { string objektbezeichnung; Lage lage; EAnlagetyp anlagentyp; OptischeInspektion optischeInspektion; - + /// + /// + /// public string Objektbezeichnung { get @@ -24,6 +29,9 @@ namespace SchnittstelleImporter.XML2006 objektbezeichnung = value; } } + /// + /// + /// public EAnlagetyp Anlagentyp { get @@ -35,6 +43,9 @@ namespace SchnittstelleImporter.XML2006 anlagentyp = value; } } + /// + /// + /// public OptischeInspektion OptischeInspektion { get @@ -46,6 +57,9 @@ namespace SchnittstelleImporter.XML2006 optischeInspektion = value; } } + /// + /// + /// public Lage Lage { get @@ -57,6 +71,10 @@ namespace SchnittstelleImporter.XML2006 lage = value; } } + /// + /// + /// + public override string ToString() { return objektbezeichnung; diff --git a/SchnittstelleImporter/XML2006/Lage.cs b/SchnittstelleImporter/XML2006/Lage.cs index 1b9249d..528481b 100644 --- a/SchnittstelleImporter/XML2006/Lage.cs +++ b/SchnittstelleImporter/XML2006/Lage.cs @@ -6,11 +6,16 @@ using System.Threading.Tasks; namespace SchnittstelleImporter.XML2006 { + /// + /// + /// public class Lage { string strassename; string ortname; - + /// + /// + /// public string Strassename { get @@ -22,6 +27,9 @@ namespace SchnittstelleImporter.XML2006 strassename = value; } } + /// + /// + /// public string Ortname { get @@ -33,6 +41,11 @@ namespace SchnittstelleImporter.XML2006 ortname = value; } } + /// + /// + /// + /// + /// public Lage(string strassename, string ortname) { this.strassename = strassename; diff --git a/SchnittstelleImporter/XML2006/OptischeInspektion.cs b/SchnittstelleImporter/XML2006/OptischeInspektion.cs index bdeb1f1..122cc7f 100644 --- a/SchnittstelleImporter/XML2006/OptischeInspektion.cs +++ b/SchnittstelleImporter/XML2006/OptischeInspektion.cs @@ -6,11 +6,16 @@ using System.Threading.Tasks; namespace SchnittstelleImporter.XML2006 { + /// + /// + /// public class OptischeInspektion { DateTime inspektionstime; Rohrleitung rohrleitung; - + /// + /// + /// public DateTime Inspektionstime { set @@ -22,6 +27,9 @@ namespace SchnittstelleImporter.XML2006 return inspektionstime; } } + /// + /// + /// public string Inspektionsdatum { get @@ -34,6 +42,9 @@ namespace SchnittstelleImporter.XML2006 //inspektionsdatum = value; }*/ } + /// + /// + /// public string Inspektionszeit { get @@ -41,6 +52,9 @@ namespace SchnittstelleImporter.XML2006 return inspektionstime.ToShortTimeString(); } } + /// + /// + /// public Rohrleitung Rohrleitung { get diff --git a/SchnittstelleImporter/XML2006/RGrunddaten.cs b/SchnittstelleImporter/XML2006/RGrunddaten.cs index 90f0fa9..5d9f224 100644 --- a/SchnittstelleImporter/XML2006/RGrunddaten.cs +++ b/SchnittstelleImporter/XML2006/RGrunddaten.cs @@ -6,6 +6,9 @@ using System.Threading.Tasks; namespace SchnittstelleImporter.XML2006 { + /// + /// + /// public class RGrunddaten { string knotenZulauf; @@ -23,22 +26,65 @@ namespace SchnittstelleImporter.XML2006 decimal regeleinzelrohrlaenge; int artAuskleidung; string innenschutz; - + /// + /// + /// public string KnotenZulauf { get => knotenZulauf; set => knotenZulauf = value; } + /// + /// + /// public EKnotenTyp KnotenZulaufTyp { get => knotenZulaufTyp; set => knotenZulaufTyp = value; } + /// + /// + /// public string KnotenAblauf { get => knotenAblauf; set => knotenAblauf = value; } + /// + /// + /// public EKnotenTyp KnotenAblaufTyp { get => knotenAblaufTyp; set => knotenAblaufTyp = value; } + /// + /// + /// public int Profilhoehe { get => profilhoehe; set => profilhoehe = value; } + /// + /// + /// public int Profilbreite { get => profilbreite; set => profilbreite = value; } + /// + /// + /// public int Profilart { get => profilart; set => profilart = value; } + /// + /// + /// public string Material { get => material; set => material = value; } + /// + /// + /// public string Kanalart { get => kanalart; set => kanalart = value; } + /// + /// + /// public Anschlussdaten Anschlussddaten { get => anschlussddaten; set => anschlussddaten = value; } + /// + /// + /// public int HerkunftProfilmasse { get => herkunftProfilmasse; set => herkunftProfilmasse = value; } + /// + /// + /// public int HerkunftMaterial { get => herkunftMaterial; set => herkunftMaterial = value; } + /// + /// + /// public decimal Regeleinzelrohrlaenge { get => regeleinzelrohrlaenge; set => regeleinzelrohrlaenge = value; } + /// + /// + /// public int ArtAuskleidung { get => artAuskleidung; set => artAuskleidung = value; } - + /// + /// + /// public bool HasGrundleitung { get @@ -46,7 +92,9 @@ namespace SchnittstelleImporter.XML2006 return anschlussddaten != null; } } - + /// + /// + /// public string Innenschutz { get => innenschutz; set => innenschutz = value; } } } diff --git a/SchnittstelleImporter/XML2006/RZustand.cs b/SchnittstelleImporter/XML2006/RZustand.cs index a5c4be8..0c66967 100644 --- a/SchnittstelleImporter/XML2006/RZustand.cs +++ b/SchnittstelleImporter/XML2006/RZustand.cs @@ -6,11 +6,23 @@ using System.Threading.Tasks; namespace SchnittstelleImporter.XML2006 { + /// + /// + /// public struct Quantifizierung { + /// + /// + /// public decimal Numerisch; + /// + /// + /// public string Text; + /// + /// + /// public override string ToString() { if (Text != null) @@ -20,6 +32,9 @@ namespace SchnittstelleImporter.XML2006 return Numerisch.ToString(); } } + /// + /// + /// public class RZustand { decimal station; @@ -35,17 +50,53 @@ namespace SchnittstelleImporter.XML2006 int positionBis; string kommentar; + /// + /// + /// public decimal Station { get => station; set => station = value; } + /// + /// + /// public string Inspektionskode { get => inspektionskode; set => inspektionskode = value; } + /// + /// + /// public string Charakterisierung1 { get => charakterisierung1; set => charakterisierung1 = value; } + /// + /// + /// public string Charakterisierung2 { get => charakterisierung2; set => charakterisierung2 = value; } + /// + /// + /// public bool Verbindung { get => verbindung; set => verbindung = value; } + /// + /// + /// public Quantifizierung Quantifizierung1 { get => quantifizierung1; set => quantifizierung1 = value; } + /// + /// + /// public Quantifizierung Quantifizierung2 { get => quantifizierung2; set => quantifizierung2 = value; } + /// + /// + /// public string Streckenschaden { get => streckenschaden; set => streckenschaden = value; } + /// + /// + /// public int Streckenschadennr { get => streckenschadennr; set => streckenschadennr = value; } + /// + /// + /// public int PositionVon { get => positionVon; set => positionVon = value; } + /// + /// + /// public int PositionBis { get => positionBis; set => positionBis = value; } + /// + /// + /// public string Kommentar { get => kommentar; set => kommentar = value; } } } diff --git a/SchnittstelleImporter/XML2006/Rohrleitung.cs b/SchnittstelleImporter/XML2006/Rohrleitung.cs index f87af0a..4ce2f2d 100644 --- a/SchnittstelleImporter/XML2006/Rohrleitung.cs +++ b/SchnittstelleImporter/XML2006/Rohrleitung.cs @@ -6,6 +6,9 @@ using System.Threading.Tasks; namespace SchnittstelleImporter.XML2006 { + /// + /// + /// public class Rohrleitung { ERohrleitungstyp rohrleitungstyp; @@ -13,7 +16,9 @@ namespace SchnittstelleImporter.XML2006 string inspektionsrichtung; RGrunddaten grunddaten = null; List zustaende = null; - + /// + /// + /// public ERohrleitungstyp Rohrleitungstyp { get @@ -25,7 +30,9 @@ namespace SchnittstelleImporter.XML2006 rohrleitungstyp = value; } } - + /// + /// + /// public decimal Inspektionslaenge { get @@ -37,6 +44,9 @@ namespace SchnittstelleImporter.XML2006 inspektionslaenge = value; } } + /// + /// + /// public string Inspektionsrichtung { get @@ -54,6 +64,9 @@ namespace SchnittstelleImporter.XML2006 inspektionsrichtung = value; } } + /// + /// + /// public List Zustaende { get @@ -65,6 +78,9 @@ namespace SchnittstelleImporter.XML2006 zustaende = value; } } + /// + /// + /// public RGrunddaten Grunddaten { get diff --git a/SchnittstelleImporter/XML2006/SchemaDateien/0610-betriebsdaten.xsd b/SchnittstelleImporter/XML2006/SchemaDateien/0610-betriebsdaten.xsd new file mode 100644 index 0000000..ba97717 --- /dev/null +++ b/SchnittstelleImporter/XML2006/SchemaDateien/0610-betriebsdaten.xsd @@ -0,0 +1,289 @@ + + + + + + + + ISYBAU-Austauschformat Datenbereich Betriebsdaten + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SchnittstelleImporter/XML2006/SchemaDateien/0610-hydraulikdaten.xsd b/SchnittstelleImporter/XML2006/SchemaDateien/0610-hydraulikdaten.xsd new file mode 100644 index 0000000..a883098 --- /dev/null +++ b/SchnittstelleImporter/XML2006/SchemaDateien/0610-hydraulikdaten.xsd @@ -0,0 +1,2192 @@ + + + + + + + + ISYBAU-Austauschformat Datenbereich Hydraulikdaten + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SchnittstelleImporter/XML2006/SchemaDateien/0610-metadaten.xsd b/SchnittstelleImporter/XML2006/SchemaDateien/0610-metadaten.xsd new file mode 100644 index 0000000..a0205c0 --- /dev/null +++ b/SchnittstelleImporter/XML2006/SchemaDateien/0610-metadaten.xsd @@ -0,0 +1,478 @@ + + + + + + + + + + + + ISYBAU-Austauschformat Datenbereich Metadaten + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SchnittstelleImporter/XML2006/SchemaDateien/0610-referenzlisten.xsd b/SchnittstelleImporter/XML2006/SchemaDateien/0610-referenzlisten.xsd new file mode 100644 index 0000000..b03291f --- /dev/null +++ b/SchnittstelleImporter/XML2006/SchemaDateien/0610-referenzlisten.xsd @@ -0,0 +1,6912 @@ + + + + + + + + + + XML-Schema für Referenzlisten der ISYBAU-Austauschformate + + + Referenzlisten für den Bereich Metadaten + + + + M100 Datenstatus + + + + + + + + Bestandsdaten + + + + + Erfassungsdaten + + + + + Planungsdaten - Generelle Planung + + + + + Planungsdaten - Entwurfsplanung + + + + + Planungsdaten - Genehmigungsplanung + + + + + Planungsdaten - Ausführungsplanung + + + + + Planungsdaten - Objektplanung + + + + + sonstiger Datenbestand + + + + + + + M101 Kollektivart + + + + + + + + Stammdaten + + + + + Zustandsdaten + + + + + Hydraulikdaten + + + + + Betriebsdaten + + + + + Kostendaten + + + + + + + M102 Stammdatentyp + + + + + + + + Bautechnischer Bestand + + + + + Hydraulisches oder hydrologisches Ersatzsystem + + + + + + + M103 Zuständigkeit + + + + + + + + Bund, militärisch (BMVg) + + + + + Bund, zivil (BMVBW) + + + + + Bund, sonstige + + + + + Land + + + + + Fremdstreitkräfte + + + + + + + M104 Regelwerk/Datenumfang + + + + + + + + Arbeitshilfen Abwasser (ISYBAU 1996/2001) + + + + + Arbeitshilfen Abwasser (ISYBAU 2006) + + + + + sonstige Festlegungen + + + + + keine Angaben + + + + + + + M105 Abwasserbeseitigungspflicht + + + + + + + + Betreiber + + + + + Kommune + + + + + + Referenzlisten für den Bereich Stammdaten + + + + G100 Objektdifferenzierung + + + + + + + + Kante + + + + + Knoten + + + + + + + G101 Entwässerungssystem / Kanalart + + + + + + Freispiegelabfluss im geschlossenen Profil, Regenwassersystem + + + + + Freispiegelabfluss im geschlossenen Profil, Schmutzwassersystem + + + + + Freispiegelabfluss im geschlossenen Profil, Mischwassersystem + + + + + Freispiegelabfluss im geschlossenen Profil, Fließgewässer + + + + + Druckabfluss, Regenwassersystem + + + + + Druckabfluss, Schmutzwassersystem + + + + + Druckabfluss, Mischwassersystem + + + + + Abfluss im offenen Profil, Regenwassersystem + + + + + Abfluss im offenen Profil, Schmutzwassersystem + + + + + Abfluss im offenen Profil, Mischwassersystem + + + + + Abfluss im offenen Profil, Fließgewässer + + + + + + + G102 Material + + + + + + Asbestzememt + + + + + Beton + + + + + Betonsegmente + + + + + Edelstahl + + + + + Nichtidentifizietes Eisen und Stahl + + + + + Faserzement + + + + + Glasfaserverstärkter Kunststoff + + + + + Grauguss + + + + + Duktiles Gusseisen + + + + + Nichtidenfizierter Kunststoff + + + + + Mauerwerk + + + + + Ortbeton + + + + + Porosit + + + + + Polymerbeton + + + + + Polymermodifizierter Zementbeton + + + + + Polyethylen + + + + + Polyethylen hoher Dichte + + + + + Polyesterharz + + + + + Polyesterharzbeton + + + + + Polypropylen + + + + + Polyvinylchlorid + + + + + Polyvinylchlorid hart + + + + + Stahlfaserbeton + + + + + Spannbeton + + + + + Stahlbeton + + + + + Stahl + + + + + Steinzeug + + + + + Spritzbeton + + + + + Nichtidentifizierter Werkstoff + + + + + Ziegelwerk + + + + + unterschiedliche Werkstoffe + + + + + unbefestigt, anstehender Boden + + + + + Rasen + + + + + Pflaster + + + + + + + G103 Innenschutz + + + + + + Anstrich oder Beschichtung im gesamten Innenraum + + + + + Anstrich oder Beschichtung im Bereich der Sohle + + + + + Anstrich oder Beschichtung im Bereich der Wandung + + + + + Bitumenanstrich im gesamten Innenraum + + + + + Bitumenanstrich im Bereich der Sohle + + + + + Bitumenanstrich im Bereich der Wandung + + + + + Kunstharzbeschichtung im gesamten Innenraum + + + + + Kunstharzbeschichtung im Bereich der Sohle + + + + + Kunstharzbeschichtung im Bereich der Wandung + + + + + Auskleidung mit Kanalklinkern im gesamten Innenraum + + + + + Auskleidung mit Kanalklinkern im Bereich der Sohle + + + + + Auskleidung mit Kanalklinkern im Bereich der Wandung + + + + + Zementmörtelauskleidung im gesamten Innenraum + + + + + Zementmörtelauskleidung im Bereich der Sohle + + + + + Zementmörtelauskleidung im Bereich der Wandung + + + + + + + G104 Auskleidung + + + + + + + + Auskleidung werkseitig eingebracht + + + + + Spritzwasserauskleidung + + + + + Vor-Ort-Auskleidung + + + + + Abschnittsweise Auskleidung + + + + + Auskleidung mittels einzelner Rohre + + + + + Schlauchrelining + + + + + Auskleidung mittels Endlosrohren + + + + + Close-Fit Auskleidung + + + + + Wickelrohrrelining + + + + + + + G105 Status + + + + + + + + vorhanden (in Betrieb) + + + + + geplant + + + + + fiktiv (modelltechnische Gründe) + + + + + außer Betrieb + + + + + verdämmt / verfüllt, Stilllegung + + + + + Sonstige + + + + + + + G106 Lage + + + + + + + + unbekannt + + + + + schwere Zugänglichkeit (Autobahn, Gleisanlage, etc.) + + + + + Fahrbahn/Hoffläche fließender Verkehr + + + + + Parkstreifen/Hoffläche ruhender Verkehr/Abstellbereich + + + + + Geh-/Rad-/Wirtschaftsweg befestigt + + + + + Geh-/Rad-/Wirtschaftsweg unbefestigt + + + + + Straßenseitenraum, unbefestigt + + + + + unter einem Gebäude + + + + + Wald/Forstbereich + + + + + Garten-/Grünfläche + + + + + Brachfläche/Wiese + + + + + unter Gewässer/Wasserstraße + + + + + + + G107 Abwasserart/Transportiertes Medium + + + + + + + + häuslich + + + + + gewerblich + + + + + industriell (hier Sonderabwässer) + + + + + Abwasser mit wassergefährdenden Stoffen + + + + + Dränagewasser + + + + + Regenwasser + + + + + thermisch belastet + + + + + Sonstige + + + + + keine Angaben + + + + + + + G108 Abwasserart/Wassergefährdende Stoffe + + + + + + + + POL (Öl, Benzin,...) + + + + + Biologisch (Fette, Stärke, biologische Abfälle...) + + + + + Chemisch (außer POL, z.B. Quecksilber) + + + + + Strahlen belastet + + + + + + + G109 Grundwasserabstand + + + + + + + + Gerinne oberhalb des Grundwasserleiters + + + + + Gerinne in der Wechselzone + + + + + Gerinne im Grundwasserleiter + + + + + Sonstige + + + + + + + G110 Wasserschutzzone + + + + + + + + außerhalb einer Wasserschutzzone + + + + + Schutzzone IIIb + + + + + Schutzzone IIIa + + + + + Schutzzone II + + + + + Trinkwasserschutzgebiet + + + + + Thermal-/Heilquellenschutzgebiet + + + + + Schutzzone I + + + + + sonstige + + + + + + + G111 anstehende Bodenart + + + + + + + + Sand, Kies + + + + + Feinsand, lehmiger Sand + + + + + sandiger Lehm, Löss + + + + + Lehm, Ton + + + + + Sonstige + + + + + + + G112 Untersuchung Boden + + + + + + Geologische Karte + + + + + Bodenkarte + + + + + Baugrundkarte + + + + + Baugrunduntersuchung + + + + + Baumaßnahme (Baugrube, Schachtung) + + + + + Bohrung + + + + + Sondierung + + + + + Altlastenerkundung + + + + + Wenn keine der genannten Möglichkeiten zutrifft + + + + + + + G113 Bestimmungkf + + + + + + Bodenansprache + + + + + Korngrößenanalyse (Sieblinie) + + + + + Permeameteruntersuchung im Labor + + + + + Feldmethode (Open-End-Test oder dgl.) + + + + + sonstige (ggf. spezifizieren in nachfolgendem Bemerkungsfeld) + + + + + + + G114 BeobachtungszyklusGW + + + + + + kein regelmäßiger Zyklus + + + + + wöchentlich + + + + + monatlich + + + + + vierteljährlich + + + + + jährlich + + + + + kontinuierliche Registrierung (Schreibpegel, Datenlogger) + + + + + + + G115 Gebietsnutzung + + + + + + + + Unterkünfte + + + + + Verkehrsflächen (Straßen, Wege, Plätze) + + + + + Betriebs- und Werkstätten + + + + + Sport- und Grünflächen + + + + + sonstige + + + + + + + G200 Haltung, Leitung, Rinne, Wasserlauf + + + + + + + + Haltung + + + + + Leitung + + + + + Rinne + + + + + Gerinne + + + + + + + G201 Haltungsfunktion + + + + + + + + Haltung, Transportkanal + + + + + Stauraumkanal mit oben liegender Entlastung SKO + + + + + Stauraumkanal mit mittig liegender Entlastung SKM + + + + + Stauraumkanal mit unten liegender Entlastung SKU + + + + + Stauraumkanal als Kaskade SKK + + + + + Entlastungskanal EK + + + + + Düker + + + + + + + G202 Leitungsfunktion + + + + + + + + Anschlussleitung + + + + + Dränageleitung + + + + + + + G203 Rinnenfunktion + + + + + + + + offen + + + + + abgedeckt + + + + + + + G204 Gerinnefunktion + + + + + + + + Gewässergerinne + + + + + Messgerinne + + + + + Entwässerungsgraben, offen + + + + + Entwässerungsgraben, verrohrt + + + + + + + G205 Profilart + + + + + + + + Kreisprofil + + + + + Eiprofil (H/B=3/2) + + + + + Maulprofil (H/B = 1,66/2) + + + + + Rechteckprofil (geschlossen) + + + + + Kreisprofil (doppelwandig) + + + + + Rechteckprofil (offen) + + + + + Eiprofil (H/B ungleich 3/2) + + + + + Maulprofil (H/B ungleich 1,66/2) + + + + + Trapezprofil + + + + + Doppeltrapezprofil + + + + + U-förmig (kreisförmige Sohle und flache Decke mit parallelen Wänden) + + + + + Bogenförmig (kreisförmiger Scheitel und flache Sohle mit parallelen Wänden) + + + + + oval (Sohle und Scheitel kreisförmg mit gleichem Durchmesser und parallele Wände) + + + + + andere Profilart + + + + + + + G206 Anschlussart + + + + + + Abzweig + + + + + Stutzen + + + + + + + G207 Druckverfahren + + + + + + + + Überdruckentwässerung + + + + + Vakuumentwässerung + + + + + + + G300 Knotentyp + + + + + + + + Schacht + + + + + Anschlusspunkt + + + + + Bauwerk + + + + + + + G301 Schachtfunktion + + + + + + + + Schacht + + + + + Sonderschacht + + + + + Kontrollschacht + + + + + Drosselschacht + + + + + Lampenschacht + + + + + Probenahmeschacht + + + + + Hausrevisionsschacht + + + + + Verbindungsschacht + + + + + Schacht mit Notüberlauf + + + + + Inspektionsöffnung + + + + + Reinigungsöffnung + + + + + Probenahmeöffnung + + + + + + + G302 Deckelform + + + + + + rund + + + + + rund, verschraubt + + + + + rechteckig + + + + + rechteckig, verschraubt + + + + + andere Form + + + + + + + G303 Deckeltyp + + + + + + + + mit Belüftungsöffnung + + + + + ohne Belüftungsöffnung (geschlossen) + + + + + + + G304 Abdeckungsklasse + + + + + + klasse A + + + + + Klasse B + + + + + Klasse C + + + + + Klasse D + + + + + Klasse E + + + + + Klasse F + + + + + sonstige/unbekannt + + + + + + + G305 Aufbauform + + + + + + rund + + + + + eckig + + + + + andere Form + + + + + + + G306 ArtSteighilfen + + + + + + + + einläufiger Steigeisengang + + + + + zweiläufiger Steigeisengang + + + + + Leiter + + + + + Steigkästen + + + + + nicht vorhanden + + + + + + + G307 MaterialSteighilfen + + + + + + + + Eisen + + + + + Galvanisiertes Eisen + + + + + Nichtrostender Stahl + + + + + Aluminium + + + + + Kunststoffummanteltes Metall + + + + + Kunststoff + + + + + + + G308 Unterteilform + + + + + + rund + + + + + eckig + + + + + ohne Schachtunterteil + + + + + andere Form + + + + + + + G309 Gerinneform + + + + + + + + Kreis bis Kämpfer + + + + + Kreis bis Scheitel + + + + + Rechteck bis Kämpfer + + + + + Rechteck bis Scheitel + + + + + geschlossenes Gerinne + + + + + schussrinne + + + + + Kaskade + + + + + wenn keine der aufgeführten Quellen zutrifft + + + + + + + G310 Punktkennung + + + + + + Anschlusspunkt allgemein + + + + + Entwässerungsrinne, Zu-/Ablauf + + + + + Gebäudeanschluss + + + + + Regenfallrohr + + + + + Straßenablauf + + + + + nicht bekannt, weiterer Verlauf unbekannt + + + + + Zu-/Ablauf Versickerungs-/Regenwassernutzungsanlage + + + + + Rohrende verschlossen + + + + + Entwässerungspunkt im Gebäude + + + + + Bodenablauf + + + + + Zulauf Gerinne + + + + + Dränage, Anfang + + + + + Gerinnepunkt, allgemein + + + + + + + G400 Bauwerkstyp + + + + + + + + Pumpwerk + + + + + Becken + + + + + Behandlungsanlage + + + + + Kläranlage + + + + + Auslaufbauwerk + + + + + Pumpe + + + + + Wehr_Überlauf + + + + + Drossel + + + + + Schieber + + + + + Rechen + + + + + Sieb + + + + + Versickerungsanlage + + + + + Zisterne + + + + + + + G401 Beckenfunktion + + + + + + Regenüberlaufbecken + + + + + Regenklärbecken ohne Dauerstau + + + + + Regenklärbecken mit Dauerstau + + + + + Regenrückhaltebecken + + + + + Regenrückstaubecken + + + + + Regenrückhaltegraben + + + + + Mechanischer Retentionsfilter mit vorgeschalteter Retention + + + + + Mechanischer Retentionsfilter + + + + + Bodenfilter mit vorgeschalteter Retention + + + + + Retentionsbodenfilter + + + + + + + G402 Beckenart + + + + + + + + Fangbecken + + + + + Durchlaufbecken + + + + + Verbundbecken + + + + + + + G403 Anordnung + + + + + + + + Hauptschluss + + + + + Nebenschluss + + + + + + + G404a Beckenbauart + + + + + + + + offen + + + + + geschlossen + + + + + + + G404b Beckenform + + + + + + + + rund + + + + + rechteckig + + + + + unregelmäßig + + + + + + + G404c Beckenausführung + + + + + + + + Betonbecken + + + + + Erdbecken + + + + + + + G405 Ablaufart + + + + + + + + freier Ablauf + + + + + Rohrdrossel + + + + + Druckleitung + + + + + Hydroslide + + + + + Wirbeldrossel + + + + + automatische Klappe + + + + + Drosselwaage + + + + + gesteuerter Schieber + + + + + Ablauf über Pumpen + + + + + Lochblende + + + + + Heber + + + + + sonstige + + + + + + + G406 Behandlungsart + + + + + + + + Benzinabscheider/Ölabscheider + + + + + Koaleszenzabscheider + + + + + Fettabscheider + + + + + Stärkeabscheider + + + + + Emulsionsspaltanlage + + + + + Schlammfang + + + + + Stapelbecken + + + + + sonstige Bauwerksteile + + + + + Neutralisationsanlage + + + + + + + G407 Kombinationsart + + + + + + Schlammfang mit Benzin-/Ölabscheider (Klasse II) + + + + + Schlammfang mit Adsorptions-Koaleszenzabscheider (Klasse I) + + + + + Schlammfang mit Koaleszenzabscheider (Klasse I) + + + + + Vorabscheider mit Schlammfang + + + + + Vorabscheider mit Adsorbtions-Koaleszenzabscheider + + + + + Vorabscheider mit Koaleszenzabscheider + + + + + Schlammfang mit Fettabscheider + + + + + Schlammfang mit Stapelbecken + + + + + Schlammfang mit Emulsionsspaltanlage + + + + + sonstige hier nicht aufgeführte Kombination + + + + + + + G408 Aufstellungsart + + + + + + + + Innenaufstellung + + + + + Außenaufstellung, Erdeinbau + + + + + Nachnutzung eines vorhandenen Speicherraumes + + + + + + + G409 Abscheiderklasse + + + + + + + + Klasse I, höchstzulässiger Gehalt an Restöl 5,0 mg/l + + + + + Klasse II, höchstzulässiger Gehalt an Restöl 100 mg/l + + + + + + + G410 Warnanlage + + + + + + + + Füllstandsanzeige + + + + + optische Warnanlage + + + + + optisch-akustische Warnanlage + + + + + + + G411 Frischwasserversorgung + + + + + + + + Frischwasseranschluss + + + + + Spülpumpe + + + + + + + G412 Neutralisationsart + + + + + + + + diskontinuierlich/Chargenbehandlung + + + + + kontinuierlich/Durchlaufbehandlung + + + + + + + G413 Neutralisationsmittel + + + + + + + + Kalkstein + + + + + Kalksteinaufschlämmung + + + + + Kalkmilch + + + + + Natronlauge + + + + + Soda + + + + + Ionenaustauscher (kationisch) + + + + + Rauchgas + + + + + Gas aus Fermentation + + + + + Schwefelsäure + + + + + Salzsäure + + + + + Ionenaustauscher (anionisch) + + + + + sonstige + + + + + + + G414 Kläranlagefunktion + + + + + + + + Kläranlage mit mech. Stufe + + + + + Kläranlage mit bio. Stufe + + + + + Kläranlage mit chem. Stufe + + + + + Teichklärung + + + + + Kleinkläranlagen + + + + + abflusslose Sammelgrube + + + + + Zulauf Kläranlage + + + + + + + G415 ArtAuslaufbauwerk + + + + + + + + Auslass Rohrleitung mit Böschungssicherung + + + + + Auslass Rohrleitung mit Böschungssicherung und Rückstauklappe + + + + + Böschungsstück (Fertigteil) + + + + + Auslass ohne Böschungssicherung + + + + + + + G416 Einleitungsart + + + + + + + + öffentl. Kanalisation + + + + + Oberflächengewässer + + + + + Boden (Versickerung) + + + + + + + G417 Schutzgitter + + + + + + + + kein Schutzgitter + + + + + Schutzgitter nicht klappbar + + + + + Schutzgitter klappbar + + + + + + + G418 Sicherung + + + + + + + + keine + + + + + Steinschüttung + + + + + Steinsatz + + + + + Pflaster + + + + + Beton + + + + + Holzpfähle + + + + + sonstige + + + + + + + G419 Pumpenart + + + + + + + + Kreiselpumpe + + + + + Schneckenpumpe + + + + + sonstige + + + + + + + G420 Wehrfunktion + + + + + + + + Regenüberlauf + + + + + Beckenüberlauf + + + + + Klärüberlauf + + + + + Notüberlauf + + + + + Muldenüberlauf + + + + + Rigolenüberlauf + + + + + Dreiecksmesswehr + + + + + Rechtecksmesswehr + + + + + + + G421 Wehrtyp + + + + + + + + Querwehr + + + + + Seitenwehr + + + + + Querwehr mit Rückstauklappe + + + + + Seitenwehr mit Rückstauklappe + + + + + Querwehr mit beweglicher Schwelle + + + + + Seitenwehr mit beweglicher Schwelle + + + + + Wehr in Fließrichtung + + + + + Wehr in Fließrichtung mit beweglicher Schwelle + + + + + + + G422 Wehrkrone + + + + + + + + abgerundet + + + + + scharfkantig + + + + + sonstige + + + + + + + G423 Schieberfunktion + + + + + + + + Absperrung + + + + + Durchflussregulierung + + + + + Abschlagsregulierung + + + + + + + G424 Schieberart + + + + + + + + hydraulisch getrieben + + + + + elektrisch getrieben + + + + + handbetrieben + + + + + abflussreguliert + + + + + wasserstandsreguliert + + + + + + + G425 Rechentyp + + + + + + + + Schutzrechen, Spaltweite = 200-60mm + + + + + Grobrechen, Spaltweite = 100-20mm + + + + + Feinrechen, Spaltweite kleiner 20-8mm + + + + + Feinstrechen, Spaltweite kleiner 8mm + + + + + + + G426 Rechenrost + + + + + + + + Stabrechen + + + + + Bogenrechen + + + + + Radialrechen + + + + + Trommelrechen + + + + + Rechen mit beweglichen Rechenrostteilen + + + + + + + G427 Reinigereingriff + + + + + + + + Mitstromrechen/vorwärtsgeräumter Rechen + + + + + Gegenstromrechen/rückwärtsgeräumter Rechen, mechanischer Antrieb + + + + + Gegenstromrechen/rückwärtsgeräumter Rechen, hydraulischer Antrieb + + + + + ohne separate Räumvorrichtung + + + + + + + G428 Siebtyp + + + + + + + + Grobsieb (Sieböffnung kleiner gleich 1mm) + + + + + Feinsieb (Sieböffnung kleiner 1mm) + + + + + Mikrosieb (Sieböfnung kleiner gleich 0,05mm) + + + + + + + G429 Siebkörper + + + + + + + + Bogensieb + + + + + Siebtrommel + + + + + Siebbänder + + + + + Siebscheiben + + + + + + + G430 Einbauart + + + + + + + + im Gerinne + + + + + unabhängig von einem Gerinne + + + + + + + G431 Siebfläche + + + + + + + + Spaltsieb + + + + + Lochsieb + + + + + Siebgewebe + + + + + + + G432 Versickerungsanlagetyp + + + + + + + + Flächenversickerung + + + + + Muldenversickerung + + + + + Rohrversickerung + + + + + Rigolenversickerung + + + + + Rohr-Rigolen-Versickerung + + + + + Schachtversickerung + + + + + Beckenversickerung + + + + + Teich + + + + + + + G433 ArtFlächenanschluss + + + + + + + + oberirdisch (z.B. Rinne) + + + + + unterirdisch (z.B. Rohrleitung) + + + + + + + G434 Füllmaterial + + + + + + + + gewaschener Sand (z.B. 0,2 - 2 mm) + + + + + Feinkies (z.B. 2 - 8 mm) + + + + + Mittelkies (z.B. 8 - 16 mm) + + + + + Grobkies (z.B. 16 - 32 mm) + + + + + Kunststoff-Wabenblöcke + + + + + sonstiges + + + + + + + G435 ExistenzDrosselschacht + + + + + + + + nicht vorhanden + + + + + vorhanden (ohne nähere Spezifikation) + + + + + als Kunststoffschacht + + + + + als Betonschacht + + + + + + + G436 VSchachtTyp + + + + + + Versickerungsschacht Typ A, Versickerung über die Seitenfläche + + + + + Versickerungsschacht Typ B, Versickerung über die Sohlfläche + + + + + + + G437 Regenwassernutzungsfunktion + + + + + + + + Fahrzeugwäsche + + + + + Bewässerung (z.B. Grün- und Sportflächen) + + + + + Toilettenspülung + + + + + + + G438 MaterialRn + + + + + + + + Beton + + + + + gemauert + + + + + Kunststoff (z.B. Polyethylen) + + + + + + + G439 Filterart + + + + + + + + Kiesfilter oder Filtertopf + + + + + Filtersammler + + + + + Rohrfilter + + + + + Wirbelfeinfilter + + + + + Vorfilter mit Siebkorb + + + + + Feinfilter mit Kartusche + + + + + Filterplatte + + + + + Tassenfilter oder Rückspülfilter + + + + + + + G440 Filtermaterial + + + + + + + + Kies + + + + + Kiessand + + + + + Sand + + + + + Lehmboden + + + + + kein Filtermaterial + + + + + + + G441 Bepflanzung + + + + + + + + Rollrasen + + + + + Gras + + + + + Schwertlilien + + + + + Rohrkolben + + + + + Wasserschwaden + + + + + Binsen + + + + + Schilf + + + + + keine + + + + + + + V101 Objektart gem. BFR Vermessung + + + + + + + + Schacht rund + + + + + Schacht eckig + + + + + Sonderschacht + + + + + Haltung + + + + + Leitung + + + + + Dränageleitung + + + + + Druckleitung + + + + + Anschlusspunkt (Abzweig/Stutzen) + + + + + Anschlusspunkt allgemein (NN) + + + + + Gebäudeanschluss (GA) + + + + + Regenfallrohr (RR) + + + + + Anschlusspunkt Straßenablauf (SE) + + + + + Zu-/Ablauf Entwässerungsrinne (ER) + + + + + Sonderbauwerk Speichereinrichtung + + + + + Sonderbauwerk Trenn- und Aufbereitungsanlage + + + + + Sonderbauwerk Kläranlage + + + + + Sonderbauwerk Auslaufbauwerk + + + + + Sonderbauwerk Pumpe + + + + + Sonderbauwerk Wehr und Überlauf + + + + + Sonderbauwerk Drossel + + + + + Sonderbauwerk Schieber + + + + + Absperschieber Druckleitung + + + + + Versickerungsfläche + + + + + Versickerungsanlage mit oberirdischer Speicherung + + + + + Versickerungsteich + + + + + Versickerungsanlage mit unterirdischer Speicherung + + + + + Versickerungsrohr + + + + + Versickerungsschacht + + + + + Zisterne + + + + + Entwässerungsrinne + + + + + Breitflächiger Zu- oder Überlauf Regenwasser + + + + + Gerinne + + + + + Zu-/Ablauf Versickerungsanlage + + + + + Rohrende verschlossen (RV) + + + + + Entwässerungspunkt im Gebäude (EG) + + + + + Bodenablauf (BA) + + + + + Zulauf Gerinne (ZG) + + + + + Drainage, Anfang (DR) + + + + + Gerinnepunkt (GP) + + + + + Sonderbauwerk Pumpwerk + + + + + Sonderbauwerk Rechen + + + + + Sonderbauwerk Sieb + + + + + + + V102 Punkt-, Linien-, Flächenobjekt + + + + + + Punktobjekt + + + + + Linienobjekt + + + + + Flächenobjekt + + + + + + + V103 Lagegenauigkeitsklasse von Punktkoordinaten + + + + + + Standardabweichung der Lage 0.050m kleiner sL kleiner gleich 0.150m + + + + + Standardabweichung der Lage 0.015m kleiner sL kleiner gleich 0.050m + + + + + Standardabweichung der Lage sL kleiner gleich 0.015m + + + + + + + V104 Hoehengenauigkeitsklasse der Höhenangabe + + + + + + Standardabweichung der Höhe 0.020m kleiner sH kleiner gleich 0.050m + + + + + Standardabweichung der Höhe 0.005m kleiner sH kleiner gleich 0.020m + + + + + Standardabweichung der Höhe H kleiner gleich 0.005m + + + + + + + V105 Polygonart + + + + + + + + innerer Polygonring eines Objektes (geschlossen) + + + + + äusserer Polygonring eines Objektes (geschlossen) + + + + + Polylinie eines Objektes (offen) + + + + + + + V106 PunktattributAbwasser + + + + + + Schachtdeckelmittelpunkt + + + + + Schachtmittelpunkt + + + + + Rohranschlusspunkt + + + + + Leitungs-/Haltungspunkt + + + + + Anschlusspunkt + + + + + Anschlusspunkt allgemein + + + + + Zu-/Ablauf Entwässerungsrinne + + + + + Gebäudeanschluss + + + + + Regenfallrohr + + + + + Straßenablauf + + + + + Deckel/Einstieg Sonderbauwerk + + + + + Bauwerksrandpunkt + + + + + Koordinatenbezugspunkt/Referenzpunkt + + + + + Flächenschwerpunkt + + + + + Zulauf Kläranlage + + + + + Knotenpunkt allgemein + + + + + Höhenpunkt allgemein + + + + + Höhenpunkt Geländeoberkante + + + + + Kreismitelpunkt + + + + + Punktattribut unbekannt + + + + + Zu-/Ablauf Versickerungsanlage + + + + + Rohrende verschlossen + + + + + Entwässerungspunkt im Gebäude + + + + + Bodenablauf + + + + + Zulauf Gerinne + + + + + Dränage, Anfang + + + + + Gerinnepunkt + + + + + + + V107 Lagegenauigkeitsstufe von Punktkoordinaten + + + + + + + + terrestrische Vermessung nach "Baufachliche Richtlinien Vermessung" + + + + + Lage grafisch durch Digitalisierung aus Pänenn im Maßstab größer 1:2000 bestimmt + + + + + Lage grafisch durch Digitalisierung aus Plänen im Maßstab kleiner 1:2000 bis 1:5000 bestimmt + + + + + topografischer Bildflug + + + + + Kataster-Bildflug + + + + + terrestrische Vermessung ohne "Baufachliche Richtlinien Vermessung" + + + + + Digitalisierung nach "Baufachliche Richtlinien Vermessung" + + + + + Lage mit Ortungstechnik bestimmt (z.B. georefezenzierte 3D-Ortung) + + + + + Lage rechnerisch bestimmt + + + + + Wenn keine der aufgeführten Quellen zutrifft + + + + + + + V108 Höhengenauigkeitsstufe der Höhenangabe + + + + + + + + Höhe durch Nivellement bestimmt nach "Baufachliche Richtlinien Vermessung" + + + + + Höhe trigonometrisch bestimmt + + + + + Höhe aus Bestandsunterlagen entnommen + + + + + Höhe mit Messlatte von nivellitisch bestimmter Deckelhöhe abgeleitet (nur bei Sohlhöhe) + + + + + Höhe mit Messlatte von trigonometrisch bestimmter Deckelhöhe abgeleitet (nur bei Sohlhöhe) + + + + + Höhe grafisch aus Höhenplan bestimmt (nur bei Deckelhöhe) + + + + + Höhe durch Nivellement bestimmt ohne "Baufachliche Richtlinien Vermessung" + + + + + Höhe mit Ortungstechnik bestimmt (z.B. georefezenzierte 3D-Ortung) + + + + + Wenn keine der aufgeführten Quellen zutrifft + + + + + + + S200 ArtMassnahme + + + + + + + + Neubau + + + + + Erneuerung + + + + + Renovierung + + + + + Reparatur + + + + + Rückbau + + + + + Stilllegung + + + + + keine Maßnahme + + + + + Zustand unbekannt + + + + + + + S100 Auftragsart + + + + + + + + Planungsauftrag Sanierung + + + + + Bauauftrag + + + + + Instandsetzungsauftrag + + + + + + + S101 Verfahrensbezeichnung + + + + + + Anschleuderverfahren + + + + + Aufspritzverfahren + + + + + Auskleidung mit vorgefertigten Rohren/Bauteilen + + + + + Auspressverfahren + + + + + Austausch von Bauteilen + + + + + Außenmanschetten + + + + + Berstverfahren/Berstlining + + + + + Einbau von Abdichtungsstoffen + + + + + Flutungsverfahren + + + + + Injektion von Undichtigkeiten + + + + + Injektionen der Leitungszone (Hohlraum, Bodenstruktur) + + + + + Innenmanschetten + + + + + Kurzrohrverfahren + + + + + Lageregulierung Schachtabdeckung + + + + + Langrohrverfahren + + + + + Montageverfahren + + + + + Noppenbahnverfahren + + + + + Oberflächenbehandlung + + + + + Ortlaminate (Kurzschläuche, Hutprofile) + + + + + Reduktionsverfahren + + + + + Roboterverfahren + + + + + Rohraustausch + + + + + Rohrstrangverfahren + + + + + Rohrziehverfahren + + + + + Rückverformung + + + + + Schlauchverfahren + + + + + Schrumpfschläuche + + + + + Teilerneuerung + + + + + Verdrängungsverfahren + + + + + Verfugung + + + + + Vermörtelung + + + + + Vollständige Erneuerung + + + + + Wickelrohrverfahren + + + + + Überfahren (unbemannter Vortrieb) + + + + + neue, z.Zt. nicht bekannte Verfahren + + + + + + + S102 Sanierungsumfang + + + + + + + + gesamte(r) Haltung/Leitung/Schacht + + + + + partiell + + + + + punktuell + + + + + punktuell, Muffe + + + + + punktuell, Abzweig/Stutzen + + + + + + + S103 Bauwerksteil + + + + + + Ablaufseite (Rohranschluss Haltungen) + + + + + Bankett (Auftritt) + + + + + Auflagerring + + + + + Schachtdeckel, Schachtabdeckung + + + + + Zulaufseite (Rohranschluss Haltungen) + + + + + Schmutzfänger + + + + + Gerinne, Sohle + + + + + Schachthals, Konus + + + + + Schachtring + + + + + Decke (Abdeckplatte) + + + + + Leiter + + + + + Hochbauteil + + + + + Geländer + + + + + Sohlplatte + + + + + Formstück (Armaturen, Schieber, etc.) + + + + + Steigeisen + + + + + Treppe + + + + + Einstiegshilfe (Haltegriff) + + + + + Wand + + + + + Zulauf (Rohranschluss Leitungen) + + + + + wenn keines der aufgeführten Kürzel zutrifft + + + + + + + S104 Profiltyp + + + + + + Kreisprofil + + + + + Eiprofil (H/B=3/2) + + + + + Maulprofil (H/B = 1,66/2) + + + + + Rechteckprofil (geschlossen) + + + + + Kreisprofil (doppelwandig) + + + + + Rechteckprofil (offen) + + + + + Eiprofil (H/B ungleich 3/2) + + + + + Maulprofil (H/B ungleich 1,66/2) + + + + + Trapezprofil + + + + + Doppeltrapezprofil + + + + + U-förmig (kreisförmige Sohle und Decke mit parallelen Wänden) + + + + + Bogenförmig (kreisförmiger Scheitel und flache Sohle mit parallelen Wänden) + + + + + oval (Sohle und Scheitel kreisförmg mit gleichem Durchmesser und parallele Wände) + + + + + andere Profilart + + + + + rund + + + + + eckig + + + + + andere Form + + + + + + + S105 Dokumentationsrichtung + + + + + + von oben, in Fließrichtung + + + + + von unten, gegen Fließrichtung + + + + + + + S106 Materialverbund (1 und 2) + + + + + + Aluminiumhydroxid + + + + + Aluminiumsilikat + + + + + Bitumen + + + + + Epoxidharz + + + + + Glasfaser + + + + + Glasfaser, E-Glas + + + + + Glasfaser, CR-Glas + + + + + Kunstharz + + + + + Kanalklinker + + + + + Methylacrylat + + + + + Mineralischer Dämmer + + + + + Polyamid + + + + + Polybuten + + + + + Bisphenolharz + + + + + Polyurethan-Reaktionsharz + + + + + Quarzsand + + + + + Synthesefaser + + + + + Silikatgel + + + + + Tonsuspension + + + + + Tonzement/Silikatgel Susp. + + + + + Ton-, Zementsuspension + + + + + Ungesättigtes Polyesterharz + + + + + Vinylester + + + + + Zementmörtel + + + + + Zementsuspension + + + + + Ultrafeinzement + + + + + + + S107 Belastung + + + + + + Regelfahrzeuge 60 + + + + + Regelfahrzeuge 30 + + + + + Regelfahrzeuge 12 + + + + + Eisenbahnverkehrslasten mehrgleisig + + + + + Eisenbahnverkehrslasten eingleisig + + + + + Bemessungsflugzeug 90 + + + + + Bemessungsflugzeug 180 + + + + + Bemessungsflugzeug 350 + + + + + Bemessungsflugzeug 550 + + + + + Bemessungsflugzeug 750 + + + + + keine Verkehrslast + + + + + sonstige Verkehrslasten + + + + + Prüfkraft 15 kN + + + + + Prüfkraft 125 kN + + + + + Prüfkraft 250 kN + + + + + Prüfkraft 400 kN + + + + + Prüfkraft 600 kN + + + + + Prüfkraft 900 kN + + + + + + + S108 Wasserdurchlässigkeit + + + + + + + + nicht durchgeführt + + + + + durchgeführt und bestanden + + + + + durchgeführt und nicht bestanden + + + + + + Referenzlisten für den Bereich Zustandsdaten + + + + U100 Rohrleitungstyp + + + + + + + + Haltung + + + + + Leitung + + + + + + + U101 Inspektionszweck + + + + + + + + Ersterfassung + + + + + Turnusmäßige Inspektion + + + + + Abnahme + + + + + Ende der Gewährleistung + + + + + Nachuntersuchung + + + + + Vor Sanierung + + + + + Nach Sanierung + + + + + TV-Ûberwachung bei Dichtheitspüfung + + + + + + + U102 Kodiersystem + + + + + + + + DIN EN 13508-2:2003: ohne nationale Festlegungen + + + + + DIN EN 13508-2:2003: Nationale Festlegung DWA M 149-2 + + + + + DIN EN 13508-2:2003: andere nationale Festlegungen (Bemerkung erforderlich) + + + + + ISYBAU 2001 + + + + + ISYBAU 1996 + + + + + anderes Kodiersystem (Bemerkung erforderlich) + + + + + + + U103 Anlagentyp + + + + + + + + Haltung + + + + + Anschlussleitung + + + + + Schacht + + + + + Bauwerk + + + + + + + U104 Inspektionsrichtung + + + + + + von oben, in Fliessrichtung + + + + + von unten, gegen Fliessrichtung + + + + + + + U105 BezugspunktLage + + + + + + + + Mittelpunkt des Startschachtes oder der Inspektionsöffnung + + + + + Innenseite der Wand am Anfangsknoten (Schacht, Bauwerk, Inspektions-öffnung, Auslass, etc.) + + + + + Scheitel des Haltungsendes innerhalb des Anfangsknotens + + + + + Mittelpunkt zwischen der ankommenden und abgehenden Leitung, gemessen entlang des Gerinnes + + + + + + + U106 Wetter + + + + + + + + kein Niederschlag + + + + + Regen + + + + + Schnee- oder Eisschmelzwasser + + + + + + + U107 Wasserhaltung + + + + + + + + keine Maßnahme getroffen + + + + + Zufluss von oberhalb abgesperrt + + + + + Zufluss von oberhalb teilweise abgesperrt + + + + + Seitenzuläufe abgesperrt + + + + + Zufluss von unterhalb (Rückstau) abgesperrt + + + + + andere Maßnahme getroffen + + + + + + + U108 Inspektionsverfahren + + + + + + + + TV-Untersuchung + + + + + Begehung + + + + + Auschließlich vom Schacht / von der Inspektionsöffnung aus + + + + + anderes Verfahren + + + + + + + U109 Inspektionsart + + + + + + + + Satellitenkamera + + + + + Schiebekamera + + + + + selbstfahrende Kamera + + + + + andere Kameratechnik + + + + + + + U110 VideoSpeichermedium + + + + + + + + VHS-Videoband + + + + + SVHS-Videoband + + + + + CD-ROM + + + + + Digital Versatile Disk + + + + + Magneto Optical Disk + + + + + sonst. Wechseldatenträger + + + + + + + U111 FotoSpeichermedium + + + + + + Diskette + + + + + Digital Audio Tape + + + + + Magneto Optical Disk + + + + + CD-ROM + + + + + Digital Versatile Disk + + + + + sonst. Wechseldatenträger + + + + + + + U112 Bewertungsverfahren + + + + + + + + ISYBAU 2006 + + + + + ISYBAU 2001 + + + + + ISYBAU 1996 + + + + + anderes Verfahren + + + + + + + U114 ArtAuskleidung + + + + + + + + Auskleidung werksmäßig eingebracht + + + + + Spritzauskleidung + + + + + Vor-Ort-Auskleidung + + + + + abschnittsweise Auskleidung + + + + + Auskleidung mittels einzelner Rohre + + + + + Schlauchrelining + + + + + Auskleidung mittels Endlosrohren + + + + + Close-Fit Auskleidung + + + + + Wickelrohrrelining + + + + + + + U115 Vertikaler Bezugspunkt + + + + + + + + Sohllage der tiefsten angeschlossenen Rohrleitung + + + + + Oberkante der Abdeckung + + + + + Nationaler Bezugspunkt + + + + + Lokaler Bezugspunkt + + + + + + + U116 HorizontalerBezugspunkt + + + + + + + + niedrigstes abgehendes Rohr bei 12 Uhr + + + + + niedrigstes abgehendes Rohr bei 6 Uhr + + + + + + + U117 Schachtbereich + + + + + + Abdeckung und Rahmen + + + + + Auflageringe + + + + + Schachtaufbau + + + + + Konus + + + + + Übergangsplatte + + + + + untere Schachtzone + + + + + Podest + + + + + Auftritt + + + + + Gerinne + + + + + Sohle + + + + + + + U119 Auftragsart + + + + + + + + Inspektionsauftrag + + + + + Dichtheitsprüfung + + + + + Dichtheitsprüfung mit TV-Überwachung + + + + + + + U120 Prüfgrund + + + + + + + + Prüfung bestehender Anlagen + + + + + Abnahme nach Neubau oder Sanierung + + + + + + + U121 Prüfvorschrift + + + + + + + + ATV-DVWK-M 143 Teil 6 + + + + + DIN EN 1610 + + + + + DIN EN 1610, ATV-DVWK-A 139 + + + + + Merkblatt 4.3/6 Teil 2 (LfW Bayern) + + + + + DIN EN 12889 + + + + + ATV-DVWK-A 142 + + + + + + + U122 Prüfverfahren + + + + + + + + Prüfung mit Luft / Überdruck + + + + + Prüfung mit Luft / Unterdruck + + + + + Prüfung mit Wasser + + + + + + + U123 Prüfumfang + + + + + + + + Objekt (Rohrleitung oder Schacht) + + + + + abschnittsweise (z.B. zwischen zwei Anschlüssen) + + + + + punktuell (z.B. an einer Rohrver- oder Rohreinbindung) + + + + + + + U124 HerkunftProfil + + + + + + + + aus Plänen + + + + + aus Stammdaten + + + + + Gemessen am Knoten (z.B. mit Bandmaß) + + + + + Querschnittsvermessung + + + + + + + U125 Herkunft + + + + + + + + aus Plänen + + + + + aus Stammdaten + + + + + Feststellung vor Ort + + + + + + + U126 Streckenschaden + + + + + + Anfang Streckenschaden (für alle Kodiersysteme) + + + + + Ende Streckenschaden (nur DIN EN 13508-2) + + + + + Ende Streckenschaden (nicht für DIN EN 13508-2) + + + + + Schaden über die gesamte Länge eines Objektes (nicht für DIN EN 13508-2) + + + + + Schaden über die Baulänge eines Rohres (nicht für DIN EN 13508-2) + + + + + + + U127 Art Videoreferenz + + + + + + + + Timecode + + + + + Framenummern + + + + + Videozählerstand + + + + + Keine Videorerenz vorhanden + + + + + + + U128 Zustand in sanierten Bereichen von Rohrleitungen für Kode BAKZ gem. DWA-M 149-2 + + + + + + Ablösung der Auskleidung + + + + + Randablösung der Auskleidung + + + + + Ablösung der Innenfolie + + + + + Ablösung der Nahtabdeckung + + + + + Auskleidung verfärbt (kein Schmutz) + + + + + Mechanisch herbeigeführtE Kerbe/Abplatzung in der Auskleidung/Beschichtung + + + + + Beule nach außen + + + + + Beule nach innen + + + + + Falte in Auskleidung, längs + + + + + Falte in Auskleidung, radial + + + + + Falte in Auskleidung, komplex + + + + + Schadhafte Schweißnaht + + + + + Verbindung defekt (Auskleidung) + + + + + Überbogen Auskleidung + + + + + Auskleidung endet im Kanal/Leitung (vor Schacht) + + + + + Auflösung Auskleidungswerkstoff + + + + + Loch in Auskleidung + + + + + Riss in der Auskleidung + + + + + Renovierung nicht fachgerecht + + + + + + + U129 Zustand in sanierten Bereichen von Rohrleitungen für Kode BALZ gem. DWA-M 149-2 + + + + + + Ablösung Sanierungswerkstoff vom Altrohr + + + + + Fehlender Sanierungswerkstoff an der Kontaktfläche + + + + + Folien-/Beschichtungsablösung + + + + + Auskleidung verfärbt (kein Schmutz) + + + + + Beule in Auskleidung nach außen + + + + + Beule in Auskleidung nach innen + + + + + Falte in Auskleidung, längs + + + + + Falte in Auskleidung, radial + + + + + Falte in Auskleidung, komplex + + + + + Hindernis Werkstoffüberschuss/-übergang + + + + + Fehlendes Harz im Laminat + + + + + Anbindung Auskleidung an Schacht/Inspektionsöffnung fehlt oder nicht fachgerecht + + + + + Aulösung Sanierungswerkstofft + + + + + Loch im Sanierungswerkstoff + + + + + Riss im Sanierungswerkstoff + + + + + Zulauföffnung (Auskleidung) fehlt + + + + + Zulauföffnung Auskleidung (ohne Anschlusseinbindung) nicht fachgerecht + + + + + Reparatur nicht fachgerecht + + + + + + + U130 Sanierungsverfahren bei punkteller Reparatur einer Rohrleitung gem. DWA-M 149-2 + + + + + + Reparatur mit Injektionstechnik + + + + + Reparatur mit Robotere + + + + + Reparatur mit partiellerAuskleidungs-/Manschettentechnik + + + + + Zulaufeinbindung + + + + + Reparatur Rohrwand manuell + + + + + Reparatur Rohrverbindung manuell + + + + + Ringspalt-/-raumabdichtung (der Auskleidung) zum Anschluss an Schacht/Inspektionsöffnung + + + + + Zulauföffnung ohne Einbindung + + + + + Rohr ausgetauscht + + + + + Reparatur, sonstige Technik + + + + + + + U131 Zustand in sanierten Bereichen von Schächten für Kode DAKZ gem. DWA-M 149-2 + + + + + + Ablösung der Auskleidung + + + + + Randablösung der Auskleidung + + + + + Auskleidung verfärbt (kein Schmutz) + + + + + Mechanisch herbeigeführte Kerbe/Abplatzung/beschädigung der Auskleidung + + + + + Beule nach außen + + + + + Beule nach innen + + + + + Falte in Auskleidung, längs + + + + + Falte in Auskleidung, radial + + + + + Falte in Auskleidung, komplex + + + + + Schadhafter Befestigungspunkt + + + + + Schadhafte Schweißnaht + + + + + Verbindung defekt (Auskleidung) + + + + + Auskleidung endet im Schacht (z.B. unterhalb Konus) + + + + + Auflösung Auskleidungswerkstoff + + + + + Loch in Auskleidung + + + + + Riss in der Auskleidung + + + + + Renovierung nicht fachgerecht + + + + + + + U132 Zustand in sanierten Bereichen von Schächten für Kode DALZ gem. gem. DWA-M 149-2 + + + + + + Ablösung Sanierungswerkstoff vom Schacht/Inspektionsöffnung + + + + + Anbindung Auskleidung an Schacht/Inspektionsöffnung fehlt oder nicht fachgerecht + + + + + Hindernis Sanierungswerkstofflüberschuss/-übergang + + + + + Auflösung Sanierungswerkstoff + + + + + Loch im Sanierungswerkstoffl + + + + + Riss im Sanierungswerkstoff + + + + + Anschlussöffnung/-einbindung (Auskleidung) fehlt + + + + + Anschlussöffnung Auskleidung (ohne Anschlusseinbindung) nicht fachgerecht + + + + + Reparatur nicht fachgerecht + + + + + + + U133 Sanierungsverfahren bei punktueller Reparatur eines Schachtes gem. DWA-M 149-2 + + + + + + Reparatur mit Injektionstechnik + + + + + Reparatur an Bauteilwandung + + + + + Reparatur Bauteilverbindung + + + + + Ringspalt-/-raumabdichtung (Auskleidung in Kanälen/Leitungen) zum Anschluss an Schacht/Inspektionsöffnung + + + + + Anschlusseinbindung manuell + + + + + Anschlussöffnug ohne Einbindung + + + + + Schachtbauteil ausgetauscht + + + + + Reparatur, sonstige Technik + + + + + + + U134 Grund für einen Inspektionsabbruch bei Kanälen und Leitungen + + + + + + Gegenseite erreicht + + + + + Gegenseite nicht erreicht + + + + + Inspektion von der Gegenseite nicht möglich + + + + + Auftraggeber verzichtet auf weitere Untersuchung + + + + + Inspektionsziel erreicht + + + + + + Referenzlisten für den Bereich Hydraulikdaten + + + + H100 Flächenart + + + + + + + + Einzel-/ Elementarfläche + + + + + Sammelfläche + + + + + + + H101 Flächeneigenschaft + + + + + + + + befestigt + + + + + teilbefestigt + + + + + unbefestigt + + + + + natürlich + + + + + keine information + + + + + + + H102 Flächenfunktion + + + + + + + + Dachfläche + + + + + Grünfläche + + + + + Verkehrsfläche + + + + + sonstige Funktion + + + + + Funktion nicht bekannt + + + + + + + H103 Flächennutzung + + + + + + + + intensive landwirtschaftliche Nutzung + + + + + extensive landwirtschaftliche Nutzung + + + + + fließender motorisierter Verkehr + + + + + fließender nicht motorisierter Verkehr + + + + + ruhender Verkehr, PKW + + + + + ruhender Verkehr, LKW + + + + + technischer Bereich, PKW + + + + + technischer Bereich, LKW + + + + + keine Nutzung + + + + + sonstige Nutzung + + + + + + + H104 Materialzusatz + + + + + + + + metallisch + + + + + nichtmetallisch + + + + + + + H105 Verschmutzungsklasse + + + + + + + + F1, geringe Verschmutzung + + + + + F2, geringe Verschmutzung + + + + + F3, geringe Verschmutzung + + + + + F4, mittlere Verschmutzung + + + + + F5, mittlere Verschmutzung + + + + + F6, starke Verschmutzung + + + + + F7, starke Verschmutzung + + + + + + + H106 Neigungsklasse + + + + + + + + kleiner gleich 1% + + + + + größer 1% bis 4% + + + + + größer 4% bis 10% + + + + + größer 10% bis 14% + + + + + größer 14% + + + + + + + H200 HydraulikObjektTyp + + + + + + + + Haltung + + + + + Leitung + + + + + Gerinne + + + + + Pumpe + + + + + Wehr + + + + + Schieber + + + + + Schacht + + + + + Speicherbauwerk + + + + + Grund-/Seitenauslass + + + + + Freier Auslass + + + + + + + H201 Rauigkeitsansatz + + + + + + + + Prandtl-Colebrook + + + + + Manning-Strickler + + + + + + + H202 Verlustmethode + + + + + + + + Pauschalkonzept + + + + + Individualkonzept + + + + + + + H203 Pumpentyp + + + + + + + + OFF-LINE mit Pumpensumpf und Schaltstufen + + + + + ON-LINE mit Schaltstufen + + + + + ON-LINE mit Kennlinie + + + + + + + H204 HydWehrtyp + + + + + + + + Querwehr + + + + + Querwehr mit Rückstauklappe + + + + + Seitenwehr + + + + + Seitenwehr mit Rückstauklappe + + + + + Verfahrbares Querwehr + + + + + Verfahrbares Seitenwehr + + + + + + + H205 Randbedingung + + + + + + + + kein Wasserstand + + + + + konstanter Wasserstand + + + + + Tidennummer + + + + + + + H206 Schiebertyp + + + + + + + + Schieber am Ende + + + + + Schieber am Anfang + + + + + Schieber in der Mitte der Haltung + + + + + Schieber ohne druckdichten Deckel + + + + + Schieber (von unten) am Ende + + + + + Schieber (von unten) am Anfang + + + + + + + H207 GSAuslasstyp + + + + + + + + Seitenauslass + + + + + Grundauslass + + + + + + + H208 FreiAuslasstyp + + + + + + + + freier Auslass + + + + + Auslass mit Rückstauklappe + + + + + + + H209 Speicherbauwerktyp + + + + + + + + Regenrückhaltebecken (RRB) + + + + + Regenüberlaufbauwerk (RÜB) + + + + + Regenklärbecken (RKB) + + + + + Versickerungsanlage + + + + + Bodenfilter + + + + + + + H210 Art der Modellierung + + + + + + + + Modellierung als Knoten + + + + + Modellierung als Kante + + + + + + + H400 ArtBelastung + + + + + + + + Modellregen + + + + + Blockregen + + + + + Naturregen + + + + + Niederschlagskontinuum + + + + + Naturregen ohne Niederschlagsserie + + + + + + + H401 Modellregentyp + + + + + + + + EULER Typ 1 + + + + + EULER Typ 2 + + + + + EULER Typ 3 + + + + + DVWK + + + + + sonstige + + + + + + + H402 ArtKontinuum + + + + + + + + gemessenes Niederschlagskontinuum + + + + + synthetisches Niederschlagskontinuum + + + + + örtliche Niederschlagsstatistik + + + + + KOSTRA-Atlas DWD + + + + + + + H500 Berechnungsverfahren allgemein + + + + + + + + vereinfachte Kanalnetzberechnung + + + + + hydrodynamische Kanalnetzberechnung + + + + + + + H501 Berechnungsverfahren + + + + + + + + vereinfachte Kanalnetzberechnung (Einzelstrang) + + + + + vereinfachte Kanalnetzberechnung mit Zeitbeiwertverfahren + + + + + hydrodynamische Kanalnetzberechnung mit Einzelregen + + + + + hydrodynamische Kanalnetzberechnung mit Regenserie + + + + + hydrologische Speicherberechnung mit Kontinuumssimulation + + + + + hydrologische Speicherberechnung mit vereinfachtem Verfahren + + + + + sonstige Verfahren + + + + + + + H502 Regen-/Überstauhäufigkeit + + + + + + + + Mindestregen-/Überstauhäufigkeit + + + + + maßgebende Regen-/Überstauhäufigkeit + + + + + + + H503 Auslastungskennziffer + + + + + + + + Freispiegel + + + + + Einstau + + + + + Überstau + + + + + Überflutung + + + + + + + H504 Art der Berechnungsergebnisse + + + + + + + + Kenngrößen einer hydraul. Berechnung + + + + + Hydraul. Kenngrößen des Systems + + + + + + + H600 Verfahrensart + + + + + + + + Dimensionierung von Regenrückhalteräumen - Nachweisverfahren + + + + + Dimensionierung von Regenrückhalteräumen - Bemessungsverfahren + + + + + Bemessung von Kanalnetzen - Zeitbeiwertverfahren + + + + + Dimensionierung von Kanalnetzen - Überstaunachweis mit Einzelregen + + + + + Dimensionierung von Kanalnetzen - Überflutungsnachweis mit Einzelregen + + + + + Dimensionierung von Kanalnetzen - Überstaunachweis mit Seriensimulation + + + + + Dimensionierung von Kanalnetzen - Überflutungsnachweis mit Seriensimulation + + + + + + + H601 ArtZielgröße + + + + + + + + Mindestdurchmesser + + + + + Auslastungsgrad + + + + + Regenhäufigkeit + + + + + zulässige Überstauhäufigkeit + + + + + zulässige Überflutungshäufigkeit + + + + + zulässige Überstaumenge + + + + + + + H602 EinheitZielgröße + + + + + + + + mm + + + + + l/s + + + + + m3 + + + + + 1/a + + + + + % + + + + + diff --git a/SchnittstelleImporter/XML2006/SchemaDateien/0610-stammdaten.xsd b/SchnittstelleImporter/XML2006/SchemaDateien/0610-stammdaten.xsd new file mode 100644 index 0000000..a84dd11 --- /dev/null +++ b/SchnittstelleImporter/XML2006/SchemaDateien/0610-stammdaten.xsd @@ -0,0 +1,2065 @@ + + + + + + + + + ISYBAU-Austauschformat Datenbereich Stammdaten + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SchnittstelleImporter/XML2006/SchemaDateien/0610-zustandsdaten.xsd b/SchnittstelleImporter/XML2006/SchemaDateien/0610-zustandsdaten.xsd new file mode 100644 index 0000000..a0d0768 --- /dev/null +++ b/SchnittstelleImporter/XML2006/SchemaDateien/0610-zustandsdaten.xsd @@ -0,0 +1,1051 @@ + + + + + + + + ISYBAU-Austauschformat Datenbereich Zustandsdaten + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SchnittstelleImporter/XML2006/Functions.cs b/SchnittstelleImporter/XML2006/XMLParser.cs similarity index 95% rename from SchnittstelleImporter/XML2006/Functions.cs rename to SchnittstelleImporter/XML2006/XMLParser.cs index 020868e..d361628 100644 --- a/SchnittstelleImporter/XML2006/Functions.cs +++ b/SchnittstelleImporter/XML2006/XMLParser.cs @@ -8,9 +8,20 @@ using System.Xml; namespace SchnittstelleImporter.XML2006 { + /// + /// + /// public static class XMLParser { + /// + /// + /// public static Dictionary anlageInFile = new Dictionary(); + /// + /// Gibt eine Liste an anlagen zurück von einer XML Datei. + /// + /// + /// public static List GetList(string xmldatei) { List result = new List(); @@ -28,6 +39,7 @@ namespace SchnittstelleImporter.XML2006 foreach (XmlNode node in inspizierteDaten) { InspizierteAbwassertechnischeAnlage anlage = GetAnlage(node); + if (anlage == null) continue; result.Add(anlage); anlageInFile.Add(anlage, xmldatei); } @@ -112,7 +124,8 @@ namespace SchnittstelleImporter.XML2006 optischeInspektion.Inspektionstime = dt; if (intRohrleitung == null) - throw new NotImplementedException("Schaechte sind noch nicht implementiert"); + return null; + //throw new NotImplementedException("Schaechte sind noch nicht implementiert"); Rohrleitung rohr = new Rohrleitung(); foreach (XmlNode d in intRohrleitung) @@ -256,6 +269,8 @@ namespace SchnittstelleImporter.XML2006 case "Fotodatei": break; case "FotoSpeichermedium": break; case "Fotonummer": break; + case "Timecode": break; + case "GrundAbbruch": break; default: throw new NotImplementedException(d.Name); } diff --git a/SchnittstelleImporterTests/I2006XMLTests.cs b/SchnittstelleImporterTests/I2006XMLTests.cs new file mode 100644 index 0000000..1535592 --- /dev/null +++ b/SchnittstelleImporterTests/I2006XMLTests.cs @@ -0,0 +1,20 @@ +using Microsoft.VisualStudio.TestTools.UnitTesting; +using SchnittstelleImporter; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SchnittstelleImporter.Tests +{ + [TestClass()] + public class I2006XMLTests + { + [TestMethod()] + public void LoadRefListeTest() + { + I2006XML.LoadRefListe(); + } + } +} \ No newline at end of file diff --git a/SchnittstelleImporterTests/ImportTests.cs b/SchnittstelleImporterTests/ImportTests.cs new file mode 100644 index 0000000..d5fa2dc --- /dev/null +++ b/SchnittstelleImporterTests/ImportTests.cs @@ -0,0 +1,22 @@ +using Microsoft.VisualStudio.TestTools.UnitTesting; +using SchnittstelleImporter; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SchnittstelleImporter.Tests +{ + [TestClass()] + public class ImportTests + { + [TestMethod()] + public void GetInspektionsobjekteTest() + { + + + Assert.Fail(); + } + } +} \ No newline at end of file diff --git a/SchnittstelleImporterTests/Properties/AssemblyInfo.cs b/SchnittstelleImporterTests/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..a5a2c33 --- /dev/null +++ b/SchnittstelleImporterTests/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Allgemeine Informationen über eine Assembly werden über folgende +// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, +// die einer Assembly zugeordnet sind. +[assembly: AssemblyTitle("SchnittstelleImporterTests")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("SchnittstelleImporterTests")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Wenn ComVisible auf "false" festgelegt wird, sind die Typen innerhalb dieser Assembly +// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von +// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. +[assembly: ComVisible(false)] + +// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird +[assembly: Guid("9264791a-9d57-4133-be47-75721057dbbb")] + +// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: +// +// Hauptversion +// Nebenversion +// Buildnummer +// Revision +// +// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern +// übernehmen, indem Sie "*" eingeben: +// [Assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/SchnittstelleImporterTests/SchnittstelleImporterTests.csproj b/SchnittstelleImporterTests/SchnittstelleImporterTests.csproj new file mode 100644 index 0000000..7af14e3 --- /dev/null +++ b/SchnittstelleImporterTests/SchnittstelleImporterTests.csproj @@ -0,0 +1,112 @@ + + + + + Debug + AnyCPU + {9264791A-9D57-4133-BE47-75721057DBBB} + Library + Properties + SchnittstelleImporterTests + SchnittstelleImporterTests + v4.6.1 + 512 + {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages + False + UnitTest + + + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\MSTest.TestFramework.1.2.1\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + + + ..\packages\MSTest.TestFramework.1.2.1\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + + + + + + + + + + + + + + + + + + + + + + + {C82BD650-466B-403F-BED9-2B1660771F54} + KlassenBIB + + + {E1564A4D-39FD-489B-8029-AEEF33033EF2} + SchnittstelleImporter + + + + + + + False + + + False + + + False + + + False + + + + + + + + + Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}". + + + + + + + \ No newline at end of file diff --git a/SchnittstelleImporterTests/XML2006/XMLParserTests.cs b/SchnittstelleImporterTests/XML2006/XMLParserTests.cs new file mode 100644 index 0000000..aaf8e8b --- /dev/null +++ b/SchnittstelleImporterTests/XML2006/XMLParserTests.cs @@ -0,0 +1,22 @@ +using Microsoft.VisualStudio.TestTools.UnitTesting; +using SchnittstelleImporter.XML2006; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SchnittstelleImporter.XML2006.Tests +{ + [TestClass()] + public class XMLParserTests + { + [TestMethod()] + public void GetListTest() + { + string xmlfile = @"C:\Users\Damian\Desktop\XML\3_Zustandsdaten\ISYBAU_XML-2006-Zustandsdaten_DIN_EN_13508-2.xml"; + var x = XMLParser.GetList(xmlfile); + Assert.Fail(); + } + } +} \ No newline at end of file diff --git a/SchnittstelleImporterTests/packages.config b/SchnittstelleImporterTests/packages.config new file mode 100644 index 0000000..0908943 --- /dev/null +++ b/SchnittstelleImporterTests/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/TempCAN/TemperaturBuilder.cs b/TempCAN/TemperaturBuilder.cs index b3cfdc7..d0fb342 100644 --- a/TempCAN/TemperaturBuilder.cs +++ b/TempCAN/TemperaturBuilder.cs @@ -7,12 +7,24 @@ using SanShared; namespace TempCAN { + /// + /// Auflistung der Schnittstellen + /// public enum TemperaturSchnittstellen { + /// + /// Tinkerforge schnittstelle + /// TINKERFORGE } + /// + /// + /// public static class TemperaturBuilder { + /// + /// + /// public static ITemperature Temperatur(TemperaturSchnittstellen temperaturSchnittstellen) { switch(temperaturSchnittstellen) diff --git a/TempCAN/TinkerForgeTemperatur.cs b/TempCAN/TinkerForgeTemperatur.cs index d640008..786a82c 100644 --- a/TempCAN/TinkerForgeTemperatur.cs +++ b/TempCAN/TinkerForgeTemperatur.cs @@ -8,6 +8,9 @@ using Tinkerforge; namespace TempCAN { + /// + /// + /// public class TinkerForgeTemperatur : ITemperature { private static string HOST = "localhost"; @@ -16,6 +19,9 @@ namespace TempCAN double temperatur; bool erfolg = true; + /// + /// + /// public TinkerForgeTemperatur() { IPConnection ipcon = new IPConnection(); @@ -39,6 +45,9 @@ namespace TempCAN ipcon = null; } + /// + /// + /// public double GetTemperatur(out string message) { message = "";