You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 lines
2.2 KiB
Java

package com.example.writeepc;
import androidx.databinding.BaseObservable;
public class InfoData extends BaseObservable {
private int power;
private String epc;
private String writeEpc;
private String readEpc;
private String readAscii;
private boolean state;
private String readTId;
private byte[] tidBytes;
private String writeUser;
private String readUser;
private int readLenth=4;
public int getReadLenth() {
return readLenth;
}
public void setReadLenth(int readLenth) {
this.readLenth = readLenth;
}
public String getWriteUser() {
return writeUser;
}
public void setWriteUser(String writeUser) {
this.writeUser = writeUser;
notifyChange();
}
public String getReadUser() {
return readUser;
}
public void setReadUser(String readUser) {
this.readUser = readUser;
notifyChange();
}
public byte[] getTidBytes() {
return tidBytes;
}
public void setTidBytes(byte[] tidBytes) {
this.tidBytes = tidBytes;
}
public String getReadTId() {
return readTId;
}
public void setReadTId(String readTId) {
this.readTId = readTId;
notifyChange();
}
public String getWriteEpc() {
return writeEpc;
}
public void setWriteEpc(String writeEpc) {
this.writeEpc = writeEpc;
notifyChange();
}
public String getReadAscii() {
return readAscii;
}
public void setReadAscii(String readAscii) {
this.readAscii = readAscii;
notifyChange();
}
public int getPower() {
return power;
}
public void setPower(int power) {
this.power = power;
notifyChange();
}
public String getEpc() {
return epc;
}
public void setEpc(String epc) {
this.epc = epc;
notifyChange();
}
public String getReadEpc() {
return readEpc;
}
public void setReadEpc(String readEpc) {
this.readEpc = readEpc;
notifyChange();
}
public boolean isState() {
return state;
}
public void setState(boolean state) {
this.state = state;
notifyChange();
}
}