19 lines
552 B
C#
19 lines
552 B
C#
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.Cameras.CameraRoi
|
|
{
|
|
public class CameraRoiFactory : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "CameraROI"; } }
|
|
|
|
public void ResetStaticProperties() { CameraRoi.ResetStaticProperties(); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new CameraRoiCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(CameraRoiCfg), component, this);
|
|
}
|
|
}
|
|
}
|