Bug fix: Error flags related bug fixed, ver. 2.17.689
This commit is contained in:
parent
e6933922cd
commit
9ad0872854
@ -384,11 +384,14 @@ namespace TBF.BenchControl.TestMethods.Adjustment
|
||||
outPath.Diverter != null ? outPath.Diverter.Name : string.Empty));
|
||||
|
||||
/// Update water meter error flags
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
if (ErrorFlagsComp != null)
|
||||
{
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -712,11 +712,14 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
||||
outPath.Diverter != null ? outPath.Diverter.Name : string.Empty));
|
||||
|
||||
/// Update water meter error flags
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
if (ErrorFlagsComp != null)
|
||||
{
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -440,11 +440,14 @@ namespace TBF.BenchControl.TestMethods.Endurance
|
||||
outPath.Diverter != null ? outPath.Diverter.Name : string.Empty));
|
||||
|
||||
/// Update water meter error flags
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
if (ErrorFlagsComp != null)
|
||||
{
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -575,11 +575,14 @@ namespace TBF.BenchControl.TestMethods.FixedStartAdvanced
|
||||
outPath.Diverter != null ? outPath.Diverter.Name : string.Empty));
|
||||
|
||||
/// Update water meter error flags
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
if (ErrorFlagsComp != null)
|
||||
{
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1057,11 +1057,14 @@ namespace TBF.BenchControl.TestMethods.FixedStartMassCollection
|
||||
outPath.Diverter != null ? outPath.Diverter.Name : string.Empty));
|
||||
|
||||
/// Update water meter error flags
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
if (ErrorFlagsComp != null)
|
||||
{
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -638,11 +638,14 @@ namespace TBF.BenchControl.TestMethods.FlyingStart
|
||||
outPath.Diverter != null ? outPath.Diverter.Name : string.Empty));
|
||||
|
||||
/// Update water meter error flags
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
if (ErrorFlagsComp != null)
|
||||
{
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1020,11 +1020,14 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
|
||||
outPath.Diverter != null ? outPath.Diverter.Name : string.Empty));
|
||||
|
||||
/// Update water meter error flags
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
if (ErrorFlagsComp != null)
|
||||
{
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -365,11 +365,14 @@ namespace TBF.BenchControl.TestMethods.ReferenceFlowmeterCalibration
|
||||
outPath.Diverter != null ? outPath.Diverter.Name : string.Empty));
|
||||
|
||||
/// Update water meter error flags
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
if (ErrorFlagsComp != null)
|
||||
{
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
if (BatchRslts.WaterMeters[i] != null)
|
||||
{
|
||||
BatchRslts.WaterMeters[i].ErrorFlags = ErrorFlagsComp.GetWMtrErrorFlags(BatchRslts.WaterMeters[i].MeterTestRslts);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("2.17.687.1")]
|
||||
[assembly: AssemblyFileVersion("2.17.687.1")]
|
||||
[assembly: AssemblyVersion("2.17.689.1")]
|
||||
[assembly: AssemblyFileVersion("2.17.689.1")]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user