Bug fix : Results.BatchResults.NewFromProcedure( ) uses GetTestInstances( ), ver. 3.1.1610
This commit is contained in:
@@ -100,20 +100,17 @@ namespace Results
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (var ti in procedure.GetTestInstances())
|
||||||
foreach (var t in procedure.Tests)
|
|
||||||
{
|
{
|
||||||
TestData td = TestData.UpdateList(d.TestDataList, new TestData(t));
|
TestData td = TestData.UpdateList(d.TestDataList, new TestData(ti.Test));
|
||||||
|
|
||||||
for (int rnr = 1; rnr <= t.Repeats; rnr++)
|
|
||||||
{
|
|
||||||
/// Create an empty test result and add it to the list
|
/// Create an empty test result and add it to the list
|
||||||
TestRslt tr = new TestRslt(d.Batch, td, t.Part, rnr);
|
TestRslt tr = new TestRslt(d.Batch, td, ti.Test.Part, ti.Repetition);
|
||||||
d.Batch.TestRslts.Add(tr);
|
d.Batch.TestRslts.Add(tr);
|
||||||
|
|
||||||
for (int i = 0; i < d.WMPositionsCount; i++)
|
for (int i = 0; i < d.WMPositionsCount; i++)
|
||||||
{
|
{
|
||||||
if (!d.Batch.WaterMeters[i].Disabled && t.IsPartCompatible(waterMeterParts[i]))
|
if (!d.Batch.WaterMeters[i].Disabled && ti.Test.IsPartCompatible(waterMeterParts[i]))
|
||||||
{
|
{
|
||||||
///
|
///
|
||||||
/// Create empty watermeter test results and add them to the list and to dictionaries
|
/// Create empty watermeter test results and add them to the list and to dictionaries
|
||||||
@@ -140,7 +137,6 @@ namespace Results
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return d;
|
return d;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
|||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
[assembly: AssemblyVersion("3.1.1606.0")]
|
[assembly: AssemblyVersion("3.1.1610.0")]
|
||||||
[assembly: AssemblyFileVersion("3.1.1606.0")]
|
[assembly: AssemblyFileVersion("3.1.1610.0")]
|
||||||
|
|||||||
Reference in New Issue
Block a user