| | |
| | | |
| | | void SetDummyLightExam(int n, struct dummy_light_exam *cfg) |
| | | { |
| | | DEBUG("获取模拟路考灯光测试项目"); |
| | | |
| | | if (TestStart) return; |
| | | |
| | | if (DummyLightContent != NULL) { |
| | |
| | | void StartDriverExam(int start, int type) |
| | | { |
| | | bool err = false; |
| | | DEBUG("++++++++++++考试启动 start %d type %d+++++++++++++", start, type); |
| | | |
| | | if (start == 0) { |
| | | DEBUG("-------------结束考试----------------"); |
| | | |
| | | // CurrExamMapIndex = -1; |
| | | // TestStart = false; |
| | | // CommTestStart(false); |
| | | // MA_SendExamStatus(0, 0); |
| | | return; |
| | | } |
| | | |
| | | DEBUG("+++++++++++++++开始考试++++++++++++++++++++"); |
| | | |
| | | if (MapNum == 0) { |
| | | err = true; |
| | |
| | | examFaultIndex = 0; |
| | | |
| | | TestStart = true; |
| | | TestType = type; |
| | | CommTestStart(true); |
| | | |
| | | if (type == TEST_TYPE_ROAD_DUMMY_LIGHT) { |