public class ScaleInput extends Object implements de.arcasys.posper_lib.scale.Scale
| Constructor and Description |
|---|
ScaleInput()
ScaleInput emulates a scale by receiving a weight value from an input dialog.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getDeviceType() |
String |
getRawOutput() |
void |
nullTare() |
Double |
readPrecWeight() |
Double |
readWeight() |
public ScaleInput()
public Double readWeight() throws de.arcasys.posper_lib.scale.Exceptions.ScaleException
readWeight in interface de.arcasys.posper_lib.scale.Scalede.arcasys.posper_lib.scale.Exceptions.ScaleExceptionpublic Double readPrecWeight() throws de.arcasys.posper_lib.scale.Exceptions.ScaleException
readPrecWeight in interface de.arcasys.posper_lib.scale.Scalede.arcasys.posper_lib.scale.Exceptions.ScaleExceptionpublic String getDeviceType()
getDeviceType in interface de.arcasys.posper_lib.scale.Scalepublic void close()
close in interface de.arcasys.posper_lib.scale.Scalepublic String getRawOutput()
getRawOutput in interface de.arcasys.posper_lib.scale.Scalepublic void nullTare()
nullTare in interface de.arcasys.posper_lib.scale.ScaleCopyright © 2021. All rights reserved.