From dbe424b17aa68f58ef456c7a78e6ef794e60e88a Mon Sep 17 00:00:00 2001 From: Marek Frniak Date: Thu, 16 Jul 2026 14:21:00 +0200 Subject: [PATCH] Add - StandingStart method - Store and log default PumpPower for dynamic test repetitions - Read PumpPower from the current pump before starting dynamic tests. - Store the value as the default PumpPower for subsequent test instances in the cycle. - Add logging when PumpPower is initialized from the pump. - Add logging at test start including test name, repetition number, last repetition flag, and PumpPower to improve diagnostics. --- TBF/Properties/AssemblyInfo.cs | 4 ++-- .../StandingStart/StandingStartSeq.cs | 22 ++++++++++++++++++- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/TBF/Properties/AssemblyInfo.cs b/TBF/Properties/AssemblyInfo.cs index 376347e7b..8e5b16be5 100644 --- a/TBF/Properties/AssemblyInfo.cs +++ b/TBF/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("3.9.3134.101")] -[assembly: AssemblyFileVersion("3.9.3134.101")] +[assembly: AssemblyVersion("3.9.3134.102")] +[assembly: AssemblyFileVersion("3.9.3134.102")] diff --git a/TBF/Rig/TestMethods/StandingStart/StandingStartSeq.cs b/TBF/Rig/TestMethods/StandingStart/StandingStartSeq.cs index cd3b3cb5f..6f4636d3a 100644 --- a/TBF/Rig/TestMethods/StandingStart/StandingStartSeq.cs +++ b/TBF/Rig/TestMethods/StandingStart/StandingStartSeq.cs @@ -123,8 +123,16 @@ namespace TBF.Rig.TestMethods.StandingStart int totalPulses = Convert.ToInt32(test.Volume / outPath.FlowMeter.LtrPerPulse); + log.InfoFormat( + "{0}({1}) : Test starting... (Repetition {2}, LastRepetition={3}, PumpPower={4})", + test.Method, + test.Name, + repetitionNr, + isLastRepetition, + test.PumpPower); + ///============================================================================================ - + /// Read pressure and temperature once before calling Bridge.OnTestSelected(...) State.Create(string.Format("{0}({1}) : Measuring process data", test.Method, test.Name)) .AddOperation(checkUiOp) @@ -376,6 +384,18 @@ namespace TBF.Rig.TestMethods.StandingStart /// Temperature is withing required range at this point /// + /// + /// reading pump power for dynamic using as default test.PumpPower for next test instances in cycle + /// + if (inPath.Pump is IPump) + { + test.PumpPower = (float)(inPath.Pump as IPump).Power; + + log.InfoFormat( + "PumpPower initialized from operator to '{0}'%", + test.PumpPower); + } + //----------------------------------------------------------------- Bridge.OnActivity(this, Strings.Stopping_flow_for_the_fixed_start); //-----------------------------------------------------------------