From 07f36f2945672135c920c7ce7f9752873a8063c2 Mon Sep 17 00:00:00 2001 From: Milan Hanajik Date: Wed, 25 Jan 2023 13:43:33 +0100 Subject: [PATCH] Bug fix in Uni.RegValve.SetFlowOp : 2000 --> flowMeter.NominalFreq, ver. 3.5.2013 --- TBF/Properties/AssemblyInfo.cs | 4 ++-- TBF/Rig/Uni/RegValve/SetFlowOp.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TBF/Properties/AssemblyInfo.cs b/TBF/Properties/AssemblyInfo.cs index d389fb72c..eeb240c53 100644 --- a/TBF/Properties/AssemblyInfo.cs +++ b/TBF/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("3.5.2012.0")] -[assembly: AssemblyFileVersion("3.5.2012.0")] +[assembly: AssemblyVersion("3.5.2013.0")] +[assembly: AssemblyFileVersion("3.5.2013.0")] diff --git a/TBF/Rig/Uni/RegValve/SetFlowOp.cs b/TBF/Rig/Uni/RegValve/SetFlowOp.cs index 02f301cdb..217acf5df 100644 --- a/TBF/Rig/Uni/RegValve/SetFlowOp.cs +++ b/TBF/Rig/Uni/RegValve/SetFlowOp.cs @@ -228,8 +228,8 @@ namespace TBF.Rig.Uni.RegValve if (StateMachine.Time > setFlowTime) { - uniCB.SetFlow(false, regV.Idx1, 2000.0 * currentReqFlowLo / flowMeter.NominalFlow, - 2000.0 * currentReqFlowHi / flowMeter.NominalFlow); + uniCB.SetFlow(false, regV.Idx1, flowMeter.NominalFreq * currentReqFlowLo / flowMeter.NominalFlow, + flowMeter.NominalFreq * currentReqFlowHi / flowMeter.NominalFlow); log.InfoFormat("Run(): rv#={0} TARGET: flowLo={1} flowHi={2}", regV.Idx1, currentReqFlowLo, currentReqFlowHi);