DataEntry.iPerl : No CycleEndForm, does not implement IHasCycleEndForm.

This commit is contained in:
Milan Hanajik
2021-03-08 13:12:40 +01:00
parent d15497f2b0
commit 4505759115
10 changed files with 10 additions and 612 deletions
@@ -0,0 +1,26 @@
///
/// Copyright (c) 2015-2016 Sensus Metering Systems
///
using System.Collections.Generic;
using TBF.BenchControl.Generic;
namespace TBF.BenchControl.DataEntry.iPerl
{
public class Factory : IComponentFactory
{
public string ClassName { get { return "DataEntry-iPerl"; } }
public void ResetStaticProperties() { EntryForm.ResetStaticProperties(); }
public IComponent DummyComponent() { return new EntryForm(); }
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new EntryForm(cfg); }
public IComponentCfg DefaultConfig() { return new EntryFormCfg(this); }
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
{
return ComponentCfgBase.CreateFromDbEntity(EntryFormCfg.Serializer, component, this);
}
}
}