seqint seqhex

This commit is contained in:
zz 2021-09-15 17:59:26 +08:00
parent 844c5ecafe
commit c837858be9
2 changed files with 17 additions and 6 deletions

View File

@ -9,16 +9,27 @@ public class BaseData implements Serializable {
private String createBy; private String createBy;
private String createTime; private String createTime;
private String hex; 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() { public String getCreateBy() {

View File

@ -213,7 +213,7 @@ public class ChargingPileBinaryHandler implements ClientBinaryHandler {
pos += field.getLen(); pos += field.getLen();
} }
result.put("hex", toHex(data)); result.put("hex", toHex(data));
result.put("seq", getSeq(data)); result.put("seqhex", getSeq(data));
return result; return result;
} }