Balance empty mass is configurable

This commit is contained in:
Milan Hanajik
2014-09-08 15:39:33 +02:00
parent 9223483115
commit c0d81297f5
9 changed files with 280 additions and 228 deletions
@@ -101,6 +101,11 @@ namespace TBF.BenchControl.MettlerToledo
serialPort.Open();
}
public bool IsEmpty(float mass)
{
return (mass <= balanceCfg.Empty);
}
public void ZeroWhenStable()
{
if (balanceCfg.DebugLevel == Entities.DebugMode.Simulate) return;