Mettler-Toledo Multi protocol change as in v.2.0.195 (Badger), Immediate meas. works, TODO: stable meas.

This commit is contained in:
Milan Hanajik
2016-01-26 13:43:47 +01:00
parent 0fdcbffcae
commit adb37826a5
5 changed files with 128 additions and 98 deletions
@@ -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