PumpTandem component added (to be completed), fixes in component config edit controls

This commit is contained in:
Milan Hanajik
2015-01-11 05:06:18 +01:00
parent 5a0c01688a
commit b79ae4b1aa
43 changed files with 748 additions and 79 deletions
@@ -0,0 +1,18 @@
using TBF.BenchControl.Generic;
namespace TBF.BenchControl.Elde.PumpTandem
{
public class PumpFactory : IComponentFactory
{
public string ClassName { get { return "PumpTandem"; } }
public void ResetStaticProperties() { Pump.ResetStaticProperties(); }
public IComponentCfg DefaultConfig() { return new PumpCfg(this); }
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
{
return ComponentCfgBase.CreateFromDbEntity(typeof(PumpCfg), component, this);
}
}
}