using System; using System.Collections.Generic; using TBF.BenchControl; namespace TBF.BenchControl.TestMethods.CameraRoiDetection { public class RoiDetection : Generic.IComponent, GenericDevices.ITestMethod, ISequence { readonly RoiDetectionCfg roiDetectionCfg; public Generic.IComponentCfg Cfg { get { return roiDetectionCfg; } } public static void ResetStaticProperties() { } public string Name { get { return roiDetectionCfg.Name; } } public RoiDetection(RoiDetectionCfg cfg) { if (cfg == null) throw new ArgumentNullException("cfg"); this.roiDetectionCfg = cfg; } public IList Execute(Entities.Test test) { return (new RoiDetectionSeq()).Execute(test); } } }