Completed MettlerToledo.Multi changes - ready for tests.
This commit is contained in:
@@ -39,7 +39,6 @@ namespace TBF.BenchControl.MettlerToledo.Multi
|
||||
public void Start()
|
||||
{
|
||||
done = false;
|
||||
balanceDev.GetImmediateMassMeasurement();
|
||||
}
|
||||
|
||||
/// <summary>Run this operation</summary>
|
||||
@@ -55,7 +54,6 @@ namespace TBF.BenchControl.MettlerToledo.Multi
|
||||
result.Val = balanceDev.Mass;
|
||||
done = true;
|
||||
log.InfoFormat("ReadMassOp.Run() ... mass={0} ... returning Event.BalanceDone", balanceDev.Mass);
|
||||
balanceDev.GetImmediateMassMeasurement(); /// Start another measurement
|
||||
return Event.BalanceDone; /// Mass read OK
|
||||
}
|
||||
else if (done)
|
||||
@@ -64,7 +62,7 @@ namespace TBF.BenchControl.MettlerToledo.Multi
|
||||
}
|
||||
else
|
||||
{
|
||||
return Event.None;
|
||||
return Event.Busy;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user