From c9a3c06b37b5b2eb9b02d4e6348e5c53145284d9 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 16 九月 2019 17:40:20 +0800
Subject: [PATCH] 1.  添加注释 2. 添加粘包分包解码器 3. 修改数据单元信息体获取逻辑 4. 修改接收数据转换后的string列表,展示为16进制数时,小于16的应该在前面补0,否则之后计算会出错

---
 src/main/kotlin/com/flightfeather/obd/socket/bean/ReplacementData.kt |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/obd/socket/bean/ReplacementData.kt b/src/main/kotlin/com/flightfeather/obd/socket/bean/ReplacementData.kt
index e5f8b6b..7015597 100644
--- a/src/main/kotlin/com/flightfeather/obd/socket/bean/ReplacementData.kt
+++ b/src/main/kotlin/com/flightfeather/obd/socket/bean/ReplacementData.kt
@@ -1,9 +1,15 @@
 package com.flightfeather.obd.socket.bean
 
+import java.util.*
+import com.flightfeather.obd.socket.eunm.ObdCommandUnit
+
 /**
  * @author riku
  * Date: 2019/9/12
- * 琛ュ彂淇℃伅涓庡疄鏃朵俊鎭唴瀹逛竴鑷�
+ * 琛ュ彂淇℃伅涓庡疄鏃朵俊鎭唴瀹逛竴鑷� @see [RealTimeData]
+ * 鏁版嵁绫诲瀷 @see [ObdCommandUnit.ReplacementData]
  */
-open class ReplacementData : DataUnit() {
-}
\ No newline at end of file
+open class ReplacementData (
+        time: Date?,
+        serialNum: Int?
+): DataUnit(time, serialNum)
\ No newline at end of file

--
Gitblit v1.9.3