Event.BalanceDone --> Event.ScaleDone, EmergencyStop is route bit #81, ver. 3.1.1608
This commit is contained in:
@@ -64,20 +64,20 @@ namespace TBF.Rig.MettlerToledo.Standard
|
||||
return Event.Busy;
|
||||
}
|
||||
|
||||
if (done) return Event.BalanceDone; /// Zeroing has been done already
|
||||
if (done) return Event.ScaleDone; /// Zeroing has been done already
|
||||
|
||||
if (scale.MsrmntState == MsrmntState.Busy) return Event.Busy;
|
||||
|
||||
if (scale.MsrmntState == MsrmntState.Overload)
|
||||
{
|
||||
done = true;
|
||||
return Event.BalanceOverload;
|
||||
return Event.ScaleOverload;
|
||||
}
|
||||
|
||||
if (scale.MsrmntState == MsrmntState.Valid)
|
||||
{
|
||||
done = true;
|
||||
return Event.BalanceDone; /// Zeroing completed
|
||||
return Event.ScaleDone; /// Zeroing completed
|
||||
}
|
||||
|
||||
scale.SendZeroWhenStableCmd(); /// Failed -> repeat zeroing
|
||||
|
||||
Reference in New Issue
Block a user