Balance empty mass is configurable
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user