35 lines
741 B
C#
35 lines
741 B
C#
///
|
|
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
|
///
|
|
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;
|
|
}
|
|
}
|
|
}
|