Results printing and saving uses Publish property of GenericDevices.ITestMethod

This commit is contained in:
Milan Hanajik
2015-02-01 16:20:27 +01:00
parent 0238a96975
commit 806f4efe6a
16 changed files with 78 additions and 51 deletions
@@ -194,9 +194,13 @@ namespace TBF.Screens
IList<string> GetAllDecoratedTestNames(int meterNr)
{
IList<string> rslt = new List<string>();
foreach (var test in procedure.Tests)
{
if ((test.Part == 0) || (test.Part == meterNr + 1))
BenchControl.GenericDevices.ITestMethod method =
BenchControl.TbfComponents.FindComponent(test.Method) as BenchControl.GenericDevices.ITestMethod;
if ((method != null) && method.Publish && ((test.Part == 0) || (test.Part == meterNr + 1)))
{
if (test.Repeats == 1)
{