#ifndef _MENUS_H_
#define _MENUS_H_

#include "GUI.h"
#include "IO_Manager.h"
#include "Key.h"
#include "Drive_Info.h"

#define HOUR_Ten_Set_Disp     0
#define HOUR_One_Set_Disp     1
#define MINUTE_Ten_Set_Disp   2
#define MINUTE_One_Set_Disp   3

#define TRAPA  0
#define TRAPB  1

#define MenuFuel   0
#define MenuFue2   1
#define MenuFue3   2

extern uint8_t ClockPOS;
//extern uint8_t TrapPOS;
extern uint8_t MenuDisplay;

extern uint16_t keytime;

extern uint8_t  SetMenu;           //设置页     0 时间设置 1 雷达设置 2 退出
extern uint8_t  SetMenupage;       //显示页     0 设置页   1 时间设置 2 雷达设置
extern uint8_t  SetRadar;          //雷达显示   0 开启     1 关闭      白条
extern uint8_t  SetDot;            //雷达设置   0 开启     1 关闭      圆点
extern uint8_t  SetHoofswear;      //蹄片磨损报警设置
extern uint8_t  Setservice;
extern uint8_t  Service_Open;
extern uint8_t  BcakLightPOS;
extern uint8_t  BAOYANGPOS;
extern uint8_t  DriveModePOS;
extern uint8_t  DriveMode;
extern uint8_t  OverSpeedPOS;
extern uint8_t  OverSpeedSet;
extern uint8_t  SetMinute_Ten;     //分钟设置
extern uint8_t  SetMinute_One;     //分钟设置
extern uint8_t  SetHour_Ten;       //小时设置
extern uint8_t  SetHour_One;       //小时设置
extern uint8_t  Maintain_clear;

void Menu_Processing_Service(void);
void Time_Seting(void);
void App_CalBatBoard(void);

#endif