com.pax.dal

Interface ISignPad

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      int cancel()
      取消接收进程
      cancel receive thread
      int displayWord(int x, int y, byte dataID, byte flag, byte confirm, int displayTime)
      签名版显示文字内容
      display text content on singpad
      void setPort(EUartPort port)
      设置外置签名版的连接端口
      Set connection port of the external SignPad
      int showIdleScreen()
      外置签名版 返回待机界面
      Return to standby interface
      SignPadResp signStart(java.lang.String serial)
      请求签名
      Request signature
    • Method Detail

      • signStart

        SignPadResp signStart(java.lang.String serial)
        请求签名
        Request signature
        Parameters:
        serial -
        16位/8字节的特征码
        16/8 byte Characteristic code
        Returns:
        SignPadResp
      • displayWord

        int displayWord(int x,
                        int y,
                        byte dataID,
                        byte flag,
                        byte confirm,
                        int displayTime)
        签名版显示文字内容
        display text content on singpad
        Parameters:
        x -
        X坐标
        X axes
        y -
        Y坐标
        Y axes
        dataID -
        文字内容ID
        content id
        flag -
        0:不刷屏 1:刷屏
        0:not Shuabing 1:Shuabing
        confirm -
        0:无需确认 1:需确认
        0:need not confirm 1:need confirm
        displayTime -
        显示时间 100ms的倍数
        Display time: Multiple of 100ms
        Returns:
        1:成功 2:失败
        1:success 2:fail
      • cancel

        int cancel()
        取消接收进程
        cancel receive thread
        Returns:
        1:成功 0: IComm连接为空
        1:success 0: IComm is null
      • showIdleScreen

        int showIdleScreen()
        外置签名版 返回待机界面
        Return to standby interface
        Returns:
        1:成功 0: 失败
        1:success 0:fail
      • setPort

        void setPort(EUartPort port)
        设置外置签名版的连接端口
        Set connection port of the external SignPad
        Parameters:
        port - EUartPort
        Since:
        V3.02.00