1、断点补传的指令有误

This commit is contained in:
weidong 2024-05-20 20:47:09 +08:00
parent b05cd37aba
commit acdf5cea0f

View File

@ -83,7 +83,7 @@ public class APIController extends BasicController{
Short len = 15;
String uploadCmd = "D312" + HexUtil.Short2HexString(len) +
HexUtil.Int2HexString(Integer.parseInt(deviceId)) +
"0F"
"1B"
+ HexUtil.Byte2HexString((byte) (lastOnlineTime.getYear() - 2000))
+ HexUtil.Byte2HexString((byte) (lastOnlineTime.getMonthValue()))
+ HexUtil.Byte2HexString((byte) (lastOnlineTime.getDayOfMonth()))