2014-09-05 07:06:23 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
2014-12-31 12:46:33 +00:00
|
|
|
|
using log4net;
|
2014-09-05 07:06:23 +00:00
|
|
|
|
using TBF.BenchControl;
|
|
|
|
|
|
|
|
|
|
|
|
namespace TBF.BenchControl.TestMethods.FixedStartMassCollection
|
|
|
|
|
|
{
|
2014-12-31 12:46:33 +00:00
|
|
|
|
public class TestMethod : ComponentBase, GenericDevices.ITestMethod, ISequence
|
2014-09-05 07:06:23 +00:00
|
|
|
|
{
|
2014-12-31 12:46:33 +00:00
|
|
|
|
private static readonly ILog log = LogManager.GetLogger(typeof(TestMethod));
|
|
|
|
|
|
public override string ToString() { return string.Format("TestMethods.FixedStartMassCollection({0})", Cfg.ToString(1)); }
|
2014-09-05 07:06:23 +00:00
|
|
|
|
|
|
|
|
|
|
public TestMethod(TestMethodCfg cfg)
|
2014-12-31 12:46:33 +00:00
|
|
|
|
: base(cfg)
|
|
|
|
|
|
{
|
|
|
|
|
|
log.Debug(this.ToString());
|
2014-09-05 07:06:23 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public IList<Event> Execute(Entities.Test test)
|
|
|
|
|
|
{
|
|
|
|
|
|
return (new FixedStartMassCollectionSeq()).Execute(test);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|