SetFlowOp with 'delay' parameter (default 0), flow setting starts after this delay in sec.

This commit is contained in:
Milan Hanajik
2022-01-28 14:43:42 +01:00
parent ecc92176f3
commit 851c51aa7c
15 changed files with 94 additions and 73 deletions
+7 -2
View File
@@ -637,9 +637,14 @@ namespace TBF.Rig.ControlBoard.Uni
///
/// Operations
///
public IOperation SetFlowOp(double flowLimLo, double flowLimHi, TBF.Boxes.DoubleBox measuredFlow, int timeout)
/// <param name="delay">Delay of flow setting start in [s], default = 0</param>
public IOperation SetFlowOp(double flowLimLo, double flowLimHi, DoubleBox measuredFlow, int timeout)
{
return Devices.RegValve.SetFlowOp(Devices.FlowMeter, flowLimLo, flowLimHi, measuredFlow, timeout);
return SetFlowOp(flowLimLo, flowLimHi, measuredFlow, timeout, 0);
}
public IOperation SetFlowOp(double flowLimLo, double flowLimHi, DoubleBox measuredFlow, int timeout, int delay)
{
return Devices.RegValve.SetFlowOp(Devices.FlowMeter, flowLimLo, flowLimHi, measuredFlow, timeout, delay);
}
public IOperation StopFlowRegulationOp()