iPerlSpecial: MettlerToledo.Standard.BalanceDev bug fix, ver.2.5.272
This commit is contained in:
@@ -325,7 +325,7 @@ namespace TBF.BenchControl.MettlerToledo.Standard
|
||||
msrmntState = MsrmntState.Valid;
|
||||
log.InfoFormat("{0} - Balance response = \"{1}<cr><lf>\", Mass = {2}", Name, received, mass);
|
||||
}
|
||||
else if (fields.Length == 4 && fields[1].Equals("S") &&
|
||||
else if (fields.Length == 4 && (fields[1].Equals("S") || fields[1].Equals("D")) &&
|
||||
float.TryParse(fields[2],
|
||||
NumberStyles.AllowDecimalPoint | NumberStyles.AllowLeadingSign,
|
||||
CultureInfo.InvariantCulture,
|
||||
|
||||
Reference in New Issue
Block a user