1、断点补传的指令有误
This commit is contained in:
parent
b05cd37aba
commit
acdf5cea0f
@ -83,7 +83,7 @@ public class APIController extends BasicController{
|
|||||||
Short len = 15;
|
Short len = 15;
|
||||||
String uploadCmd = "D312" + HexUtil.Short2HexString(len) +
|
String uploadCmd = "D312" + HexUtil.Short2HexString(len) +
|
||||||
HexUtil.Int2HexString(Integer.parseInt(deviceId)) +
|
HexUtil.Int2HexString(Integer.parseInt(deviceId)) +
|
||||||
"0F"
|
"1B"
|
||||||
+ HexUtil.Byte2HexString((byte) (lastOnlineTime.getYear() - 2000))
|
+ HexUtil.Byte2HexString((byte) (lastOnlineTime.getYear() - 2000))
|
||||||
+ HexUtil.Byte2HexString((byte) (lastOnlineTime.getMonthValue()))
|
+ HexUtil.Byte2HexString((byte) (lastOnlineTime.getMonthValue()))
|
||||||
+ HexUtil.Byte2HexString((byte) (lastOnlineTime.getDayOfMonth()))
|
+ HexUtil.Byte2HexString((byte) (lastOnlineTime.getDayOfMonth()))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user