tbf/TestBenchFramework/BenchControl/TestMethods/CameraRoiDetection/RoiDetectionFactory.cs
2015-04-15 20:32:56 +02:00

22 lines
641 B
C#

///
/// 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 IComponentCfg DefaultConfig() { return new RoiDetectionCfg(this); }
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
{
return ComponentCfgBase.CreateFromDbEntity(typeof(RoiDetectionCfg), component, this);
}
}
}