From 06d9122600054934d4793f8a55fe10289f410743 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期五, 15 十一月 2019 10:07:46 +0800
Subject: [PATCH] add comment

---
 go2c.go |   42 +++++++++++++++++++++---------------------
 1 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/go2c.go b/go2c.go
index 1139635..97909d6 100644
--- a/go2c.go
+++ b/go2c.go
@@ -102,27 +102,27 @@
 }
 
 type CPlateIDResult struct {
-	License [16]uint8
-	Color   [8]uint8
+	License [16]uint8 // 杞︾墝瀛楃涓� STRING
+	Color   [8]uint8  // 杞︾墝棰滆壊 STRING
 
-	NColor      int32
-	NType       int32
-	NConfidence int32
-	NBright     int32
-	NDirection  int32
+	NColor      int32 // 杞︾墝棰滆壊
+	NType       int32 // 杞︾墝绫诲瀷
+	NConfidence int32 // 鏁寸墝鍙俊搴�
+	NBright     int32 // 浜害璇勪环
+	NDirection  int32 // 杞︾墝杩愬姩鏂瑰悜锛�0 unknown, 1 left, 2 right, 3 up, 4 down
 
-	RcLocation          CRECT
-	PbyBits             [4]uint8
-	NTime               int32
-	NCarBright          uint8
-	NCarColor           uint8
-	NCarLogo            uint8
-	NCarType            uint8
-	PbyPlateBin         [4]uint8
-	NBinPlateWidth      [2]uint8
-	NBinPlateHeight     [2]uint8
-	Reserved            [70]uint8
-	RcLogoLocation      CRECT
-	NCarModel           [2]uint8
-	NCarModelConfidence [2]uint8
+	RcLocation          CRECT     // 杞︾墝鍧愭爣
+	PbyBits             [4]uint8  // 璇嗗埆缁撴灉瀵瑰簲鐨勫浘鐗囩殑缂撳啿鍖� NO USE
+	NTime               int32     // 璇嗗埆鑰楁椂
+	NCarBright          uint8     // 杞︾殑浜害
+	NCarColor           uint8     // 杞︾殑棰滆壊
+	NCarLogo            uint8     // 杞︽爣绫诲瀷
+	NCarType            uint8     // 杞﹁締绫诲瀷
+	PbyPlateBin         [4]uint8  // 杞︾墝浜屽�煎寲缁撴灉锛堟寜bit瀛樺偍锛塏O USE
+	NBinPlateWidth      [2]uint8  // 浜屽�煎寲缁撴灉涓溅鐗屽搴� NO USE
+	NBinPlateHeight     [2]uint8  // 浜屽�煎寲缁撴灉涓溅鐗岄珮搴� NO USE
+	Reserved            [70]uint8 // 淇濈暀
+	RcLogoLocation      CRECT     // 杞︽爣鍧愭爣
+	NCarModel           [2]uint8  // 杞﹁締绫诲瀷
+	NCarModelConfidence [2]uint8  // 杞﹀瀷鍙俊搴�
 }

--
Gitblit v1.8.0