25 lines
717 B
C#
25 lines
717 B
C#
///
|
|
/// Copyright (c) 2013-2016 Sensus Metering Systems
|
|
///
|
|
using System.Collections.Generic;
|
|
using TBF.Rig.Generic;
|
|
|
|
namespace TBF.Rig.Ambient.Comet
|
|
{
|
|
public class Factory : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "Comet-Ambient"; } }
|
|
|
|
public IComponent DummyComponent() { return new Ambient(); }
|
|
|
|
public IComponent GetComponent(IComponentCfg cfg, IList<IComponent> components) { return new Ambient(cfg); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new AmbientCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(AmbientCfg.Serializer, component, this);
|
|
}
|
|
}
|
|
}
|