Geschwindigkeit anpassung durchgeführt
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -238,8 +238,11 @@
|
||||
<None Include="documents\JUME\KalibrierungAuflistung.docx">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="documents\JUME\liner_einbau.docx">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<None Include="documents\JUME\liner_einbauBlueLight.docx">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="documents\JUME\liner_einbauUV_Relining.docx">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="documents\JUME\Massenstatistik.docx">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
|
||||
@@ -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<BilderObject>());
|
||||
BerichtGen.FrmOptions options = new BerichtGen.FrmOptions("JUME", "liner_einbauBlueLight.docx", speicherpfad,inliner.Inspektionsobjekt.Objektbezeichnung, hashtable, new List<BilderObject>());
|
||||
options.ShowDialog();
|
||||
}
|
||||
|
||||
|
||||
BIN
SanSystem/documents/JUME/liner_einbauBlueLight.docx
Normal file
BIN
SanSystem/documents/JUME/liner_einbauBlueLight.docx
Normal file
Binary file not shown.
Reference in New Issue
Block a user