Class BeltService

java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.belt.BeltService
All Implemented Interfaces:
jpos.loader.JposServiceInstance, jpos.services.BaseService, jpos.services.BeltService112, jpos.services.BeltService113, jpos.services.BeltService114, jpos.services.BeltService115, jpos.services.BeltService116

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

    • BeltInterface

      public BeltInterface BeltInterface
      Instance of a class implementing the BeltInterface for belt specific setter and method calls bound to the property set. Almost always the same object as Data.
  • Constructor Details

    • BeltService

      public BeltService(BeltProperties props, JposDevice device)
      Constructor. Stores given property set and device implementation object.
      Parameters:
      props - Property set.
      device - Device implementation object.
  • Method Details

    • getCapAutoStopBackward

      public boolean getCapAutoStopBackward() throws jpos.JposException
      Specified by:
      getCapAutoStopBackward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getCapAutoStopBackwardItemCount

      public boolean getCapAutoStopBackwardItemCount() throws jpos.JposException
      Specified by:
      getCapAutoStopBackwardItemCount in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getCapAutoStopForward

      public boolean getCapAutoStopForward() throws jpos.JposException
      Specified by:
      getCapAutoStopForward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getCapAutoStopForwardItemCount

      public boolean getCapAutoStopForwardItemCount() throws jpos.JposException
      Specified by:
      getCapAutoStopForwardItemCount in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getCapLightBarrierBackward

      public boolean getCapLightBarrierBackward() throws jpos.JposException
      Specified by:
      getCapLightBarrierBackward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getCapLightBarrierForward

      public boolean getCapLightBarrierForward() throws jpos.JposException
      Specified by:
      getCapLightBarrierForward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getCapMoveBackward

      public boolean getCapMoveBackward() throws jpos.JposException
      Specified by:
      getCapMoveBackward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getCapRealTimeData

      public boolean getCapRealTimeData() throws jpos.JposException
      Specified by:
      getCapRealTimeData in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getCapSecurityFlapBackward

      public boolean getCapSecurityFlapBackward() throws jpos.JposException
      Specified by:
      getCapSecurityFlapBackward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getCapSecurityFlapForward

      public boolean getCapSecurityFlapForward() throws jpos.JposException
      Specified by:
      getCapSecurityFlapForward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getCapSpeedStepsBackward

      public int getCapSpeedStepsBackward() throws jpos.JposException
      Specified by:
      getCapSpeedStepsBackward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getCapSpeedStepsForward

      public int getCapSpeedStepsForward() throws jpos.JposException
      Specified by:
      getCapSpeedStepsForward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getAutoStopBackward

      public boolean getAutoStopBackward() throws jpos.JposException
      Specified by:
      getAutoStopBackward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getAutoStopBackwardDelayTime

      public int getAutoStopBackwardDelayTime() throws jpos.JposException
      Specified by:
      getAutoStopBackwardDelayTime in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getAutoStopBackwardItemCount

      public int getAutoStopBackwardItemCount() throws jpos.JposException
      Specified by:
      getAutoStopBackwardItemCount in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getAutoStopForward

      public boolean getAutoStopForward() throws jpos.JposException
      Specified by:
      getAutoStopForward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getAutoStopForwardDelayTime

      public int getAutoStopForwardDelayTime() throws jpos.JposException
      Specified by:
      getAutoStopForwardDelayTime in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getAutoStopForwardItemCount

      public int getAutoStopForwardItemCount() throws jpos.JposException
      Specified by:
      getAutoStopForwardItemCount in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getLightBarrierBackwardInterrupted

      public boolean getLightBarrierBackwardInterrupted() throws jpos.JposException
      Specified by:
      getLightBarrierBackwardInterrupted in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getLightBarrierForwardInterrupted

      public boolean getLightBarrierForwardInterrupted() throws jpos.JposException
      Specified by:
      getLightBarrierForwardInterrupted in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getMotionStatus

      public int getMotionStatus() throws jpos.JposException
      Specified by:
      getMotionStatus in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getSecurityFlapBackwardOpened

      public boolean getSecurityFlapBackwardOpened() throws jpos.JposException
      Specified by:
      getSecurityFlapBackwardOpened in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • getSecurityFlapForwardOpened

      public boolean getSecurityFlapForwardOpened() throws jpos.JposException
      Specified by:
      getSecurityFlapForwardOpened in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • setAutoStopBackward

      public void setAutoStopBackward(boolean b) throws jpos.JposException
      Specified by:
      setAutoStopBackward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • setAutoStopBackwardDelayTime

      public void setAutoStopBackwardDelayTime(int i) throws jpos.JposException
      Specified by:
      setAutoStopBackwardDelayTime in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • setAutoStopForward

      public void setAutoStopForward(boolean b) throws jpos.JposException
      Specified by:
      setAutoStopForward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • setAutoStopForwardDelayTime

      public void setAutoStopForwardDelayTime(int i) throws jpos.JposException
      Specified by:
      setAutoStopForwardDelayTime in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • adjustItemCount

      public void adjustItemCount(int i, int i1) throws jpos.JposException
      Specified by:
      adjustItemCount in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • moveBackward

      public void moveBackward(int i) throws jpos.JposException
      Specified by:
      moveBackward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • moveForward

      public void moveForward(int i) throws jpos.JposException
      Specified by:
      moveForward in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • resetBelt

      public void resetBelt() throws jpos.JposException
      Specified by:
      resetBelt in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • resetItemCount

      public void resetItemCount(int i) throws jpos.JposException
      Specified by:
      resetItemCount in interface jpos.services.BeltService112
      Throws:
      jpos.JposException
    • stopBelt

      public void stopBelt() throws jpos.JposException
      Specified by:
      stopBelt in interface jpos.services.BeltService112
      Throws:
      jpos.JposException