2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
2017-01-14 21:21:58 +00:00
|
|
|
|
/// Copyright (c) 2017 Sensus Metering Systems
|
2015-04-15 18:32:56 +00:00
|
|
|
|
///
|
2017-07-25 12:14:50 +00:00
|
|
|
|
using Config.Entities;
|
2015-04-15 18:32:56 +00:00
|
|
|
|
using TBF.BenchControl;
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
|
|
|
|
|
namespace TBF.BenchControl.GenericDevices
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface ICamera : Generic.IComponent
|
|
|
|
|
|
{
|
2017-04-06 16:55:01 +00:00
|
|
|
|
void ClearRoiParams();
|
2017-01-22 19:39:14 +00:00
|
|
|
|
|
2017-07-23 08:04:27 +00:00
|
|
|
|
int RegisterRoi(string roiParams); /// returns 0=NOK or handle (=index)
|
2017-01-24 09:50:53 +00:00
|
|
|
|
|
2017-04-07 09:29:35 +00:00
|
|
|
|
int GetResult(int roiHandle, out long timeMs); /// returns result for a registered ROI and camera time in ms
|
2017-01-22 19:39:14 +00:00
|
|
|
|
|
2014-07-28 07:54:35 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Display live image.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns>Reference to operation object instance</returns>
|
2017-01-14 21:21:58 +00:00
|
|
|
|
IOperation LiveStreamOp(bool hiRes);
|
2017-01-16 14:51:34 +00:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Watermeter wheel/arrow angle measurement process.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns>Reference to operation object instance</returns>
|
|
|
|
|
|
IOperation MeasurementOp();
|
2017-01-24 17:55:36 +00:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2017-07-23 08:04:27 +00:00
|
|
|
|
/// Grab images.
|
2017-01-24 17:55:36 +00:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns>Reference to operation object instance</returns>
|
2017-07-25 12:14:50 +00:00
|
|
|
|
IOperation GrabImagesOp(string[] imgFileNames, bool blackAndWhite, bool lowResolution, ImageRotation imageRotation);
|
2014-07-28 07:54:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|