iPerl : Pruefindex is compared with the max. allowed value only in case WM is Failed (either Pink or Magenta back color), ver. 2.18.1254

This commit is contained in:
Milan Hanajik
2019-06-25 18:24:09 +02:00
parent 4642abac2d
commit 096b649e40
7 changed files with 13 additions and 32 deletions
@@ -1,14 +1,11 @@
///
/// Copyright (c) 2015-2018 Sensus Slovensko a.s.
/// Copyright (c) 2015-2019 Sensus Slovensko a.s.
///
using System;
using System.Collections.Generic;
using System.Text;
using log4net;
using Config.Entities;
using TBF.BenchControl;
using TBF.BenchControl.Sequences;
using TBF.Boxes;
using TBF.Resources;
using TBF.UiBridge;
@@ -131,17 +128,6 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
bool anyErrorOfThisMeter = false;
foreach (var arg in args)
{
#if ORACLE_DB
if (arg.ToLower() == "pruefindex")
{
if ((wm.Pruefindex % 100) > maxTestIndex)
{
anyErrorOfThisMeter = true;
message += string.Format("iPerl{0} : Príliš veľa opakovaní testu vodomera{1}", wm.WMPosition, Environment.NewLine);
errorIndicators |= (int)ErrorFlagMask.E25; /// Max pruefindex exceeded
}
}
#endif
#if TURA_SPECIAL
if (arg.ToLower() == "q2factors")
{