28 lines
710 B
C#
28 lines
710 B
C#
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<Event> Execute(Entities.Test test)
|
|
{
|
|
return (new RoiDetectionSeq()).Execute(test);
|
|
}
|
|
}
|
|
}
|