27 lines
856 B
C#
27 lines
856 B
C#
///
|
|
/// Copyright (c) 2017 Sensus Metering Systems
|
|
///
|
|
using System.Collections.Generic;
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.DataEntry.Standard6
|
|
{
|
|
public class FactoryNoStartEnd : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "DataEntry-Standard-6-NoStartEnd"; } }
|
|
|
|
public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
|
|
|
|
public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
|
|
|
|
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryFormNoStartEnd(cfg); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new EntryFormCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(EntryFormCfg), component, this);
|
|
}
|
|
}
|
|
}
|