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

public class ImageScannerService extends JposBase implements jpos.services.ImageScannerService116
ImageScanner service implementation. For more details about getter, setter and method implementations, see JposBase.
  • Field Details

    • ImageScanner

      public ImageScannerInterface 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

      public ImageScannerService(ImageScannerProperties props, JposDevice device)
      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.JposException
      Description copied from class: JposBase
      Get common property AutoDisable, see UPOS specification
      Specified by:
      getAutoDisable in interface jpos.services.ImageScannerService111
      Overrides:
      getAutoDisable in class JposBase
      Returns:
      property value
      Throws:
      jpos.JposException - See UPOS specification, property AutoDisable
    • setAutoDisable

      public void setAutoDisable(boolean b) throws jpos.JposException
      Description copied from class: JposBase
      Set common property AutoDisable, see UPOS specification
      Specified by:
      setAutoDisable in interface jpos.services.ImageScannerService111
      Overrides:
      setAutoDisable in class JposBase
      Parameters:
      b - New property value
      Throws:
      jpos.JposException - See UPOS specification, property AutoDisable
    • getCapAim

      public boolean getCapAim() throws jpos.JposException
      Specified by:
      getCapAim in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getCapDecodeData

      public boolean getCapDecodeData() throws jpos.JposException
      Specified by:
      getCapDecodeData in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getCapHostTriggered

      public boolean getCapHostTriggered() throws jpos.JposException
      Specified by:
      getCapHostTriggered in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getCapIlluminate

      public boolean getCapIlluminate() throws jpos.JposException
      Specified by:
      getCapIlluminate in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getCapImageData

      public boolean getCapImageData() throws jpos.JposException
      Specified by:
      getCapImageData in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getCapImageQuality

      public boolean getCapImageQuality() throws jpos.JposException
      Specified by:
      getCapImageQuality in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getCapVideoData

      public boolean getCapVideoData() throws jpos.JposException
      Specified by:
      getCapVideoData in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getAimMode

      public boolean getAimMode() throws jpos.JposException
      Specified by:
      getAimMode in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getBitsPerPixel

      public int getBitsPerPixel() throws jpos.JposException
      Specified by:
      getBitsPerPixel in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getFrameData

      public byte[] getFrameData() throws jpos.JposException
      Specified by:
      getFrameData in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getFrameType

      public int getFrameType() throws jpos.JposException
      Specified by:
      getFrameType in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getIlluminateMode

      public boolean getIlluminateMode() throws jpos.JposException
      Specified by:
      getIlluminateMode in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getImageHeight

      public int getImageHeight() throws jpos.JposException
      Specified by:
      getImageHeight in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getImageLength

      public int getImageLength() throws jpos.JposException
      Specified by:
      getImageLength in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getImageMode

      public int getImageMode() throws jpos.JposException
      Specified by:
      getImageMode in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getImageQuality

      public int getImageQuality() throws jpos.JposException
      Specified by:
      getImageQuality in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getImageType

      public int getImageType() throws jpos.JposException
      Specified by:
      getImageType in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getImageWidth

      public int getImageWidth() throws jpos.JposException
      Specified by:
      getImageWidth in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getVideoCount

      public int getVideoCount() throws jpos.JposException
      Specified by:
      getVideoCount in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • getVideoRate

      public int getVideoRate() throws jpos.JposException
      Specified by:
      getVideoRate in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • setAimMode

      public void setAimMode(boolean aimMode) throws jpos.JposException
      Specified by:
      setAimMode in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • setIlluminateMode

      public void setIlluminateMode(boolean illuminateMode) throws jpos.JposException
      Specified by:
      setIlluminateMode in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • setImageMode

      public void setImageMode(int imageMode) throws jpos.JposException
      Specified by:
      setImageMode in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • setImageQuality

      public void setImageQuality(int imageQuality) throws jpos.JposException
      Specified by:
      setImageQuality in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • setVideoCount

      public void setVideoCount(int videoCount) throws jpos.JposException
      Specified by:
      setVideoCount in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • setVideoRate

      public void setVideoRate(int videoRate) throws jpos.JposException
      Specified by:
      setVideoRate in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • startSession

      public void startSession() throws jpos.JposException
      Specified by:
      startSession in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException
    • stopSession

      public void stopSession() throws jpos.JposException
      Specified by:
      stopSession in interface jpos.services.ImageScannerService111
      Throws:
      jpos.JposException