ResultsTabPageCtrl : iPerl is rejected also when proefindex==limit and it failed the test, ver. 2.18.1163
This commit is contained in:
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("2.18.1162.0")]
|
||||
[assembly: AssemblyFileVersion("2.18.1162.0")]
|
||||
[assembly: AssemblyVersion("2.18.1163.0")]
|
||||
[assembly: AssemblyFileVersion("2.18.1163.0")]
|
||||
|
||||
@@ -374,9 +374,21 @@ namespace TBF.Screens
|
||||
else if (wmtrCompleted)
|
||||
{
|
||||
/// Water meter was completed but did not pass => Failed
|
||||
#if ORACLE_DB
|
||||
if ((TBF.BenchControl.Sequences.ProcessData.BenchInfo is TBF.BenchControl.BenchInfo.iPerl.Component) &&
|
||||
wMtr.Pruefindex >= (TBF.BenchControl.Sequences.ProcessData.BenchInfo as TBF.BenchControl.BenchInfo.iPerl.Component).MaxTestIndex)
|
||||
{
|
||||
/// Proefindex reached the limit => Proefindex would be above this limit next time => Reject
|
||||
message = Strings.Test_repetition_count_exceeded_upper_limit;
|
||||
return RejectColor;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
message = Strings.Failed;
|
||||
return NokColor;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/// Water meter was not completed yet => did not pass, did not fail
|
||||
|
||||
Reference in New Issue
Block a user