Network.Camera.RoiForFixedStart component added, IRoiForFixedStart added, supports image grabbing only.

This commit is contained in:
Milan Hanajik
2017-07-27 16:38:29 +03:00
parent e133b68472
commit c9d3480c58
11 changed files with 799 additions and 9 deletions
@@ -1,14 +1,12 @@
///
/// Copyright (c) 2017 Sensus Metering Systems
///
using Config.Entities;
using TBF.BenchControl.Generic;
namespace TBF.BenchControl.GenericDevices
{
public interface IRoi : IComponent, IRegisterReader
public interface IRoi : IComponent, IRoiForFixedStart
{
GenericDevices.ICamera Camera { get; }
bool Detected { get; }
string DetectedImageName { get; }
@@ -21,12 +19,6 @@ namespace TBF.BenchControl.GenericDevices
double TimestampStart { get; } /// in s
double TimestampEnd { get; } /// in s
/// <summary>
/// Watermeter wheel/arrow detection process.
/// </summary>
/// <returns>Reference to operation object instance</returns>
IOperation GrabImageOp(string imageFileName, bool blackAndWhite, bool lowResolution, ImageRotation imageRotation);
/// <summary>
/// Watermeter wheel/arrow detection process.
/// </summary>
@@ -0,0 +1,21 @@
///
/// Copyright (c) 2017 Sensus Metering Systems
///
using TBF.BenchControl.Generic;
namespace TBF.BenchControl.GenericDevices
{
public interface IRoiForFixedStart : IComponent, IRegisterReader
{
GenericDevices.ICamera Camera { get; }
/// <summary>
/// Watermeter wheel/arrow detection process.
/// </summary>
/// <returns>Reference to operation object instance</returns>
IOperation GrabImageOp(string imageFileName,
bool blackAndWhite,
bool lowResolution,
Config.Entities.ImageRotation imageRotation);
}
}