| | |
| | | #define MYAPPLICATION2_DUMMY_LIGHT_H |
| | | |
| | | #include "../driver_test.h" |
| | | #include <vector> |
| | | #include <string> |
| | | |
| | | enum { |
| | | TURN_ON_DIPPED_LAMP = 1, |
| | |
| | | |
| | | struct dummy_light_exam { |
| | | int item; |
| | | int itemStatus; |
| | | char tts[512]; |
| | | int wrongCode; |
| | | std::vector<int> process; |
| | | std::vector<int> solution; |
| | | std::string tts; |
| | | }; |
| | | |
| | | void StartDummyLightExam(struct dummy_light_exam *ptr, int num, const struct RtkTime* rtkTime); |
| | | int ExecuteDummyLightExam(const struct RtkTime* rtkTime); |
| | | bool ExecuteDummyLightExam(const struct RtkTime* rtkTime); |
| | | void DummyLightTTSDone(int id); |
| | | void TerminateDummyLightExam(void); |
| | | void handleLigthExam(uint16_t id, int value); |
| | | |
| | | #endif //MYAPPLICATION2_DUMMY_LIGHT_H |