BatchResults.WaterMeters eliminated, Batch.WaterMeters are used instead ... many changes
This commit is contained in:
@@ -469,11 +469,11 @@ namespace TBF.BenchControl.TestMethods.Adjustment
|
||||
{
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
{
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
if (BatchRslts.Batch.WaterMeters[i] != null && !BatchRslts.Batch.WaterMeters[i].Disabled)
|
||||
{
|
||||
long wmInfoFlags;
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts, out wmInfoFlags);
|
||||
BatchRslts.WaterMeters[i].InfoFlags = wmInfoFlags;
|
||||
BatchRslts.Batch.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.Batch.WaterMeters[i].MeterTestRslts, out wmInfoFlags);
|
||||
BatchRslts.Batch.WaterMeters[i].InfoFlags = wmInfoFlags;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user