24 lines
845 B
C#
24 lines
845 B
C#
using TBF.Rig.Generic;
|
|
using System.Collections.Generic;
|
|
using TBF.Rig.TestMethods.iPerlCommunication.iPerlHead;
|
|
|
|
namespace TBF.Rig.RegisterReaders.iPerlReaderUNI
|
|
{
|
|
public class Factory: IComponentFactory
|
|
{
|
|
public string ClassName { get { return this.GetType().Namespace.Substring(8); } }
|
|
|
|
public override string ToString() { return ClassName; }
|
|
|
|
public IComponent DummyComponent() { return new IperlHead(); }
|
|
|
|
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return null; }
|
|
|
|
public IComponentCfg DefaultConfig() { return new IPerlCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(IPerlCfg.Serializer, component, this);
|
|
}
|
|
}
|
|
} |