Mettler-Toledo Multi protocol change as in v.2.0.195 (Badger), Immediate meas. works, TODO: stable meas.
This commit is contained in:
@@ -238,8 +238,7 @@ namespace TBF.BenchControl.MettlerToledo.Standard
|
||||
{
|
||||
if (balanceCfg.DebugLevel == DebugMode.Simulate)
|
||||
{
|
||||
mass = TestBenchSim.GetSimMass(balanceNr);
|
||||
Masses[balanceNr] = mass;
|
||||
Masses[balanceNr] = TestBenchSim.GetSimMass(balanceNr);
|
||||
msrmntState = MsrmntState.Valid;
|
||||
msrmntTimeStamp = StateMachine.Time;
|
||||
return;
|
||||
@@ -262,7 +261,7 @@ namespace TBF.BenchControl.MettlerToledo.Standard
|
||||
{
|
||||
msrmntTimeStamp = StateMachine.Time;
|
||||
|
||||
/// Get part of theh string before EOL
|
||||
/// Get part of the string before EOL
|
||||
string received = currentBuffer.Substring(0, eolPos);
|
||||
|
||||
/// Put the rest back to the string builder
|
||||
|
||||
Reference in New Issue
Block a user