ControlBoards, IControlBoard iface, Devices, test methods.
This commit is contained in:
@@ -11,12 +11,15 @@ namespace TBF.BenchControl.TestMethods.Q2CorrectionFromHistory
|
||||
public class Component : ComponentBase, GenericDevices.ISimultTestMethod
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Component));
|
||||
public override string ToString() { return string.Format("TestMethods.GrabImage({0})", Cfg.ToString(1)); }
|
||||
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(1)); }
|
||||
|
||||
public bool CanTest(MetersKind meters) { return true; }
|
||||
public bool DoTransitions() { return false; }
|
||||
|
||||
readonly FromHistoryCfg cfg;
|
||||
public bool CheckDeviceCaps(Test test, OutputPath devices, out string message)
|
||||
{
|
||||
message = string.Format("{0}: CheckDeviceCaps() is not implemented yet", Name);
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool SimultWithPrevious { get { return false; } }
|
||||
public bool SimultWithNext { get { return false; } }
|
||||
@@ -57,11 +60,11 @@ namespace TBF.BenchControl.TestMethods.Q2CorrectionFromHistory
|
||||
#endregion Configuration Change Handling
|
||||
|
||||
|
||||
public Component()
|
||||
{
|
||||
}
|
||||
readonly FromHistoryCfg cfg;
|
||||
|
||||
public Component(Generic.IComponentCfg cfg)
|
||||
public Component() { }
|
||||
///
|
||||
public Component(Generic.IComponentCfg cfg)
|
||||
: base(cfg)
|
||||
{
|
||||
this.cfg = cfg as FromHistoryCfg;
|
||||
|
||||
Reference in New Issue
Block a user