Exemplo n.º 1
0
        public void RunTestGroup(TestGroup group)
        {
            int nActive = 0;

            foreach (ITestItem item in group.Items)
            {
//                 if (item.AV)
//                 {
//                     ++nActive;
//                 }
            }

            if (nActive <= 0)
            {
                return;
            }

            switch (group.Device)
            {
            case DeviceType.AV:
                this.av.SetupGroup(group);
                break;

            case DeviceType.OSC:
                this.osc.SetupGroup(group);
                break;
            }

            group.RunTest(this);
        }
Exemplo n.º 2
0
        public void RunTestGroup(TestGroup group)
        {
            int nActive = 0;
            foreach (ITestItem item in group.Items)
            {
            //                 if (item.AV)
            //                 {
            //                     ++nActive;
            //                 }
            }

            if (nActive <= 0)
            {
                return;
            }

            switch (group.Device)
            {
                case DeviceType.AV:
                    this.av.SetupGroup(group);
                    break;
                case DeviceType.OSC:
                    this.osc.SetupGroup(group);
                    break;
            }

            group.RunTest(this);
        }