37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
using System.Collections.Generic;
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.GenericDevices
|
|
{
|
|
/// <summary>
|
|
/// Basic flow meter functions
|
|
/// </summary>
|
|
public interface IFlowMeter : IComponent
|
|
{
|
|
/// <summary>
|
|
/// Nominal flow @2kHz output frequency in m3
|
|
/// </summary>
|
|
float NominalFlow { get; }
|
|
|
|
/// <summary>
|
|
/// Measurement correction table
|
|
/// </summary>
|
|
IList<Entities.MeasurementCorrection> Corrections { get; }
|
|
|
|
/// <summary>
|
|
/// Events: FlowDone, Error
|
|
/// </summary>
|
|
/// <param name="flow">Reference to a variable for the measured flow in xxx</param>
|
|
/// <returns>ReadFlowOp instance reference casted to IOperaton</returns>
|
|
IOperation ReadFlowOp(ref FloatBox flow);
|
|
|
|
/// <summary>
|
|
/// Events: flowDone, Error
|
|
/// </summary>
|
|
/// <param name="flow">Reference to a variable for the measured flow in xxx</param>
|
|
/// <param name="flowDone">Event returned when measurement done</param>
|
|
/// <returns>ReadFlowOp instance reference casted to IOperaton</returns>
|
|
IOperation ReadFlowOp(ref FloatBox flow, Event flowDone);
|
|
}
|
|
}
|