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 TypeMethodDescriptionvoidadjustItemCount(int itemCount, int slotNumber)voiddispenseItem(int[] numItem, int slotNumber)booleanbooleanbooleanbooleanintintvoidreadItemCount(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, updateStatisticsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEventsMethods inherited from interface jpos.services.ItemDispenserService112
compareFirmwareVersion, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getPowerNotify, getPowerState, resetStatistics, retrieveStatistics, setPowerNotify, updateFirmware, updateStatisticsMethods 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:
getCapEmptySensorin interfacejpos.services.ItemDispenserService112- Throws:
jpos.JposException
-
getCapIndividualSlotStatus
public boolean getCapIndividualSlotStatus() throws jpos.JposException- Specified by:
getCapIndividualSlotStatusin interfacejpos.services.ItemDispenserService112- Throws:
jpos.JposException
-
getCapJamSensor
public boolean getCapJamSensor() throws jpos.JposException- Specified by:
getCapJamSensorin interfacejpos.services.ItemDispenserService112- Throws:
jpos.JposException
-
getCapNearEmptySensor
public boolean getCapNearEmptySensor() throws jpos.JposException- Specified by:
getCapNearEmptySensorin interfacejpos.services.ItemDispenserService112- Throws:
jpos.JposException
-
getDispenserStatus
public int getDispenserStatus() throws jpos.JposException- Specified by:
getDispenserStatusin interfacejpos.services.ItemDispenserService112- Throws:
jpos.JposException
-
getMaxSlots
public int getMaxSlots() throws jpos.JposException- Specified by:
getMaxSlotsin interfacejpos.services.ItemDispenserService112- Throws:
jpos.JposException
-
adjustItemCount
public void adjustItemCount(int itemCount, int slotNumber) throws jpos.JposException- Specified by:
adjustItemCountin interfacejpos.services.ItemDispenserService112- Throws:
jpos.JposException
-
dispenseItem
public void dispenseItem(int[] numItem, int slotNumber) throws jpos.JposException- Specified by:
dispenseItemin interfacejpos.services.ItemDispenserService112- Throws:
jpos.JposException
-
readItemCount
public void readItemCount(int[] itemCount, int slotNumber) throws jpos.JposException- Specified by:
readItemCountin interfacejpos.services.ItemDispenserService112- Throws:
jpos.JposException
-