IperlLogger bug fix, ver. 2.18.1172

This commit is contained in:
Milan Hanajik 2019-03-20 08:45:56 +01:00
parent 9fecf05b3f
commit 8624f30f71
2 changed files with 4 additions and 4 deletions

View File

@ -245,7 +245,7 @@ namespace TBF.BenchControl.Output.FileWriters.IperlLogger
Results.Entities.MeterTestRslt wm0r = wm0trs[j];
bool pb_100_110 = (testInfos[j].Range == Range.R100_110);
if (wm0r != null)
if ((wm0r != null) && !string.IsNullOrEmpty(fId))
{
logger.WriteLine(string.Format("Durchfluss{0}={1}", fId, Units.ConvertTo(Unit.lph, (wm0r.Qfrom() + wm0r.Qto()) / 2).ToString("F1", Program.AltCulture)));
logger.WriteLine(string.Format("Prüfzeit{0}={1}", fId, wm0r.TargetTime().ToString("F0")));
@ -308,7 +308,7 @@ namespace TBF.BenchControl.Output.FileWriters.IperlLogger
{
wmtrs[j] = wMtr.GetMeterTestRslt(testInfos[j].TestName);
if (wmtrs[j] == null && !string.IsNullOrEmpty(testInfos[j].TestName))
if (wmtrs[j] == null && !string.IsNullOrEmpty(testInfos[j].PruefungsNrStr) && !string.IsNullOrEmpty(testInfos[j].TestName))
{
testRsltIsMissing = true; /// Missing test result for one of specified tests
}

View File

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.18.1171.0")]
[assembly: AssemblyFileVersion("2.18.1171.0")]
[assembly: AssemblyVersion("2.18.1172.0")]
[assembly: AssemblyFileVersion("2.18.1172.0")]