From 09b0098b3b092cb28435c8d550c2f7b30bf53e0a Mon Sep 17 00:00:00 2001 From: yy1717 <fctom1215@outlook.com> Date: 星期三, 15 一月 2020 18:28:14 +0800 Subject: [PATCH] updatec --- lib/src/main/cpp/driver_test.h | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/lib/src/main/cpp/driver_test.h b/lib/src/main/cpp/driver_test.h index ddc0dab..c1c2b58 100644 --- a/lib/src/main/cpp/driver_test.h +++ b/lib/src/main/cpp/driver_test.h @@ -12,6 +12,8 @@ #define TIRE_OUTSIDE 0 #define TIRE_INSIDE 1 +#define AXIAL_FRONT 0 +#define AXIAL_REAR 1 using namespace std; @@ -54,6 +56,16 @@ carModelDesc_t *desc; } car_model_cache_t; +struct RtkTime { + int YY; + int MM; + int DD; + int hh; + int mm; + int ss; + int mss; +}; + struct ExamFault { int sn; char utc[32]; @@ -72,8 +84,7 @@ void SetSensorCfg(int (*sensor)[2], int sensorNum); void StartDriverExam(int start); void UpdateRTKInfo(const rtk_info *s); -void AddExamFault(int wrong, const char *utc); - +void AddExamFault(int wrong, const struct RtkTime *rtkTime); car_model_cache_t *GetCarModelCache(int node); #endif //RTKDRIVERTEST_DRIVER_TEST_H -- Gitblit v1.8.0