Active FM pump is switched off in 'default action' after test (not when transition sequences are used), ver.2.3.242.
This commit is contained in:
@@ -225,6 +225,8 @@ namespace TBF.BenchControl.Sequences
|
|||||||
///
|
///
|
||||||
if (context == TransitionContext.AfterTest)
|
if (context == TransitionContext.AfterTest)
|
||||||
{
|
{
|
||||||
|
if (inPath.Pump is GenericDevices.IPumpFM) (inPath.Pump as GenericDevices.IPumpFM).TurnOff();
|
||||||
|
|
||||||
State.Create("SequenceBase : Transition : TestEnd - Default action")
|
State.Create("SequenceBase : Transition : TestEnd - Default action")
|
||||||
.AddOperation(checkUiOp)
|
.AddOperation(checkUiOp)
|
||||||
.AddOperation(new MettlerToledo.KeepReadingMassesOp())
|
.AddOperation(new MettlerToledo.KeepReadingMassesOp())
|
||||||
|
|||||||
+14
-15
@@ -73,21 +73,6 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
|
|||||||
//------------------------------------------------
|
//------------------------------------------------
|
||||||
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("FlyingStartMassCollection : Starting the pump")
|
|
||||||
.AddOperation(checkUiOp)
|
|
||||||
.AddOperation(new Operations.TimerOp(5))
|
|
||||||
.EnterState();
|
|
||||||
do
|
|
||||||
{
|
|
||||||
e = StateMachine.WaitRunDevsRunOps();
|
|
||||||
Bridge.OnProcessData(this, new ProcessDataEventArgs(test, repetitionNr, Config.Entities.Progress.FlowSetting));
|
|
||||||
Bridge.OnTestProgress(this, new TestProgressEventArgs(test, repetitionNr, Config.Entities.Progress.FlowSetting));
|
|
||||||
|
|
||||||
if (e.Contains(Event.UiCmdStop)) { retVal = Event.UiCmdStop; goto stopTest; }
|
|
||||||
}
|
|
||||||
while (!e.Contains(Event.TimerExpired));
|
|
||||||
|
|
||||||
|
|
||||||
State.Create("FlyingStartMassCollection : Starting the pump")
|
State.Create("FlyingStartMassCollection : Starting the pump")
|
||||||
.AddOperation(checkUiOp)
|
.AddOperation(checkUiOp)
|
||||||
.AddOperation(cBrd.SetValvesOp(inPath.Pump, null))
|
.AddOperation(cBrd.SetValvesOp(inPath.Pump, null))
|
||||||
@@ -102,6 +87,20 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
|
|||||||
}
|
}
|
||||||
while (!e.Contains(Event.ValvesSet));
|
while (!e.Contains(Event.ValvesSet));
|
||||||
|
|
||||||
|
State.Create("FlyingStartMassCollection : Starting the pump")
|
||||||
|
.AddOperation(checkUiOp)
|
||||||
|
.AddOperation(new Operations.TimerOp(5))
|
||||||
|
.EnterState();
|
||||||
|
do
|
||||||
|
{
|
||||||
|
e = StateMachine.WaitRunDevsRunOps();
|
||||||
|
Bridge.OnProcessData(this, new ProcessDataEventArgs(test, repetitionNr, Config.Entities.Progress.FlowSetting));
|
||||||
|
Bridge.OnTestProgress(this, new TestProgressEventArgs(test, repetitionNr, Config.Entities.Progress.FlowSetting));
|
||||||
|
|
||||||
|
if (e.Contains(Event.UiCmdStop)) { retVal = Event.UiCmdStop; goto stopTest; }
|
||||||
|
}
|
||||||
|
while (!e.Contains(Event.TimerExpired));
|
||||||
|
|
||||||
|
|
||||||
if (!test.Emptying) /// If condition met => skip measuring and force emptying
|
if (!test.Emptying) /// If condition met => skip measuring and force emptying
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
|||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
[assembly: AssemblyVersion("2.3.241.1")]
|
[assembly: AssemblyVersion("2.3.242.1")]
|
||||||
[assembly: AssemblyFileVersion("2.3.241.1")]
|
[assembly: AssemblyFileVersion("2.3.242.1")]
|
||||||
|
|||||||
Reference in New Issue
Block a user