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

26 lines
565 B
C#

using System;
using System.Collections.Generic;
using TBF.BenchControl;
namespace TBF.BenchControl.BenchId
{
/// <summary>
/// Holds information identifying the test bench.
/// </summary>
public class Component : ComponentBase, Generic.IComponent
{
readonly ComponentCfg benchIdCfg;
public static void ResetStaticProperties() { }
public int TestBenchNr { get { return benchIdCfg.TestBenchNr; } }
public Component(ComponentCfg cfg)
: base(cfg)
{
if (cfg == null) throw new ArgumentNullException("cfg");
this.benchIdCfg = cfg;
}
}
}