54 lines
2.5 KiB
C#
54 lines
2.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using TBF.BenchControl.Generic;
|
|
using TBF.Boxes;
|
|
|
|
namespace TBF.BenchControl.GenericDevices
|
|
{
|
|
public interface IRegulValve : IComponent
|
|
{
|
|
IDictionary<float, float> Dict { get; }
|
|
|
|
/// <summary>
|
|
/// Operation to set the water flow within tolerances
|
|
/// Events: Event.None, Event.FlowReached, Event.FlowTimeOut
|
|
/// </summary>
|
|
/// <param name="requiredFlowLo">Lower limit of the required flow [m3/h]</param>
|
|
/// <param name="requiredFlowHi">Higher limit of the required flow [m3/h]</param>
|
|
/// <param name="measuredFlow">Measured flow [m3/h]</param>
|
|
/// <param name="timeout">Timeout in [s]</param>
|
|
/// <returns>SetFlowOp instance</returns>
|
|
IOperation SetFlowOp(IFlowMeter flowMeter, float requiredFlowLo, float requiredFlowHi, FloatBox measuredFlow, int timeout);
|
|
|
|
/// <summary>
|
|
/// Operation to set the water flow within tolerances. Leave the measurement running.
|
|
/// Events: Event.None, Event.FlowReached, Event.FlowTimeOut
|
|
/// </summary>
|
|
/// <param name="requiredFlowLo">Lower limit of the required flow [m3/h]</param>
|
|
/// <param name="requiredFlowHi">Higher limit of the required flow [m3/h]</param>
|
|
/// <param name="measuredFlow">Measured flow [m3/h]</param>
|
|
/// <param name="timeout">Timeout in [s]</param>
|
|
/// <param name="filter">Passed to SendCommand() as argument filterContant</param>
|
|
/// <returns>SetFlowOp instance</returns>
|
|
IOperation SetFlowAndMeasureOp(IFlowMeter flowMeter, float requiredFlowLo, float requiredFlowHi, FloatBox measuredFlow, int timeout, float filter);
|
|
|
|
/// <summary>
|
|
/// Operation to set the regulation valve to a required position
|
|
/// Events: Event.None
|
|
/// </summary>
|
|
/// <param name="posLoPct">Lower limit of the required valve position in %</param>
|
|
/// <param name="posHiPct">Higher limit of the required valve position in %</param>
|
|
/// <param name="timeout">Timeout in [s]</param>
|
|
/// <returns>SetPositionOp instance</returns>
|
|
IOperation SetRegulValvePositionOp(float posLoPct, float posHiPct, int timeout);
|
|
|
|
/// <summary>
|
|
/// Operation to set the regulation valve to a required position
|
|
/// Events: Event.None
|
|
/// </summary>
|
|
/// <param name="timePulseSec">Time pulse in sec</param>
|
|
/// <returns>SetPositionOp instance</returns>
|
|
IOperation ChangeRegulValvePositionOp(float timePulseSec);
|
|
}
|
|
}
|