/// /// Copyright (c) 2013-2015 Sensus Metering Systems /// 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 IComponent DummyComponent() { return new RoiDetection(); } public IComponentCfg DefaultConfig() { return new RoiDetectionCfg(this); } public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) { return ComponentCfgBase.CreateFromDbEntity(typeof(RoiDetectionCfg), component, this); } } }