2015-09-22 12:01:43 +00:00
|
|
|
|
///
|
2017-03-10 13:59:29 +00:00
|
|
|
|
/// Copyright (c) 2015-2017 Sensus Metering Systems
|
2015-09-22 12:01:43 +00:00
|
|
|
|
///
|
2016-08-05 12:32:36 +00:00
|
|
|
|
using System.Collections.Generic;
|
2015-09-22 12:01:43 +00:00
|
|
|
|
using TBF.BenchControl.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
namespace TBF.BenchControl.DataEntry.Standard48
|
|
|
|
|
|
{
|
2017-03-10 13:59:29 +00:00
|
|
|
|
public class Factory : IComponentFactory
|
2015-09-22 12:01:43 +00:00
|
|
|
|
{
|
|
|
|
|
|
public string ClassName { get { return "DataEntry-Standard-48"; } }
|
|
|
|
|
|
|
2017-03-10 13:59:29 +00:00
|
|
|
|
public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
|
2015-09-22 12:01:43 +00:00
|
|
|
|
|
2016-08-05 12:32:36 +00:00
|
|
|
|
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }
|
|
|
|
|
|
|
2015-09-22 12:01:43 +00:00
|
|
|
|
public IComponentCfg DefaultConfig() { return new EntryFormCfg(this); }
|
|
|
|
|
|
|
2015-12-04 16:17:20 +00:00
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
|
2015-09-22 12:01:43 +00:00
|
|
|
|
{
|
2017-06-21 21:39:34 +00:00
|
|
|
|
return ComponentCfgBase.CreateFromDbEntity(EntryFormCfg.Serializer, component, this);
|
2015-09-22 12:01:43 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|