类 Failure
java.lang.Object
com.inlaylink.rfid.bean.receive.Failure
- 所有已实现的接口:
Serializable
The type Failure.
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明bytegetCmd()Gets cmd.intGets error code.voidsetCmd(byte cmd) Sets cmd.voidsetErrorCode(int errorCode) Sets error code.toString()
-
构造器详细资料
-
Failure
public Failure()Instantiates a new Failure.
-
-
方法详细资料
-
getCmd
public byte getCmd()Gets cmd.- 返回:
- the cmd
-
setCmd
public void setCmd(byte cmd) Sets cmd.- 参数:
cmd- the cmd
-
setErrorCode
public void setErrorCode(int errorCode) Sets error code.- 参数:
errorCode- the error code
-
getErrorCode
public int getErrorCode()Gets error code.- 返回:
- the error code
-
toString
-