using System.Collections.Generic;
using TBF.BenchControl.Generic;
using TBF.Boxes;
namespace TBF.BenchControl.GenericDevices
{
///
/// Basic flow meter functions
///
public interface IFlowMeter : IComponent
{
///
/// Nominal flow @2kHz output frequency in m3
///
float NominalFlow { get; }
///
/// 1 based index of the reference flowmeter
///
int Position { get; }
///
/// Measurement correction table
///
IList Corrections { get; }
///
/// Events: FlowDone, Error
///
/// Reference to a variable for the measured flow in xxx
/// ReadFlowOp instance reference casted to IOperaton
IOperation ReadFlowOp(ref FloatBox flow);
///
/// Events: flowDone, Error
///
/// Reference to a variable for the measured flow in xxx
/// Event returned when measurement done
/// ReadFlowOp instance reference casted to IOperaton
IOperation ReadFlowOp(ref FloatBox flow, Event flowDone);
}
}