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