Class ImageScannerService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.imagescanner.ImageScannerService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance
,jpos.services.BaseService
,jpos.services.ImageScannerService111
,jpos.services.ImageScannerService112
,jpos.services.ImageScannerService113
,jpos.services.ImageScannerService114
,jpos.services.ImageScannerService115
,jpos.services.ImageScannerService116
ImageScanner service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the ImageScannerInterface for image scanner 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
ConstructorsConstructorDescriptionImageScannerService(ImageScannerProperties props, JposDevice device)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Get common property AutoDisable, see UPOS specificationint
boolean
boolean
boolean
boolean
boolean
boolean
boolean
byte[]
int
boolean
int
int
int
int
int
int
int
int
void
setAimMode(boolean aimMode)
void
setAutoDisable(boolean b)
Set common property AutoDisable, see UPOS specificationvoid
setIlluminateMode(boolean illuminateMode)
void
setImageMode(int imageMode)
void
setImageQuality(int imageQuality)
void
setVideoCount(int videoCount)
void
setVideoRate(int videoRate)
void
void
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, 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, 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.ImageScannerService111
clearInput, clearInputProperties, compareFirmwareVersion, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getDataCount, getDataEventEnabled, getPowerNotify, getPowerState, resetStatistics, retrieveStatistics, setDataEventEnabled, setPowerNotify, updateFirmware, updateStatistics
Methods inherited from interface jpos.loader.JposServiceInstance
deleteInstance
-
Field Details
-
ImageScanner
Instance of a class implementing the ImageScannerInterface for image scanner specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
ImageScannerService
Constructor. Stores given property set and device implementation object.- Parameters:
props
- Property set.device
- Device implementation object.
-
-
Method Details
-
getAutoDisable
public boolean getAutoDisable() throws jpos.JposExceptionDescription copied from class:JposBase
Get common property AutoDisable, see UPOS specification- Specified by:
getAutoDisable
in interfacejpos.services.ImageScannerService111
- Overrides:
getAutoDisable
in classJposBase
- Returns:
- property value
- Throws:
jpos.JposException
- See UPOS specification, property AutoDisable
-
setAutoDisable
public void setAutoDisable(boolean b) throws jpos.JposExceptionDescription copied from class:JposBase
Set common property AutoDisable, see UPOS specification- Specified by:
setAutoDisable
in interfacejpos.services.ImageScannerService111
- Overrides:
setAutoDisable
in classJposBase
- Parameters:
b
- New property value- Throws:
jpos.JposException
- See UPOS specification, property AutoDisable
-
getCapAim
public boolean getCapAim() throws jpos.JposException- Specified by:
getCapAim
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getCapDecodeData
public boolean getCapDecodeData() throws jpos.JposException- Specified by:
getCapDecodeData
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getCapHostTriggered
public boolean getCapHostTriggered() throws jpos.JposException- Specified by:
getCapHostTriggered
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getCapIlluminate
public boolean getCapIlluminate() throws jpos.JposException- Specified by:
getCapIlluminate
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getCapImageData
public boolean getCapImageData() throws jpos.JposException- Specified by:
getCapImageData
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getCapImageQuality
public boolean getCapImageQuality() throws jpos.JposException- Specified by:
getCapImageQuality
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getCapVideoData
public boolean getCapVideoData() throws jpos.JposException- Specified by:
getCapVideoData
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getAimMode
public boolean getAimMode() throws jpos.JposException- Specified by:
getAimMode
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getBitsPerPixel
public int getBitsPerPixel() throws jpos.JposException- Specified by:
getBitsPerPixel
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getFrameData
public byte[] getFrameData() throws jpos.JposException- Specified by:
getFrameData
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getFrameType
public int getFrameType() throws jpos.JposException- Specified by:
getFrameType
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getIlluminateMode
public boolean getIlluminateMode() throws jpos.JposException- Specified by:
getIlluminateMode
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getImageHeight
public int getImageHeight() throws jpos.JposException- Specified by:
getImageHeight
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getImageLength
public int getImageLength() throws jpos.JposException- Specified by:
getImageLength
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getImageMode
public int getImageMode() throws jpos.JposException- Specified by:
getImageMode
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getImageQuality
public int getImageQuality() throws jpos.JposException- Specified by:
getImageQuality
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getImageType
public int getImageType() throws jpos.JposException- Specified by:
getImageType
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getImageWidth
public int getImageWidth() throws jpos.JposException- Specified by:
getImageWidth
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getVideoCount
public int getVideoCount() throws jpos.JposException- Specified by:
getVideoCount
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
getVideoRate
public int getVideoRate() throws jpos.JposException- Specified by:
getVideoRate
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
setAimMode
public void setAimMode(boolean aimMode) throws jpos.JposException- Specified by:
setAimMode
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
setIlluminateMode
public void setIlluminateMode(boolean illuminateMode) throws jpos.JposException- Specified by:
setIlluminateMode
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
setImageMode
public void setImageMode(int imageMode) throws jpos.JposException- Specified by:
setImageMode
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
setImageQuality
public void setImageQuality(int imageQuality) throws jpos.JposException- Specified by:
setImageQuality
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
setVideoCount
public void setVideoCount(int videoCount) throws jpos.JposException- Specified by:
setVideoCount
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
setVideoRate
public void setVideoRate(int videoRate) throws jpos.JposException- Specified by:
setVideoRate
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
startSession
public void startSession() throws jpos.JposException- Specified by:
startSession
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-
stopSession
public void stopSession() throws jpos.JposException- Specified by:
stopSession
in interfacejpos.services.ImageScannerService111
- Throws:
jpos.JposException
-