public abstract class CashDrawer
extends java.lang.Object
| Constructors and instructions |
|---|
CashDrawer() |
| Qualifiers and types | Methods and instructions |
|---|---|
abstract boolean |
isOpened()
Check the port 3 pin status of the money box, this pin signal represents the cash box switch status.
|
abstract void |
kickOutPin2(int timeout_ms)
Use the money box pin2 pin to send a pulse signal to control the cash box pops up.
|
abstract void |
kickOutPin5(int timeout_ms)
Use the money box pin5 pin to send a pulse signal to control the cash box pops up.
|
static CashDrawer |
newInstance()
Create a CashDrawer instance
|
public static CashDrawer newInstance() throws java.lang.Throwable
java.lang.Exceptionjava.lang.Throwablepublic abstract void kickOutPin2(int timeout_ms)
timeout_ms - :Pulse duration, in milliseconds. Range (10 ~ 300), the general value of 100ms.public abstract void kickOutPin5(int timeout_ms)
timeout_ms - :Pulse duration, in milliseconds. Range (10 ~ 300), the general value of 100ms.public abstract boolean isOpened()