tbf/TestBenchFramework/BenchControl/Greco/AmbientFactory.cs

19 lines
530 B
C#

using TBF.BenchControl.Generic;
namespace TBF.BenchControl.Greco
{
public class AmbientFactory : IComponentFactory
{
public string ClassName { get { return "Greco Ambient"; } }
public void ResetStaticProperties() { Ambient.ResetStaticProperties(); }
public IComponentCfg DefaultConfig() { return new AmbientCfg(this); }
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
{
return ComponentCfgBase.CreateFromDbEntity(typeof(AmbientCfg), component, this);
}
}
}