24 lines
668 B
C#
24 lines
668 B
C#
///
|
|
/// Copyright (c) 2015 Sensus Metering Systems
|
|
///
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.DataEntry.Standard12
|
|
{
|
|
public class EntryFormFactory : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "DataEntry-Standard-12"; } }
|
|
|
|
public void ResetStaticProperties() { EntryForm.ResetStaticProperties(); }
|
|
|
|
public IComponent DummyComponent() { return new EntryForm(); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new EntryFormCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(EntryFormCfg), component, this);
|
|
}
|
|
}
|
|
}
|