Class ItemDispenserService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.itemdispenser.ItemDispenserService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance
,jpos.services.BaseService
,jpos.services.ItemDispenserService112
,jpos.services.ItemDispenserService113
,jpos.services.ItemDispenserService114
,jpos.services.ItemDispenserService115
,jpos.services.ItemDispenserService116
ItemDispenser service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the ItemDispenserInterface for item dispenser specific setter and method calls bound to the property set.Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
Device, DeviceInterface, Props
-
Constructor Summary
ConstructorsConstructorDescriptionItemDispenserService(ItemDispenserProperties props, JposDevice device)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
adjustItemCount(int itemCount, int slotNumber)
void
dispenseItem(int[] numItem, int slotNumber)
boolean
boolean
boolean
boolean
int
int
void
readItemCount(int[] itemCount, int slotNumber)
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
callNowOrLater, check, check, check, check, checkBusy, checkClaimed, checkEnabled, checkEnabledUnclaimed, checkFirstEnabled, checkHealth, checkNoChangedOrClaimed, checkOpened, claim, clearInput, clearInputProperties, clearOutput, close, compareFirmwareVersion, deepToString, deleteInstance, directIO, getAsyncMode, getAutoDisable, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getCheckHealthText, getClaimed, getDataCount, getDataEventEnabled, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getOutputID, getPhysicalDeviceDescription, getPhysicalDeviceName, getPowerNotify, getPowerState, getPropertyString, getState, logAsyncCall, logCall, logCall, logGet, logGet, logPreCall, logPreCall, logPreSet, logSet, open, release, removeOuterArraySpecifier, resetStatistics, retrieveStatistics, setAsyncMode, setAutoDisable, setDataEventEnabled, setDeviceEnabled, setFreezeEvents, setPowerNotify, signalRelease, startClaiming, updateFirmware, updateStatistics
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEvents
Methods inherited from interface jpos.services.ItemDispenserService112
compareFirmwareVersion, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getPowerNotify, getPowerState, resetStatistics, retrieveStatistics, setPowerNotify, updateFirmware, updateStatistics
Methods inherited from interface jpos.loader.JposServiceInstance
deleteInstance
-
Field Details
-
ItemDispenserInterface
Instance of a class implementing the ItemDispenserInterface for item dispenser specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
ItemDispenserService
Constructor. Stores given property set and device implementation object.- Parameters:
props
- Property set.device
- Device implementation object.
-
-
Method Details
-
getCapEmptySensor
public boolean getCapEmptySensor() throws jpos.JposException- Specified by:
getCapEmptySensor
in interfacejpos.services.ItemDispenserService112
- Throws:
jpos.JposException
-
getCapIndividualSlotStatus
public boolean getCapIndividualSlotStatus() throws jpos.JposException- Specified by:
getCapIndividualSlotStatus
in interfacejpos.services.ItemDispenserService112
- Throws:
jpos.JposException
-
getCapJamSensor
public boolean getCapJamSensor() throws jpos.JposException- Specified by:
getCapJamSensor
in interfacejpos.services.ItemDispenserService112
- Throws:
jpos.JposException
-
getCapNearEmptySensor
public boolean getCapNearEmptySensor() throws jpos.JposException- Specified by:
getCapNearEmptySensor
in interfacejpos.services.ItemDispenserService112
- Throws:
jpos.JposException
-
getDispenserStatus
public int getDispenserStatus() throws jpos.JposException- Specified by:
getDispenserStatus
in interfacejpos.services.ItemDispenserService112
- Throws:
jpos.JposException
-
getMaxSlots
public int getMaxSlots() throws jpos.JposException- Specified by:
getMaxSlots
in interfacejpos.services.ItemDispenserService112
- Throws:
jpos.JposException
-
adjustItemCount
public void adjustItemCount(int itemCount, int slotNumber) throws jpos.JposException- Specified by:
adjustItemCount
in interfacejpos.services.ItemDispenserService112
- Throws:
jpos.JposException
-
dispenseItem
public void dispenseItem(int[] numItem, int slotNumber) throws jpos.JposException- Specified by:
dispenseItem
in interfacejpos.services.ItemDispenserService112
- Throws:
jpos.JposException
-
readItemCount
public void readItemCount(int[] itemCount, int slotNumber) throws jpos.JposException- Specified by:
readItemCount
in interfacejpos.services.ItemDispenserService112
- Throws:
jpos.JposException
-