Size and location of some dialogs saved: Components, Paths, Transitions, Metrology, Procedures, Procedure

This commit is contained in:
Milan Hanajik
2014-09-07 09:34:28 +02:00
parent f9d2c43d57
commit 99377ce3b9
8 changed files with 233 additions and 30 deletions
@@ -66,7 +66,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStart
///
/// Measure the weight and skip emptying if there is enough room in the tank
///
State.Create("FlyingStartCollectionMethod : Measuring the mass of water in the tank")
State.Create("FlyingStart : Measuring the mass of water in the tank")
.AddOperation(checkUiOp)
.AddOperation(outPath.Balance.ReadMassOp(ref mass))
.EnterState();
@@ -102,7 +102,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStart
//------------------------------------------------
Bridge.OnActivity(this, Strings.Setting_the_flow);
//------------------------------------------------
State.Create("FlyingStartCollectionMethod : Starting the pump")
State.Create("FlyingStart : Starting the pump")
.AddOperation(checkUiOp)
.AddOperation((inPath != null && inPath.Pump is GenericDevices.IPumpFM) ? (inPath.Pump as GenericDevices.IPumpFM).TurnOn() : null)
.AddOperation(cBrd.SetValvesOp(inPath.Pump, null))
@@ -120,7 +120,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStart
while (!e.Contains(Event.ValvesSet));
//--------------------------------
State.Create("FlyingStartCollectionMethod : Setting the flow")
State.Create("FlyingStart : Setting the flow")
.AddOperation(checkUiOp)
.AddOperation(outPath.RegulValve.SetFlowOp(outPath.FlowMeter, test.Qfrom, test.Qto, refFlow, 600)) /// timeout = 10 min.
.EnterState();
@@ -154,7 +154,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStart
//------------------------------------------------
Bridge.OnActivity(this, Strings.Measuring_the_weight);
//------------------------------------------------
State.Create("FlyingStartCollectionMethod : Measuring the start mass")
State.Create("FlyingStart : Measuring the start mass")
.AddOperation(checkUiOp)
.AddOperations(measureOperations)
.AddOperation(outPath.Balance.ReadStableMassOp(ref startMass, 5))
@@ -174,7 +174,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStart
//------------------------------------------------
Bridge.OnActivity(this, Strings.Test_in_progress);
//------------------------------------------------
State.Create("FlyingStartCollectionMethod : Starting the test")
State.Create("FlyingStart : Starting the test")
.AddOperation(checkUiOp)
.AddOperations(measureOperations)
.AddOperation(cBrd.StartMeasurementOp(outPath.FlowMeter, totalPulses, Elde.TestMethods.Diverter | Elde.TestMethods.Synchro, (float)test.TolerRed))
@@ -251,7 +251,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStart
//------------------------------------------------
Bridge.OnActivity(this, Strings.Measuring_the_weight);
//------------------------------------------------
State.Create("FlyingStartCollectionMethod : Measuring the end mass")
State.Create("FlyingStart : Measuring the end mass")
.AddOperation(checkUiOp)
.AddOperation(outPath.Balance.ReadStableMassOp(ref endMass, 5))
.AddOperation(cBrd.UpdateTankWeightOp())
@@ -360,7 +360,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStart
/// Quit this sequence ///
///----------------------///
State.Create("FlyingStartCollectionMethod : Stopping diverter, gate, etc.")
State.Create("FlyingStart : Stopping diverter, gate, etc.")
.AddOperation(checkUiOp)
.AddOperation(cBrd.StopPreviousOp())
.EnterState();