XML dateien hinzugefügt
This commit is contained in:
46666
2022-02-15_KR_H_L_Oldenburg_Am-Stadtrand.xml
Normal file
46666
2022-02-15_KR_H_L_Oldenburg_Am-Stadtrand.xml
Normal file
File diff suppressed because it is too large
Load Diff
30224
2022-05-04_KS_H_L_Oldenburg_Am-Alexanderhaus.xml
Normal file
30224
2022-05-04_KS_H_L_Oldenburg_Am-Alexanderhaus.xml
Normal file
File diff suppressed because it is too large
Load Diff
9562
2022-05-05_KS_H_L_Oldenburg_Schmälkamp.xml
Normal file
9562
2022-05-05_KS_H_L_Oldenburg_Schmälkamp.xml
Normal file
File diff suppressed because it is too large
Load Diff
6259
2022-05-06_KS_H_L_Oldenburg_Fahrenkamp.xml
Normal file
6259
2022-05-06_KS_H_L_Oldenburg_Fahrenkamp.xml
Normal file
File diff suppressed because it is too large
Load Diff
7599
KS_Oldenburg_Hagelmannsweg.xml
Normal file
7599
KS_Oldenburg_Hagelmannsweg.xml
Normal file
File diff suppressed because it is too large
Load Diff
@@ -111,9 +111,9 @@ namespace XMLParser
|
||||
{
|
||||
case "Strassenname": strassename = _temp.InnerText; break;
|
||||
case "Ortsteilname": ortname = _temp.InnerText; break;
|
||||
case "LageOberflaeche": break;
|
||||
//case "LageOberflaeche": break;
|
||||
case "Strassenschluessel": break;
|
||||
case "Ortsteilschluessel": break;
|
||||
//case "Ortsteilschluessel": break;
|
||||
default: throw new NotImplementedException(_temp.Name);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
@@ -28,14 +29,18 @@ namespace XMLProgramm
|
||||
headertitles.Add(ECalculatedResult.SONSTIGEANZAHL,"Anschlussleitung [Stk]");
|
||||
headertitles.Add(ECalculatedResult.SONSTIGELAENGEZULAGEMETER,"Zulage Länge Anschlussleitung über 7m [m]");
|
||||
|
||||
#if DEBUG
|
||||
|
||||
IProtokollWriter protokollWriter = new XMLParser.Functions.ProtokollWriter.HTMLProtkollWriter(headertitles);
|
||||
XMLParse sers = new XMLParse("2021-11-12_KS_H_L_Oldenburg_Westersteder-Straße.xml");
|
||||
var d = sers.KanalObjekte.FindAll(x => x.Inspektionsdaten.OptischeInspektion.Wasserhaltung != EWasserhaltung.NONE);
|
||||
IUmsatzCalculator calculators = new XMLParser.Functions.UmsatzCalculator.StrassenUmsatz();
|
||||
calculators.Calculate(protokollWriter, sers.KanalObjekte);
|
||||
#else
|
||||
if (Debugger.IsAttached)
|
||||
{
|
||||
|
||||
IProtokollWriter protokollWriter = new XMLParser.Functions.ProtokollWriter.HTMLProtkollWriter(headertitles);
|
||||
XMLParse sers = new XMLParse("2022-02-15_KR_H_L_Oldenburg_Am-Stadtrand.xml");
|
||||
var d = sers.KanalObjekte.FindAll(x => x.Inspektionsdaten.OptischeInspektion.Wasserhaltung != EWasserhaltung.NONE);
|
||||
IUmsatzCalculator calculators = new XMLParser.Functions.UmsatzCalculator.StrassenUmsatz();
|
||||
calculators.Calculate(protokollWriter, sers.KanalObjekte);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if(args.Length > 0)
|
||||
{
|
||||
@@ -51,7 +56,6 @@ namespace XMLProgramm
|
||||
}
|
||||
watch.Stop();
|
||||
Console.WriteLine("Total elapsed = "+watch.ElapsedMilliseconds + "ms");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user