2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
2015-08-01 20:21:43 +00:00
|
|
|
|
/// Copyright (c) 2015 Sensus Metering Systems
|
|
|
|
|
|
/// Author: Milan Hanajík
|
2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
|
|
|
|
|
using TBF.BenchControl.Generic;
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
2015-08-01 20:21:43 +00:00
|
|
|
|
namespace TBF.BenchControl.BenchInfo.Polska
|
2014-07-28 07:54:35 +00:00
|
|
|
|
{
|
|
|
|
|
|
public class ComponentFactory : IComponentFactory
|
|
|
|
|
|
{
|
2015-08-01 20:21:43 +00:00
|
|
|
|
public string ClassName { get { return "BenchInfoPL"; } }
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
2015-01-02 18:14:19 +00:00
|
|
|
|
public void ResetStaticProperties() { Component.ResetStaticProperties(); }
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
2015-06-29 09:14:33 +00:00
|
|
|
|
public IComponent DummyComponent() { return new Component(); }
|
|
|
|
|
|
|
2015-01-02 18:14:19 +00:00
|
|
|
|
public IComponentCfg DefaultConfig() { return new ComponentCfg(this); }
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
|
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
|
|
|
|
|
|
{
|
2014-12-29 15:00:27 +00:00
|
|
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(ComponentCfg), component, this);
|
2014-07-28 07:54:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|