TBF : iPerl : Two bug fixes : (1) checking previous records, (2) evaluating MaxProefindex
This commit is contained in:
@@ -134,7 +134,7 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
#if ORACLE_DB
|
||||
if (arg.ToLower() == "pruefindex")
|
||||
{
|
||||
if (wm.Pruefindex > maxTestIndex)
|
||||
if ((wm.Pruefindex % 100) > maxTestIndex)
|
||||
{
|
||||
anyErrorOfThisMeter = true;
|
||||
message += string.Format("iPerl{0} : Príliš veľa opakovaní testu vodomera{1}", wm.WMPosition, Environment.NewLine);
|
||||
@@ -165,7 +165,7 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
|
||||
if (arg.ToLower() == "prevworkstep")
|
||||
{
|
||||
if (!wm.IsLastRecordOk)
|
||||
if (wm.LastRecordIsNok)
|
||||
{
|
||||
wm.ErrorFlags |= (int)Config.Entities.ErrorFlagMask.E28; /// Set E28
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user