tbf/TestBenchFramework/BenchControl/Generic/IComponentCfg.cs
2014-07-28 09:56:40 +02:00

48 lines
1.1 KiB
C#

using System.Collections.Generic;
namespace TBF.BenchControl.Generic
{
public interface IComponentCfg
{
/// <summary>
/// Unique component # (0 .. nr.of components-1)
/// </summary>
int ItemNr { get; set; }
/// <summary>
/// Component name
/// </summary>
string Name { get; set; }
/// <summary>
/// Reference to the component factory (it is a singleton)
/// </summary>
IComponentFactory Factory { get; }
/// <summary>
/// Component class / component type name
/// </summary>
string ParentName { get; set; }
/// <summary>
/// Debug level, 0 = debugging off
/// </summary>
Entities.DebugMode DebugLevel { get; set; }
/// <summary>
/// Log level, 0 = logging off
/// </summary>
Entities.LogLevel LogLevel { get; }
/// <summary>
/// Measurement correction values
/// </summary>
IList<Entities.MeasurementCorrection> Corrections { get; }
IComponentCfg Clone();
TBF.Entities.Component CreateDbEntity();
string ToString(int i);
}
}