Berichte werden jetzt generiert, jedoch liegt es noch im bin datei dann
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using SanShared;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
@@ -8,7 +10,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace KlassenBIB
|
||||
{
|
||||
public sealed class InlinerSanierung : Sanieren
|
||||
public sealed class InlinerSanierung : Sanieren, IMakeProtokol
|
||||
{
|
||||
double kalibrierUnterdruck = -0.5;
|
||||
double kalibierWalzenAbstand = 0.9;
|
||||
@@ -41,6 +43,94 @@ namespace KlassenBIB
|
||||
return mypath;
|
||||
}
|
||||
|
||||
public Hashtable MakeProtokoll(string destinationPath)
|
||||
{
|
||||
Hashtable grunddaten = new Hashtable()
|
||||
{
|
||||
{"AG_Vorname","" },
|
||||
{"KLP_Nummer","" },
|
||||
{"KLP_Datum","" },
|
||||
{"AG_Ort","" },
|
||||
{"AG_Strasse","" },
|
||||
{"AG_Ansprechpartner","" },
|
||||
{"BM_Ort","" },
|
||||
{"BM_Strasse","" },
|
||||
{"BM_Schacht_von","" },
|
||||
{"BM_Schacht_bis","" },
|
||||
{"BM_Haltungsmat","" },
|
||||
{"BM_Haltung_DN","" },
|
||||
{"BM_Haltunglaenge","" },
|
||||
{ "KL_Wetter","" },
|
||||
{ "Temp_Aussen","" },
|
||||
{ "KL_Temp_Kanal","" },
|
||||
{ "KL_Gen_true","" },
|
||||
{ "KL_Gen_false","" },
|
||||
{ "KL_WH_true","" },
|
||||
{ "KL_WH_false", "" },
|
||||
{ "KL_STVO_true","" },
|
||||
{ "KL_STVO_false","" },
|
||||
{ "KL_HD_true","" },
|
||||
{ "KL_mech_true","" },
|
||||
{ "KL_rob_true","" },
|
||||
{ "KL_HD_date","" },
|
||||
{ "KL_Besatzung", "" },
|
||||
{"liner_laenge","" },
|
||||
{"Charge_Liner","" },
|
||||
{"Charge_Harz","" },
|
||||
{"harz_bedarf_m","" },
|
||||
{"gesamt_harz","" },
|
||||
{"temperatur_harz","" },
|
||||
{"datum_kalibrierung","" },
|
||||
{"walzen_abstand","" },
|
||||
{"vakuum","" },
|
||||
{"time_start","" },
|
||||
{"time_ende","" },
|
||||
{"UVImage","" }
|
||||
};
|
||||
|
||||
grunddaten["AG_Vorname"] = "";
|
||||
grunddaten["KLP_Nummer"] = "";
|
||||
grunddaten["KLP_Datum"] = DateTime.Now.ToShortDateString();
|
||||
grunddaten["AG_Ort"] = "";
|
||||
grunddaten["AG_Strasse"] = "";
|
||||
grunddaten["AG_Ansprechpartner"] = "";
|
||||
grunddaten["BM_Ort"] = Inspektionsobjekt.OrtName;
|
||||
grunddaten["BM_Strasse"] = Inspektionsobjekt.StrasseName;
|
||||
grunddaten["BM_Schacht_von"] = Inspektionsobjekt.VonPunkt;
|
||||
grunddaten["BM_Schacht_bis"] = Inspektionsobjekt.BisPunkt ;
|
||||
grunddaten["BM_Haltungsmat"] = Inspektionsobjekt.RohrMaterial;
|
||||
grunddaten["BM_Haltung_DN"] = Inspektionsobjekt.Kanalrohrweite;
|
||||
grunddaten["BM_Haltunglaenge"] = Inspektionsobjekt.Haltungslaenge;
|
||||
grunddaten["KL_Wetter"] = this.Wetter;
|
||||
grunddaten["Temp_Aussen"] = this.TempAusen;
|
||||
grunddaten["KL_Temp_Kanal"] = this.TempKanal;
|
||||
grunddaten["KL_Gen_true"] = this.GenehmigungVorhanden ? "X" : "" ;
|
||||
grunddaten["KL_Gen_false"] = this.GenehmigungVorhanden ? "": "X";
|
||||
grunddaten["KL_WH_true"] = this.WasserhaltungEingerichtet ? "X" : "";
|
||||
grunddaten["KL_WH_false"] = this.WasserhaltungEingerichtet ? " ":"X" ;
|
||||
grunddaten["KL_STVO_true"] = this.STVOAbsicherung ? "X" : "";
|
||||
grunddaten["KL_STVO_false"] = this.STVOAbsicherung ? "":"X";
|
||||
grunddaten["KL_HD_true"] = "";
|
||||
grunddaten["KL_mech_true"] = "";
|
||||
grunddaten["KL_rob_true"] = "";
|
||||
grunddaten["KL_HD_date"] = "";
|
||||
grunddaten["KL_Besatzung"] = "";
|
||||
grunddaten["liner_laenge"] = "";
|
||||
grunddaten["Charge_Liner"] = this.LinerChargenummer;
|
||||
grunddaten["Charge_Harz"] = this.HarzChargenummer;
|
||||
grunddaten["harz_bedarf_m"] = "";
|
||||
grunddaten["gesamt_harz"] = "";
|
||||
grunddaten["temperatur_harz"] = this.HarzKalibrierTemperatur;
|
||||
grunddaten["datum_kalibrierung"] = this.DatumKalibrierung.ToShortDateString();
|
||||
grunddaten["walzen_abstand"] = this.KalibierWalzenAbstand;
|
||||
grunddaten["vakuum"] = this.KalibrierUnterdruck;
|
||||
grunddaten["time_start"] = "";
|
||||
grunddaten["time_ende"] = "";
|
||||
grunddaten["UVImage"] = Path.Combine(destinationPath, "linerGraph.jpg");
|
||||
|
||||
return grunddaten;
|
||||
}
|
||||
|
||||
public InlinerSanierung()
|
||||
{
|
||||
//datumKalibrierung = new DateTime();
|
||||
|
||||
@@ -55,5 +55,11 @@
|
||||
<Compile Include="SavedBilder.cs" />
|
||||
<Compile Include="SchachtAnbindung.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\SanShared\SanShared.csproj">
|
||||
<Project>{C949087E-20E1-4A17-B021-FAEAD363C1D8}</Project>
|
||||
<Name>SanShared</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
Reference in New Issue
Block a user