Camera modifications : CheckDeviceCaps( ), CameraBinaryFiles2, etc, ver. 3.5.1997

This commit is contained in:
Milan Hanajik
2022-12-15 16:22:19 +01:00
parent 62e9f612fc
commit 1c6488d621
14 changed files with 57 additions and 21 deletions
+4 -7
View File
@@ -17,6 +17,10 @@ namespace TBF.Rig.TestMethods.GrabImage
public bool CanTest(MetersKind meters) { return true; }
public bool DoTransitions() { return false; }
public bool CheckDeviceCaps(Test test, OutputPath devices, out string message)
{
return GrabImageSeq.CheckDeviceCaps(test, devices, out message);
}
readonly GrabImageCfg cfg;
@@ -51,13 +55,6 @@ namespace TBF.Rig.TestMethods.GrabImage
#endregion Configuration Change Handling
public bool CheckDeviceCaps(Test test, OutputPath devices, out string message)
{
message = string.Format("{0}: CheckDeviceCaps() is not implemented yet", Name);
return false;
}
public Component() { }
///
public Component(Generic.IComponentCfg cfg)
@@ -14,6 +14,16 @@ namespace TBF.Rig.TestMethods.GrabImage
{
private static readonly ILog log = LogManager.GetLogger(typeof(GrabImageSeq));
/// <summary>
/// Check capabilities of devces in the output path required for this test method
/// </summary>
/// <param name="devices">Devices</param>
/// <returns>true when capabilities of devices are OK</returns>
public static bool CheckDeviceCaps(Config.Entities.Test test, OutputPath devices, out string message)
{
message = string.Empty;
return true;
}
public IList<Event> Execute( Test test, GrabImageCfg cfg)
{