tbf/TestBenchFramework/BenchControl/GenericDevices/IFlowMeter.cs

43 lines
1.2 KiB
C#
Raw Normal View History

using System.Collections.Generic;
using TBF.BenchControl.Generic;
2014-07-31 15:04:09 +00:00
using TBF.Boxes;
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>
/// 1 based index of the reference flowmeter
/// </summary>
int Position { 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);
}
}