26 lines
656 B
C#
26 lines
656 B
C#
///
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
///
|
|
using System.Collections.Generic;
|
|
|
|
namespace TBF.BenchControl.Generic
|
|
{
|
|
public interface IComponentFactory
|
|
{
|
|
string ClassName { get; } /// Name of the class of components (for instance "Valve")
|
|
|
|
/// <summary>
|
|
/// Returns the default configuration
|
|
/// </summary>
|
|
IComponentCfg DefaultConfig();
|
|
|
|
/// <summary>
|
|
/// Converts an Entities.Component object into an instance of an appropriate class implementing IComponentCfg
|
|
/// </summary>
|
|
IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component);
|
|
|
|
|
|
void ResetStaticProperties();
|
|
}
|
|
}
|