using TBF.BenchControl.Generic; namespace TBF.BenchControl.TestMethods.CameraRoiDetection { public class RoiDetectionFactory : IComponentFactory { public string ClassName { get { return "ROI Detection"; } } public void ResetStaticProperties() { RoiDetection.ResetStaticProperties(); } public IComponentCfg DefaultConfig() { return new RoiDetectionCfg(this); } public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component) { return ComponentCfgBase.CreateFromDbEntity(typeof(RoiDetectionCfg), component, this); } } }