ProtocolEventArg

com.ad.rfid

## 类 ProtocolEventArg

- java.lang.Object
- - com.ad.rfid.ProtocolEventArg

-     public class ProtocolEventArg
      extends Object

  receive data(Hex) event 数据接收事件
  作者:
    endyc

- - ### 构造器概要

    构造器
    构造器和说明
    `ProtocolEventArg(byte[] dataArray)` initialize
    `ProtocolEventArg(byte[] dataArray, int devicemode)` initialize

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `ProtocolImpinj` | `BytesToImpinj(byte[] iData)` Convert byte arrays into classes that are formatted according to impinj protocols.
    `ProtocolStandard` | `BytesToStandard(byte[] iData)` Convert byte arrays into classes that are formatted according to standard protocols.
    `byte[]` | `getData()` Get Data array
    `int` | `getDeviceMode()` Get Device Mode
    `ProtocolImpinj` | `getProtocolImpinj()` Get Impinj protocol data for input data array
    `ProtocolStandard` | `getProtocolStandard()` Get Standard protocol data for input data array

    - ### 从类继承的方法 java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### ProtocolEventArg

          public ProtocolEventArg(byte[] dataArray)

      initialize
      参数:
        `dataArray` - input data array

    - #### ProtocolEventArg

          public ProtocolEventArg(byte[] dataArray,
                                  int devicemode)

      initialize
      参数:
        `dataArray` - input data array
        `devicemode` - device mode

  - ### 方法详细资料

    - #### getData

          public byte[] getData()

      Get Data array
      返回:
        Data array

    - #### getDeviceMode

          public int getDeviceMode()

      Get Device Mode
      返回:

    - #### getProtocolStandard

          public ProtocolStandard getProtocolStandard()

      Get Standard protocol data for input data array
      返回:

    - #### getProtocolImpinj

          public ProtocolImpinj getProtocolImpinj()

      Get Impinj protocol data for input data array
      返回:

    - #### BytesToStandard

          public ProtocolStandard BytesToStandard(byte[] iData)

      Convert byte arrays into classes that are formatted according to standard protocols.
      参数:
        `iData` -
      返回:

    - #### BytesToImpinj

          public ProtocolImpinj BytesToImpinj(byte[] iData)

      Convert byte arrays into classes that are formatted according to impinj protocols.
      参数:
        `iData` -
      返回: