25 lines
795 B
C#
25 lines
795 B
C#
///
|
|
/// Copyright (c) 2018 Sensus Slovensko a.s.
|
|
///
|
|
using System.Collections.Generic;
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.DataContainers.BenchInfo.iPerl
|
|
{
|
|
public class ComponentFactory : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "BenchInfo.iPerl"; } }
|
|
|
|
public IComponent DummyComponent() { return new Component(); }
|
|
|
|
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Component(cfg); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new ComponentCfg("BenchInfo.iPerl", this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(ComponentCfg.Serializer, component, this);
|
|
}
|
|
}
|
|
}
|