ReadMassesOp eliminated.

This commit is contained in:
Milan Hanajik
2021-04-02 15:12:29 +02:00
parent 51aa0f4e43
commit 8a846a774f
4 changed files with 3 additions and 93 deletions
-15
View File
@@ -144,21 +144,6 @@ namespace TBF.Rig.Sequences
}
while (e.Contains(Event.Busy));
//--------------------------------------------------------------------------------------------
Bridge.OnActivity(this, Strings.Measuring_the_weight);
State.Create("MainSeq : Mesuring the weight for the 1st time")
.AddOperation(checkUiOp)
.AddOperation(new MettlerToledo.ReadMassesOp())
.EnterState();
do
{
e = StateMachine.WaitRunDevsRunOps();
if (e.Contains(Event.Error)) goto error;
if (e.Contains(Event.UiCmdStop)) goto stop;
}
while (!e.Contains(Event.ScaleDone));
select_procedure:
CloseBeginForm(); /// Make sure the CycleBeginForm is closed (after an abnormal end, etc.)