Disabled watermeters will not appear in results (screen, ResultsPrinters.Basic and ResultsWriters.Basic).
Updating Disabled (default = false) is provided by DataEntry.Standard when entering serial numbers.
This commit is contained in:
+6
-6
@@ -414,16 +414,16 @@ namespace TBF.BenchControl.TestMethods.FlyingStartCollectionMethod
|
||||
tstRslt.Meters[i].VolumeErrorPct = -100;
|
||||
}
|
||||
tstRslt.Meters[i].Passed = (tstRslt.ErrLimLo <= tstRslt.Meters[i].VolumeErrorPct) && (tstRslt.Meters[i].VolumeErrorPct <= tstRslt.ErrLimHi);
|
||||
|
||||
tstRslt.Meters[i].Disabled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
tstRslt.Meters[i].Disabled = true;
|
||||
}
|
||||
}
|
||||
/// Add data - end
|
||||
|
||||
/// Remove diasabled watermeters
|
||||
//for (int i = Program.WMsCount - 1; i >= 0; i--)
|
||||
//{
|
||||
// if (WaterMeters[i].Disabled) tstRslt.Meters.RemoveAt(i);
|
||||
//}
|
||||
|
||||
AddOrOverwriteResult(tstRslt);
|
||||
|
||||
Bridge.OnTestCompleted(this, new TestCompletedEventArgs(tstRslt));
|
||||
|
||||
Reference in New Issue
Block a user