using System; namespace TBF.BenchControl.Cameras.IdcCamera.Command { public class Detect : IWorkerCmd { public string CmdName { get { return "Detect"; } } public int RoiNr; public int WMeterType; public int IRoiX; public int IRoiY; public int IRoiW; public int IRoiH; public float CX; public float CY; public float ORoiW; public float ORoiH; public float R1; public float R2; public float R3; public float Ang1; public float Ang2; public float AngStep; public bool CCW; /// Clockwise = false, Counter clockwise = true public float NomSpeed; public int SequenceLen; public int SequenceTiming; public int BackgroundCorr; public float Brightness; /// Overal brightness 0.0 .. 1.0 obtained as a product of the camera and the ROI brightness public Detect(int roiNr, int wMeterType, int iRoiX, int iRoiY, int iRoiW, int iRoiH, float cx, float cy, float oRoiW, float oRoiH, float r1, float r2, float r3, float ang1, float ang2, float angStep, bool ccw, float nomSpeed, int sequenceLen, int sequenceTiming, int backgroundCorr, float brightness) { this.RoiNr = roiNr; this.WMeterType = wMeterType; this.IRoiX = iRoiX; this.IRoiY = iRoiY; this.IRoiW = iRoiW; this.IRoiH = iRoiH; this.CX = cx; this.CY = cy; this.ORoiW = oRoiW; this.ORoiH = oRoiH; this.R1 = r1; this.R2 = r2; this.R3 = r3; this.Ang1 = ang1; this.Ang2 = ang2; this.AngStep = angStep; this.CCW = ccw; this.NomSpeed = nomSpeed; this.SequenceLen = sequenceLen; this.SequenceTiming = sequenceTiming; this.BackgroundCorr = backgroundCorr; this.Brightness = brightness; } } }