From e021e593c56c3338ddddd35d7817ef6cd2fa504b Mon Sep 17 00:00:00 2001
From: fctom1215 <fctom1215@outlook.com>
Date: 星期日, 15 三月 2020 22:55:22 +0800
Subject: [PATCH] 完善车辆信号测试。

---
 lib/src/main/cpp/test_items2/dummy_light.h |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/lib/src/main/cpp/test_items2/dummy_light.h b/lib/src/main/cpp/test_items2/dummy_light.h
index 34bc315..8f481d2 100644
--- a/lib/src/main/cpp/test_items2/dummy_light.h
+++ b/lib/src/main/cpp/test_items2/dummy_light.h
@@ -5,12 +5,30 @@
 #ifndef MYAPPLICATION2_DUMMY_LIGHT_H
 #define MYAPPLICATION2_DUMMY_LIGHT_H
 
+#include "../driver_test.h"
+
+enum {
+    TURN_ON_DIPPED_LAMP = 1,
+    DRIVE_AT_NIGHT,
+    BRIDGE_MEET_CAR,
+    TURN_ON_MAIN_BEAM_LAMP,
+    FOLLOW_CAR,
+    DRIVE_IN_FOG,
+    THROUGE_CROSSWALK,
+    CAR_FAULT,
+    THROUGE_CURVE,
+    THROUGE_CROSSROADS,
+    PARK_CAR_TEMP,
+    OVERTAKE
+};
+
 struct dummy_light_exam {
     int item;
     char tts[512];
 };
 
-void StartDummyLightExam(struct dummy_light_exam *ptr, int num);
+void StartDummyLightExam(struct dummy_light_exam *ptr, int num, const struct RtkTime* rtkTime);
+int ExecuteDummyLightExam(const struct RtkTime* rtkTime);
 void DummyLightTTSDone(int id);
 
 #endif //MYAPPLICATION2_DUMMY_LIGHT_H

--
Gitblit v1.8.0