seqint seqhex
This commit is contained in:
parent
844c5ecafe
commit
c837858be9
@ -9,16 +9,27 @@ public class BaseData implements Serializable {
|
||||
private String createBy;
|
||||
private String createTime;
|
||||
private String hex;
|
||||
private int seq;
|
||||
private String seqhex;
|
||||
private int seqint;
|
||||
|
||||
public int getSeq() {
|
||||
public String getSeqhex() {
|
||||
|
||||
return seq;
|
||||
return seqhex;
|
||||
}
|
||||
|
||||
public void setSeq(int seq) {
|
||||
public void setSeqhex(String seqhex) {
|
||||
|
||||
this.seq = seq;
|
||||
this.seqhex = seqhex;
|
||||
}
|
||||
|
||||
public int getSeqint() {
|
||||
|
||||
return seqint;
|
||||
}
|
||||
|
||||
public void setSeqint(int seqint) {
|
||||
|
||||
this.seqint = seqint;
|
||||
}
|
||||
|
||||
public String getCreateBy() {
|
||||
|
||||
@ -213,7 +213,7 @@ public class ChargingPileBinaryHandler implements ClientBinaryHandler {
|
||||
pos += field.getLen();
|
||||
}
|
||||
result.put("hex", toHex(data));
|
||||
result.put("seq", getSeq(data));
|
||||
result.put("seqhex", getSeq(data));
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user