Evaluate and Publish properties of test methods changed to stateless functions Evaluate(test) and Publish(test), this fixes results, version 1.5.107
This commit is contained in:
@@ -249,9 +249,9 @@ namespace TBF.Screens
|
||||
/// Get decorated test names for the specified watermeter
|
||||
/// The parameter meterNr is used in the same way as the parameter meterNr of Utils.GetSortedTestResults
|
||||
/// </summary>
|
||||
/// <param name="meterNr">Water meter nr (1-based): 1 .. Program.WMsCount</param>
|
||||
/// <param name="meterPartNr">Water meter nr (1-based): 1 .. Program.WMsCount</param>
|
||||
/// <returns>A list of strings</returns>
|
||||
IList<string> GetAllDecoratedTestNames(int meterNr)
|
||||
IList<string> GetAllDecoratedTestNames(int meterPartNr)
|
||||
{
|
||||
IList<string> rslt = new List<string>();
|
||||
|
||||
@@ -260,7 +260,7 @@ namespace TBF.Screens
|
||||
BenchControl.GenericDevices.ITestMethod method =
|
||||
BenchControl.TbfComponents.FindComponent(test.Method) as BenchControl.GenericDevices.ITestMethod;
|
||||
|
||||
if ((method != null) && method.Publish && ((test.Part == 0) || (meterNr == 0) || (test.Part == meterNr)))
|
||||
if ((method != null) && method.Publish(test) && ((test.Part == 0) || (meterPartNr == 0) || (test.Part == meterPartNr)))
|
||||
{
|
||||
if (test.Repeats == 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user