- FlyingStart method and sequence files prepared for implementation (copies of FlyingStartMassCollection)
28 lines
722 B
C#
28 lines
722 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using TBF.BenchControl;
|
|
|
|
namespace TBF.BenchControl.TestMethods.ReferenceFlowmeterCalibration
|
|
{
|
|
public class TestMethod : Generic.IComponent, GenericDevices.ITestMethod, ISequence
|
|
{
|
|
readonly TestMethodCfg testMethodCfg;
|
|
public Generic.IComponentCfg Cfg { get { return testMethodCfg; } }
|
|
|
|
public static void ResetStaticProperties() { }
|
|
|
|
public string Name { get { return testMethodCfg.Name; } }
|
|
|
|
public TestMethod(TestMethodCfg cfg)
|
|
{
|
|
if (cfg == null) throw new ArgumentNullException("cfg");
|
|
this.testMethodCfg = cfg;
|
|
}
|
|
|
|
public IList<Event> Execute(Entities.Test test)
|
|
{
|
|
return (new ReferenceFlowmeterCalibrationSeq()).Execute(test);
|
|
}
|
|
}
|
|
}
|