2014-07-28 07:54:35 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using TBF.BenchControl.Generic;
|
2014-07-31 15:04:09 +00:00
|
|
|
|
using TBF.Boxes;
|
2014-07-28 07:54:35 +00:00
|
|
|
|
|
|
|
|
|
|
namespace TBF.BenchControl.GenericDevices
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Basic flow meter functions
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public interface IFlowMeter : IComponent
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2014-09-10 11:43:33 +00:00
|
|
|
|
/// Nominal flow in m3/h at the maximum (2kHz) output frequency.
|
|
|
|
|
|
/// In case of a flowmeter couple, the sum of two nominal flows (reached at 4kHz of summed pulses).
|
2014-07-28 07:54:35 +00:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
float NominalFlow { get; }
|
|
|
|
|
|
|
2014-09-10 11:43:33 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Nominal (uncorrected) volume per flowmeter pulse in [l].
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
float LtrPerPulse { get; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Corrected volume per flowmeter pulse in [l].
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="flow">Water flow in [m3/h]</param>
|
|
|
|
|
|
float LtrPerPulseCorrected(float flow);
|
|
|
|
|
|
|
2014-09-06 15:34:26 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 1 based index of the reference flowmeter
|
|
|
|
|
|
/// </summary>
|
2014-09-10 10:05:49 +00:00
|
|
|
|
int Idx1 { get; }
|
2014-09-06 15:34:26 +00:00
|
|
|
|
|
2014-07-28 07:54:35 +00:00
|
|
|
|
/// <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);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|