Metler-Toledo bug fix: When the scale was overloaded, it stopped measuring.
This commit is contained in:
@@ -165,6 +165,14 @@ namespace TBF.BenchControl.MettlerToledo
|
||||
log.InfoFormat("Balance response = {0}, Mass = {1}",
|
||||
received.Replace("\r", "<cr>").Replace("\n", "<lf>"), mass);
|
||||
}
|
||||
else if (fields.Length == 2 && fields[1].Equals("+"))
|
||||
{
|
||||
mass = Capacity;
|
||||
Masses[balanceNr] = mass;
|
||||
msrmntState = MsrmntState.Valid;
|
||||
log.InfoFormat("Balance response = {0}, Overload",
|
||||
received.Replace("\r", "<cr>").Replace("\n", "<lf>"));
|
||||
}
|
||||
else if (fields.Length >= 2 && fields[1].Equals("I"))
|
||||
{
|
||||
mass = balanceCfg.Capacity;
|
||||
|
||||
Reference in New Issue
Block a user