tbf/TestBenchFramework/BenchControl/GenericDevices/IFlowMeter.cs
Milan Hanajik b8faca784e - ReferenceFlowmeterCalibration method and sequence (ready for tests)
- FlyingStart method and sequence files prepared for implementation (copies of FlyingStartMassCollection)
2014-09-06 17:34:26 +02:00

43 lines
1.2 KiB
C#

using System.Collections.Generic;
using TBF.BenchControl.Generic;
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);
}
}