From cfe55e430a50882e74d89eceeb5d71d7f98f4091 Mon Sep 17 00:00:00 2001 From: Milan Hanajik Date: Tue, 11 May 2021 14:28:27 +0200 Subject: [PATCH] Pump start logging, ver. 3.1.1645 --- TBF/Properties/AssemblyInfo.cs | 4 ++-- .../FlyingStartMassCollectionSeq.cs | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/TBF/Properties/AssemblyInfo.cs b/TBF/Properties/AssemblyInfo.cs index 53aa06908..e2df73a8f 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.1.1644.0")] -[assembly: AssemblyFileVersion("3.1.1644.0")] +[assembly: AssemblyVersion("3.1.1645.0")] +[assembly: AssemblyFileVersion("3.1.1645.0")] diff --git a/TBF/Rig/TestMethods/FlyingStartMassCollection/FlyingStartMassCollectionSeq.cs b/TBF/Rig/TestMethods/FlyingStartMassCollection/FlyingStartMassCollectionSeq.cs index 6dd6f7975..0e4965289 100644 --- a/TBF/Rig/TestMethods/FlyingStartMassCollection/FlyingStartMassCollectionSeq.cs +++ b/TBF/Rig/TestMethods/FlyingStartMassCollection/FlyingStartMassCollectionSeq.cs @@ -248,9 +248,13 @@ namespace TBF.Rig.TestMethods.FlyingStartMassCollection Bridge.OnTestProgress(this, new TestProgressEventArgs(test, repetitionNr, Config.Entities.Progress.FlowSetting)); int flowSetTime0 = StateMachine.Time; - if (inPath.Pump is GenericDevices.IPumpFM) (inPath.Pump as GenericDevices.IPumpFM).TurnOn(test.PumpPower); + + if (inPath.Pump is GenericDevices.IPumpFM) + { + (inPath.Pump as GenericDevices.IPumpFM).TurnOn(test.PumpPower); + } /// - State.Create(string.Format("{0}({1}) : Starting the pump", test.Method, test.Name)) + State.Create(string.Format("{0}({1}) : Starting pump {2}", test.Method, test.Name, (inPath.Pump != null) ? inPath.Pump.Name : "?")) .AddOperation(checkUiOp) // .AddOperation(new Operations.SetAllRegulValvesOp(inPath.RegulValves, inPath.RegulValvesPct, 60)) .AddOperations(readTempPressOps)