add 联联平台请求设备认证接口

This commit is contained in:
Lemon
2023-04-24 13:55:33 +08:00
parent 1227ed92c5
commit a18c693d4c
7 changed files with 169 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ public class DateUtils extends org.apache.commons.lang3.time.DateUtils {
}
}
public static void main(String[] args) {
public static void main(String[] args) throws ParseException {
// String str = "2023-01-07 11:17:12";
// Date date = parseDate(str);
// String str1 = parseDateToStr(YYYY_MM_DD_HH_MM_SS, date);

View File

@@ -133,6 +133,10 @@ public class YKCUtils {
String s = transitionTemperature(bytes);
System.out.println(s);
byte[] bytess = new byte[]{(byte) 0x80, (byte) 0x1A, 0x06, 0x00};
String s1 = convertDecimalPoint(bytess, 5);
System.out.println(s1);
}
/**