diff --git a/BerichtGen/Bericht.cs b/BerichtGen/Bericht.cs
index 09709b7..2be8e89 100644
--- a/BerichtGen/Bericht.cs
+++ b/BerichtGen/Bericht.cs
@@ -151,7 +151,7 @@ namespace BerichtGen
private void MailMerge_MergeImageField(object sender, MergeImageFieldEventArgs args)
{
- if(args.FieldName == "UVImageTemp" || args.FieldName == "UVImageDruck")
+ if(args.FieldName == "UVImageTemp" || args.FieldName == "UVImageDruck" || args.FieldName == "UVImageSpeed")
{
string source = args.FieldValue.ToString();
if (!File.Exists(source)) return;
diff --git a/CSVParser/BlueLight.cs b/CSVParser/BlueLight.cs
index 9a56b01..f4f9ad4 100644
--- a/CSVParser/BlueLight.cs
+++ b/CSVParser/BlueLight.cs
@@ -22,7 +22,8 @@ namespace CSVParser
double druck;
int geschwindigkeit;
-
+
+ bool gestarted = false;
foreach (string partial in Input)
{
UVcsvStrukture strukture = new UVcsvStrukture();
@@ -42,13 +43,18 @@ namespace CSVParser
double.TryParse(parts[5].Replace("\"","").Replace('.', ','), out druck);
if (geschwindigkeit > 100) geschwindigkeit = 0;
+ if (geschwindigkeit > 50) geschwindigkeit = 1;
strukture.Zeitstempel = zeit;
strukture.Druck = druck;
strukture.Geschwindigkeit = geschwindigkeit;
strukture.Temperatur = temperatur;
- result.Add(strukture);
+ if (!geschwindigkeit.Equals(0) && gestarted.Equals(false))
+ gestarted = true;
+
+ if(gestarted == true)
+ result.Add(strukture);
}
return result;
diff --git a/KlassenBIB/InlinerSanierung.cs b/KlassenBIB/InlinerSanierung.cs
index 6af396a..f592b73 100644
--- a/KlassenBIB/InlinerSanierung.cs
+++ b/KlassenBIB/InlinerSanierung.cs
@@ -25,7 +25,7 @@ namespace KlassenBIB
string harzTyp;
string linerTyp;
double harzbedarf = 1.8;
- uint rueckholgeschwindigkeit = 24;
+ uint rueckholgeschwindigkeit;
bool geschlosseneEnde = false;
bool preliner = false;
DateTime anfangAushaertung;
@@ -105,6 +105,7 @@ namespace KlassenBIB
{"time_ende","" },
{"UVImageTemp","" },
{"UVImageDruck","" },
+ {"UVImageSpeed","" },
{"liner_type","" },
{"rueckhol_speed","" },
{"harz_type","" }
@@ -150,6 +151,7 @@ namespace KlassenBIB
grunddaten["time_ende"] = this.EndeAushaertung;
grunddaten["UVImageTemp"] = Path.Combine(destinationPath, "linerGraph_temp.jpg");
grunddaten["UVImageDruck"] = Path.Combine(destinationPath, "linerGraph_druck.jpg");
+ grunddaten["UVImageSpeed"] = Path.Combine(destinationPath, "linerGraph_speed.jpg");
grunddaten["rueckhol_speed"] = rueckholgeschwindigkeit;
grunddaten["liner_type"] = LinerTyp;
grunddaten["harz_type"] = HarzTyp;
diff --git a/SanSystem/SanSystem.csproj b/SanSystem/SanSystem.csproj
index 81fe0b2..1131392 100644
--- a/SanSystem/SanSystem.csproj
+++ b/SanSystem/SanSystem.csproj
@@ -238,8 +238,11 @@
PreserveNewest
-
- PreserveNewest
+
+ Always
+
+
+ Always
PreserveNewest
diff --git a/SanSystem/UCInliner.cs b/SanSystem/UCInliner.cs
index 3215881..57b71a9 100644
--- a/SanSystem/UCInliner.cs
+++ b/SanSystem/UCInliner.cs
@@ -234,6 +234,7 @@ namespace SanSystem
inliner.AnfangAushaertung = struktures.Select(x => x.Zeitstempel).Min();
inliner.EndeAushaertung = struktures.Select(x => x.Zeitstempel).Max();
+ inliner.Rueckholgeschwindigkeit = 0;
}
catch(FileNotFoundException ex)
{
@@ -253,7 +254,7 @@ namespace SanSystem
Hashtable hashtable = inliner.MakeProtokoll(destinationPath,Database.Datenbank.Instance.loadedProjekt);
DirectoryInfo directory = Directory.GetParent(destinationPath);
string speicherpfad = directory.FullName;
- BerichtGen.FrmOptions options = new BerichtGen.FrmOptions("JUME", "liner_einbau.docx", speicherpfad,inliner.Inspektionsobjekt.Objektbezeichnung, hashtable, new List());
+ BerichtGen.FrmOptions options = new BerichtGen.FrmOptions("JUME", "liner_einbauBlueLight.docx", speicherpfad,inliner.Inspektionsobjekt.Objektbezeichnung, hashtable, new List());
options.ShowDialog();
}
diff --git a/SanSystem/documents/JUME/liner_einbauBlueLight.docx b/SanSystem/documents/JUME/liner_einbauBlueLight.docx
new file mode 100644
index 0000000..b7e8548
Binary files /dev/null and b/SanSystem/documents/JUME/liner_einbauBlueLight.docx differ
diff --git a/SanSystem/documents/JUME/liner_einbau.docx b/SanSystem/documents/JUME/liner_einbauUV_Relining.docx
similarity index 100%
rename from SanSystem/documents/JUME/liner_einbau.docx
rename to SanSystem/documents/JUME/liner_einbauUV_Relining.docx