tbf/TestBenchFramework/BenchControl/Cameras/IdcCamera/Command/Grab.cs
2014-07-28 09:56:40 +02:00

32 lines
681 B
C#

using System;
namespace TBF.BenchControl.Cameras.IdcCamera.Command
{
public class Grab : IWorkerCmd
{
public string CmdName { get { return "Grab"; } }
public int X;
public int Y;
public int W;
public int H;
public int Scale;
public string FileName;
public FileFormat Format;
public float Brightness; /// Camera brightness 0.0 .. 1.0
bool WaitCompleted;
public Grab(string fileName, FileFormat format, float brihtness, bool waitCompleted)
{
X = 0;
Y = 0;
W = 640;
H = 480;
Scale = 1;
this.FileName = fileName;
this.Format = format;
this.Brightness = brihtness;
this.WaitCompleted = waitCompleted;
}
}
}