36 lines
1003 B
C#
36 lines
1003 B
C#
///
|
|
/// Copyright (c) 2017 Sensus Metering Systems
|
|
///
|
|
using Config.Entities;
|
|
using TBF.BenchControl;
|
|
|
|
namespace TBF.BenchControl.GenericDevices
|
|
{
|
|
public interface ICamera : Generic.IComponent
|
|
{
|
|
void ClearRoiParams();
|
|
|
|
int RegisterRoi(string roiParams); /// returns 0=NOK or handle (=index)
|
|
|
|
int GetResult(int roiHandle, out long timeMs); /// returns result for a registered ROI and camera time in ms
|
|
|
|
/// <summary>
|
|
/// Display live image.
|
|
/// </summary>
|
|
/// <returns>Reference to operation object instance</returns>
|
|
IOperation LiveStreamOp(bool hiRes);
|
|
|
|
/// <summary>
|
|
/// Watermeter wheel/arrow angle measurement process.
|
|
/// </summary>
|
|
/// <returns>Reference to operation object instance</returns>
|
|
IOperation MeasurementOp();
|
|
|
|
/// <summary>
|
|
/// Grab images.
|
|
/// </summary>
|
|
/// <returns>Reference to operation object instance</returns>
|
|
IOperation GrabImagesOp(string[] imgFileNames, bool blackAndWhite, bool lowResolution, ImageRotation imageRotation);
|
|
}
|
|
}
|