Menu_user.c 38.7 KB
Newer Older
hu's avatar
hu committed
1

hu's avatar
hu committed
2
#define   GLOBALS_MEU_PROCESS
hu's avatar
hu committed
3 4 5 6 7 8
#include "Menu.h"
#include "GUI.h"
#include "Services_Mileage.h"
#include "Data_FuelConsump.h"
#include "CAN_Communication_Matrix.h"
#include "Common_Interface.h"
hu's avatar
hu committed
9
#include "RTE_TIME.h"
hu's avatar
hu committed
10

hu's avatar
hu committed
11 12 13 14 15 16 17
uint8_t     bMenuSwFlag;
uint8_t     g_ClearWin1;
uint8_t     bNextMenuIDX;
uint8_t     bCurMenuIDX;
uint8_t     bMainMenuIDX;
uint8_t     bOldMenuIDX;

18 19
_MenuFlag    MenuFlag   ;

hu's avatar
hu committed
20 21 22 23
const _MenuOptTab   MenuOptTab[] =
{
    /*---------ENTER---------------------UP-----------------------DOWN----------------------EXIT------------------ENTER------------------DO-----------------EXIT------------*/
    /*主循环界面*/
hu's avatar
hu committed
24 25 26 27 28 29 30
    /*00*/{ _MN_DSP_LEVEL2MENU_2,     _MN_DSP_LEVEL1MENU_6,     _MN_DSP_LEVEL1MENU_2,     _MN_IDX_NULL,             Level1Menu_1Enter,      Level1Menu_1Do,     Level1Menu_1Exit},        /*  _MN_DSP_LEVEL1MENU_1  */
    /*01*/{ _MN_DSP_LEVEL2MENU_2,     _MN_DSP_LEVEL1MENU_1,     _MN_DSP_LEVEL1MENU_3,     _MN_IDX_NULL,             Level1Menu_2Enter,      Level1Menu_2Do,     Level1Menu_2Exit},        /*  _MN_DSP_LEVEL1MENU_2  */
    /*02*/{ _MN_DSP_LEVEL2MENU_2,     _MN_DSP_LEVEL1MENU_2,     _MN_DSP_LEVEL1MENU_4,     _MN_IDX_NULL,             Level1Menu_3Enter,      Level1Menu_3Do,     Level1Menu_3Exit},        /*  _MN_DSP_LEVEL1MENU_3  */
    /*03*/{ _MN_DSP_LEVEL2MENU_2,     _MN_DSP_LEVEL1MENU_3,     _MN_DSP_LEVEL1MENU_5,     _MN_IDX_NULL,             Level1Menu_4Enter,      Level1Menu_4Do,     Level1Menu_4Exit},        /*  _MN_DSP_LEVEL1MENU_4  */
    /*04*/{ _MN_DSP_LEVEL2MENU_2,     _MN_DSP_LEVEL1MENU_4,     _MN_DSP_LEVEL1MENU_6,     _MN_IDX_NULL,             Level1Menu_5Enter,      Level1Menu_5Do,     Level1Menu_5Exit},        /*  _MN_DSP_LEVEL1MENU_5  */
    /*05*/{ _MN_DSP_LEVEL2MENU_2,     _MN_DSP_LEVEL1MENU_5,     _MN_DSP_LEVEL1MENU_1,     _MN_IDX_NULL,             Level1Menu_6Enter,      Level1Menu_6Do,     Level1Menu_6Exit},        /*  _MN_DSP_LEVEL1MENU_6  */
    /*06*/{ _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_IDX_NULL,             LevelPopup_Enter,       LevelPopup_Do,      LevelPopup_Exit },        /*  _MN_DSP_LEVEPOPUP     */
hu's avatar
hu committed
31

hu's avatar
hu committed
32
    /*一级菜单 */
hu's avatar
hu committed
33 34 35 36 37 38
    /*07*/{ _MN_DSP_LEVEL2_1_MENU_1,  _MN_IDX_NULL,             _MN_DSP_LEVEL2MENU_2,     _MN_IDX_NULL,             Level2Menu_1Enter,      Level2Menu_1Do,     Level2Menu_1Exit},        /*  _MN_DSP_LEVEL2MENU_1  */
    /*08*/{ _MN_DSP_LEVEL2_2_MENU_1,  _MN_IDX_NULL,             _MN_DSP_LEVEL2MENU_3,     _MN_IDX_NULL,             Level2Menu_2Enter,      Level2Menu_2Do,     Level2Menu_2Exit},        /*  _MN_DSP_LEVEL2MENU_2  */
    /*09*/{ _MN_DSP_LEVEL2_3_MENU_1,  _MN_DSP_LEVEL2MENU_2,     _MN_DSP_LEVEL2MENU_4,     _MN_IDX_NULL,             Level2Menu_3Enter,      Level2Menu_3Do,     Level2Menu_3Exit},        /*  _MN_DSP_LEVEL2MENU_3  */
    /*10*/{ _MN_DSP_LEVEL2_4_MENU_1,  _MN_DSP_LEVEL2MENU_3,     _MN_DSP_LEVEL2MENU_5,     _MN_IDX_NULL,             Level2Menu_4Enter,      Level2Menu_4Do,     Level2Menu_4Exit},        /*  _MN_DSP_LEVEL2MENU_4  */
    /*11*/{ _MN_DSP_LEVEL2_5_MENU_1,  _MN_DSP_LEVEL2MENU_4,     _MN_DSP_LEVEL2MENU_6,     _MN_IDX_NULL,             Level2Menu_5Enter,      Level2Menu_5Do,     Level2Menu_5Exit},        /*  _MN_DSP_LEVEL2MENU_5  */
    /*12*/{ _MN_DSP_LEVEL2_6_MENU_1,  _MN_DSP_LEVEL2MENU_5,     _MN_IDX_NULL,             _MN_IDX_NULL,             Level2Menu_6Enter,      Level2Menu_6Do,     Level2Menu_6Exit},        /*  _MN_DSP_LEVEL2MENU_6  */
hu's avatar
hu committed
39

hu's avatar
hu committed
40
    /*二级菜单 */
hu's avatar
hu committed
41 42 43 44 45
    /*13*/{ _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2MENU_1,     Level2_1Menu_1Enter,  Level2_1Menu_1Do,   Level2_1Menu_1Exit},          /*  _MN_DSP_LEVEL2_1_MENU_1 */

    /*14*/{ _MN_DSP_LEVEL3_2_MENU_1,  _MN_IDX_NULL,             _MN_DSP_LEVEL2_2_MENU_2,  _MN_DSP_LEVEL2MENU_2,     Level2_2Menu_1Enter,  Level2_2Menu_1Do,   Level2_2Menu_1Exit},          /*  _MN_DSP_LEVEL2_2_MENU_1 */
    /*15*/{ _MN_DSP_LEVEL3_2_MENU_2,  _MN_DSP_LEVEL2_2_MENU_1,  _MN_DSP_LEVEL2_2_MENU_3,  _MN_DSP_LEVEL2MENU_2,     Level2_2Menu_2Enter,  Level2_2Menu_2Do,   Level2_2Menu_2Exit},          /*  _MN_DSP_LEVEL2_2_MENU_2 */
    /*16*/{ _MN_DSP_LEVEL3_2_MENU_3,  _MN_DSP_LEVEL2_2_MENU_2,  _MN_DSP_LEVEL2_2_MENU_4,  _MN_DSP_LEVEL2MENU_2,     Level2_2Menu_3Enter,  Level2_2Menu_3Do,   Level2_2Menu_3Exit},          /*  _MN_DSP_LEVEL2_2_MENU_3 */
hu's avatar
hu committed
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
    /*17*/{ _MN_DSP_LEVEL3_2_MENU_4,  _MN_DSP_LEVEL2_2_MENU_3,  _MN_DSP_LEVEL2_2_MENU_7,  _MN_DSP_LEVEL2MENU_2,     Level2_2Menu_4Enter,  Level2_2Menu_4Do,   Level2_2Menu_4Exit},          /*  _MN_DSP_LEVEL2_2_MENU_4 */
    /*18*/{ _MN_DSP_LEVEL3_2_MENU_7,  _MN_DSP_LEVEL2_2_MENU_4,  _MN_DSP_LEVEL2_2_MENU_8,  _MN_DSP_LEVEL2MENU_2,     Level2_2Menu_7Enter,  Level2_2Menu_7Do,   Level2_2Menu_7Exit},          /*  _MN_DSP_LEVEL2_2_MENU_7 */
    /*19*/{ _MN_DSP_LEVEL3_2_MENU_8,  _MN_DSP_LEVEL2_2_MENU_7,  _MN_IDX_NULL,             _MN_DSP_LEVEL2MENU_2,     Level2_2Menu_8Enter,  Level2_2Menu_8Do,   Level2_2Menu_8Exit},          /*  _MN_DSP_LEVEL2_2_MENU_8 */

    /*20*/{ _MN_DSP_LEVEL3_3_MENU_1,  _MN_IDX_NULL,             _MN_DSP_LEVEL2_3_MENU_2,  _MN_DSP_LEVEL2MENU_3,     Level2_3Menu_1Enter,  Level2_3Menu_1Do,   Level2_3Menu_1Exit},          /*  _MN_DSP_LEVEL2_3_MENU_1 */
    /*21*/{ _MN_DSP_LEVEL3_3_MENU_2,  _MN_DSP_LEVEL2_3_MENU_1,  _MN_DSP_LEVEL2_3_MENU_3,  _MN_DSP_LEVEL2MENU_3,     Level2_3Menu_2Enter,  Level2_3Menu_2Do,   Level2_3Menu_2Exit},          /*  _MN_DSP_LEVEL2_3_MENU_2 */
    /*22*/{ _MN_DSP_LEVEL3_3_MENU_3,  _MN_DSP_LEVEL2_3_MENU_2,  _MN_DSP_LEVEL2_3_MENU_4,  _MN_DSP_LEVEL2MENU_3,     Level2_3Menu_3Enter,  Level2_3Menu_3Do,   Level2_3Menu_3Exit},          /*  _MN_DSP_LEVEL2_3_MENU_3 */
    /*23*/{ _MN_DSP_LEVEL3_3_MENU_4,  _MN_DSP_LEVEL2_3_MENU_3,  _MN_DSP_LEVEL2_3_MENU_6,  _MN_DSP_LEVEL2MENU_3,     Level2_3Menu_4Enter,  Level2_3Menu_4Do,   Level2_3Menu_4Exit},          /*  _MN_DSP_LEVEL2_3_MENU_4 */
    /*24*/{ _MN_DSP_LEVEL3_3_MENU_6,  _MN_DSP_LEVEL2_3_MENU_4,  _MN_DSP_LEVEL2_3_MENU_7,  _MN_DSP_LEVEL2MENU_3,     Level2_3Menu_6Enter,  Level2_3Menu_6Do,   Level2_3Menu_6Exit},          /*  _MN_DSP_LEVEL2_3_MENU_6 */
    /*25*/{ _MN_DSP_LEVEL3_3_MENU_7,  _MN_DSP_LEVEL2_3_MENU_6,  _MN_IDX_NULL,             _MN_DSP_LEVEL2MENU_3,     Level2_3Menu_7Enter,  Level2_3Menu_7Do,   Level2_3Menu_7Exit},          /*  _MN_DSP_LEVEL2_3_MENU_7 */

    /*26*/{ _MN_DSP_LEVEL3_4_MENU_11, _MN_IDX_NULL,             _MN_DSP_LEVEL2_4_MENU_2,  _MN_DSP_LEVEL2MENU_4,     Level2_4Menu_1Enter,  Level2_4Menu_1Do,   Level2_4Menu_1Exit},           /* _MN_DSP_LEVEL2_4_MENU_1 */
    /*27*/{ _MN_DSP_LEVEL3_4_MENU_21, _MN_DSP_LEVEL2_4_MENU_1,  _MN_DSP_LEVEL2_4_MENU_3,  _MN_DSP_LEVEL2MENU_4,     Level2_4Menu_2Enter,  Level2_4Menu_2Do,   Level2_4Menu_2Exit},           /* _MN_DSP_LEVEL2_4_MENU_2 */
    /*28*/{ _MN_DSP_LEVEL3_4_MENU_3,  _MN_DSP_LEVEL2_4_MENU_2,  _MN_DSP_LEVEL2_4_MENU_4,  _MN_DSP_LEVEL2MENU_4,     Level2_4Menu_3Enter,  Level2_4Menu_3Do,   Level2_4Menu_3Exit},           /* _MN_DSP_LEVEL2_4_MENU_3 */
    /*29*/{ _MN_DSP_LEVEL3_4_MENU_41, _MN_DSP_LEVEL2_4_MENU_3,  _MN_DSP_LEVEL2_4_MENU_5,  _MN_DSP_LEVEL2MENU_4,     Level2_4Menu_4Enter,  Level2_4Menu_4Do,   Level2_4Menu_4Exit},          /* _MN_DSP_LEVEL2_4_MENU_4 */
    /*30*/{ _MN_DSP_LEVEL3_4_MENU_5,  _MN_DSP_LEVEL2_4_MENU_4,  _MN_DSP_LEVEL2_4_MENU_6,  _MN_DSP_LEVEL2MENU_4,     Level2_4Menu_5Enter,  Level2_4Menu_5Do,   Level2_4Menu_5Exit},           /* _MN_DSP_LEVEL2_4_MENU_5 */
    /*31*/{ _MN_IDX_NULL           ,  _MN_DSP_LEVEL2_4_MENU_5,  _MN_IDX_NULL,             _MN_DSP_LEVEL2MENU_4,     Level2_4Menu_6Enter,  Level2_4Menu_6Do,   Level2_4Menu_6Exit},           /* _MN_DSP_LEVEL2_4_MENU_5 */

    /*32*/{ _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_5_MENU_2,  _MN_DSP_LEVEL2MENU_5,     Level2_5Menu_1Enter,  Level2_5Menu_1Do,   Level2_5Menu_1Exit},           /* _MN_DSP_LEVEL2_5_MENU_1 */
    /*33*/{ _MN_IDX_NULL,             _MN_DSP_LEVEL2_5_MENU_1,  _MN_DSP_LEVEL2_5_MENU_3,  _MN_DSP_LEVEL2MENU_5,     Level2_5Menu_2Enter,  Level2_5Menu_2Do,   Level2_5Menu_2Exit},           /* _MN_DSP_LEVEL2_5_MENU_2 */
    /*34*/{ _MN_IDX_NULL,             _MN_DSP_LEVEL2_5_MENU_2,  _MN_DSP_LEVEL2_5_MENU_4,  _MN_DSP_LEVEL2MENU_5,     Level2_5Menu_3Enter,  Level2_5Menu_3Do,   Level2_5Menu_3Exit},           /* _MN_DSP_LEVEL2_5_MENU_3 */
    /*35*/{ _MN_IDX_NULL,             _MN_DSP_LEVEL2_5_MENU_3,  _MN_IDX_NULL,             _MN_DSP_LEVEL2MENU_5,     Level2_5Menu_4Enter,  Level2_5Menu_4Do,   Level2_5Menu_4Exit},           /* _MN_DSP_LEVEL2_5_MENU_4 */

    /*36*/{ _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_6_MENU_2,  _MN_DSP_LEVEL2MENU_6,     Level2_6Menu_1Enter,  Level2_6Menu_1Do,   Level2_6Menu_1Exit},           /* _MN_DSP_LEVEL2_6_MENU_1 */
    /*37*/{ _MN_IDX_NULL,             _MN_DSP_LEVEL2_6_MENU_1,  _MN_IDX_NULL,             _MN_DSP_LEVEL2MENU_6,     Level2_6Menu_2Enter,  Level2_6Menu_2Do,   Level2_6Menu_2Exit},           /* _MN_DSP_LEVEL2_6_MENU_2 */
hu's avatar
hu committed
71 72

    /*三级菜单*/
hu's avatar
hu committed
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
    /*38*/{_MN_DSP_ENTER_MENU,        _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_2_MENU_1,  Level3_2Menu_1Enter, Level3_2Menu_1Do,   Level3_2Menu_1Exit},        //   _MN_DSP_LEVEL3_2_MENU_1
    /*39*/{_MN_DSP_ENTER_MENU,        _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_2_MENU_2,  Level3_2Menu_2Enter, Level3_2Menu_2Do,   Level3_2Menu_2Exit},        //   _MN_DSP_LEVEL3_2_MENU_2
    /*40*/{_MN_DSP_ENTER_MENU,        _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_2_MENU_3,  Level3_2Menu_3Enter, Level3_2Menu_3Do,   Level3_2Menu_3Exit},        //   _MN_DSP_LEVEL3_2_MENU_3
    /*41*/{_MN_DSP_ENTER_MENU,        _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_2_MENU_4,  Level3_2Menu_4Enter, Level3_2Menu_4Do,   Level3_2Menu_4Exit},        //   _MN_DSP_LEVEL3_2_MENU_4
    /*42*/{_MN_DSP_ENTER_MENU,        _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_2_MENU_7,  Level3_2Menu_7Enter, Level3_2Menu_7Do,   Level3_2Menu_7Exit},        //   _MN_DSP_LEVEL3_2_MENU_7
    /*43*/{_MN_DSP_ENTER_MENU,        _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_2_MENU_8,  Level3_2Menu_8Enter, Level3_2Menu_8Do,   Level3_2Menu_8Exit},        //   _MN_DSP_LEVEL3_2_MENU_8

    /*44*/{ _MN_DSP_LEVEL2_3_MENU_1,  _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_3_MENU_1,  Level3_3Menu_1Enter, Level3_3Menu_1Do,   Level3_3Menu_1Exit},        //   _MN_DSP_LEVEL3_3_MENU_1
    /*45*/{ _MN_DSP_LEVEL2_3_MENU_2,  _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_3_MENU_2,  Level3_3Menu_2Enter, Level3_3Menu_2Do,   Level3_3Menu_2Exit},        //   _MN_DSP_LEVEL3_3_MENU_2
    /*46*/{ _MN_DSP_LEVEL2_3_MENU_3,  _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_3_MENU_3,  Level3_3Menu_3Enter, Level3_3Menu_3Do,   Level3_3Menu_3Exit},        //   _MN_DSP_LEVEL3_3_MENU_3
    /*47*/{ _MN_DSP_LEVEL2_3_MENU_4,  _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_3_MENU_4,  Level3_3Menu_4Enter, Level3_3Menu_4Do,   Level3_3Menu_4Exit},        //   _MN_DSP_LEVEL3_3_MENU_4
    /*48*/{ _MN_DSP_LEVEL2_3_MENU_6,  _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_3_MENU_6,  Level3_3Menu_6Enter, Level3_3Menu_6Do,   Level3_3Menu_6Exit},        //   _MN_DSP_LEVEL3_3_MENU_6
    /*49*/{ _MN_DSP_LEVEL2_3_MENU_7,  _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_3_MENU_7,  Level3_3Menu_7Enter, Level3_3Menu_7Do,   Level3_3Menu_7Exit},        //   _MN_DSP_LEVEL3_3_MENU_7

    /*50*/{ _MN_DSP_LEVEL3_4_MENU_12, _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_4_MENU_1,  Level3_4Menu_1Enter_1, Level3_4Menu_1Do_1, Level3_4Menu_1Exit_1},       //   _MN_DSP_LEVEL3_4_MENU_11  ÈÕÆÚÉ趨
    /*51*/{ _MN_DSP_LEVEL3_4_MENU_13, _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_4_MENU_1,  Level3_4Menu_1Enter_2, Level3_4Menu_1Do_2, Level3_4Menu_1Exit_2},       //   _MN_DSP_LEVEL3_4_MENU_11  ÈÕÆÚÉ趨
    /*52*/{ _MN_DSP_LEVEL2_4_MENU_1,  _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_4_MENU_1,  Level3_4Menu_1Enter_3, Level3_4Menu_1Do_3, Level3_4Menu_1Exit_3},       //   _MN_DSP_LEVEL3_4_MENU_11  ÈÕÆÚÉ趨
    /*53*/{ _MN_DSP_LEVEL3_4_MENU_22, _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_4_MENU_2,  Level3_4Menu_2Enter_1, Level3_4Menu_2Do_1, Level3_4Menu_2Exit_1},       //   _MN_DSP_LEVEL3_4_MENU_21   ʱ¼äÉ趨
    /*54*/{ _MN_DSP_LEVEL2_4_MENU_2,  _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_4_MENU_2,  Level3_4Menu_2Enter_2, Level3_4Menu_2Do_2, Level3_4Menu_2Exit_2},        //   _MN_DSP_LEVEL3_4_MENU_21   ʱ¼äÉ趨
    /*55*/{ _MN_DSP_LEVEL2_4_MENU_3,  _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_4_MENU_3,  Level3_4Menu_3Enter,   Level3_4Menu_3Do,   Level3_4Menu_3Exit},        //   _MN_DSP_LEVEL3_4_MENU_3
    /*56*/{ _MN_DSP_LEVEL4_4_MENU_1,  _MN_IDX_NULL,             _MN_DSP_LEVEL3_4_MENU_42, _MN_DSP_LEVEL2_4_MENU_4,  Level3_4Menu_4Enter_1, Level3_4Menu_4Do_1, Level3_4Menu_4Exit_1}, //     _MN_DSP_LEVEL3_4_MENU_41  Ê¡ÓÍÉ趨1
    /*57*/{ _MN_DSP_LEVEL4_4_MENU_2,  _MN_DSP_LEVEL3_4_MENU_41, _MN_DSP_LEVEL3_4_MENU_43, _MN_DSP_LEVEL2_4_MENU_4,  Level3_4Menu_4Enter_2, Level3_4Menu_4Do_2, Level3_4Menu_4Exit_2}, //     _MN_DSP_LEVEL3_4_MENU_42  Ê¡ÓÍÉ趨2
    /*58*/{ _MN_DSP_LEVEL4_4_MENU_3,  _MN_DSP_LEVEL3_4_MENU_42, _MN_DSP_LEVEL3_4_MENU_44, _MN_DSP_LEVEL2_4_MENU_4,  Level3_4Menu_4Enter_3, Level3_4Menu_4Do_3, Level3_4Menu_4Exit_3}, //     _MN_DSP_LEVEL3_4_MENU_43  Ê¡ÓÍÉ趨3
    /*59*/{ _MN_DSP_LEVEL4_4_MENU_4,  _MN_DSP_LEVEL3_4_MENU_43, _MN_DSP_LEVEL3_4_MENU_45, _MN_DSP_LEVEL2_4_MENU_4,  Level3_4Menu_4Enter_4, Level3_4Menu_4Do_4, Level3_4Menu_4Exit_4}, //     _MN_DSP_LEVEL3_4_MENU_44  Ê¡ÓÍÉ趨4
    /*60*/{ _MN_DSP_LEVEL4_4_MENU_5,  _MN_DSP_LEVEL3_4_MENU_44, _MN_DSP_LEVEL3_4_MENU_46, _MN_DSP_LEVEL2_4_MENU_4,  Level3_4Menu_4Enter_5, Level3_4Menu_4Do_5, Level3_4Menu_4Exit_5}, //      _MN_DSP_LEVEL3_4_MENU_45  Ê¡ÓÍÉ趨5
    /*61*/{ _MN_DSP_LEVEL4_4_MENU_6,  _MN_DSP_LEVEL3_4_MENU_45, _MN_DSP_LEVEL3_4_MENU_47, _MN_DSP_LEVEL2_4_MENU_4,  Level3_4Menu_4Enter_6, Level3_4Menu_4Do_6, Level3_4Menu_4Exit_6}, //      _MN_DSP_LEVEL3_4_MENU_45  Ê¡ÓÍÉ趨5
    /*62*/{ _MN_DSP_LEVEL4_4_MENU_7,  _MN_DSP_LEVEL3_4_MENU_46, _MN_IDX_NULL,             _MN_DSP_LEVEL2_4_MENU_4,  Level3_4Menu_4Enter_7, Level3_4Menu_4Do_7, Level3_4Menu_4Exit_7}, //      _MN_DSP_LEVEL3_4_MENU_45  Ê¡ÓÍÉ趨5

    /*63*/{ _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_4_MENU_5,  Level3_4Menu_5Enter, Level3_4Menu_5Do,   Level3_4Menu_5Exit},

    /*64*/{ _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_5_MENU_1,  Level3_5Menu_1Enter, Level3_5Menu_1Do,   Level3_5Menu_1Exit},
    /*65*/{ _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_5_MENU_2,  Level3_5Menu_2Enter, Level3_5Menu_2Do,   Level3_5Menu_2Exit},
    /*66*/{ _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_5_MENU_3,  Level3_5Menu_3Enter, Level3_5Menu_3Do,   Level3_5Menu_3Exit},
    /*67*/{ _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL2_5_MENU_4,  Level3_5Menu_4Enter, Level3_5Menu_4Do,   Level3_5Menu_4Exit},
hu's avatar
hu committed
107 108

    /*四级菜单*/
hu's avatar
hu committed
109 110 111 112 113 114 115
    /*68*/{ _MN_DSP_LEVEL3_4_MENU_41, _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL3_4_MENU_41, Level4_4Menu_1Enter, Level4_4Menu_1Do,    Level4_4Menu_1Exit},
    /*69*/{ _MN_DSP_LEVEL3_4_MENU_42, _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL3_4_MENU_42, Level4_4Menu_2Enter, Level4_4Menu_2Do,    Level4_4Menu_2Exit},
    /*70*/{ _MN_DSP_LEVEL3_4_MENU_43, _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL3_4_MENU_43, Level4_4Menu_3Enter, Level4_4Menu_3Do,    Level4_4Menu_3Exit},
    /*71*/{ _MN_DSP_LEVEL3_4_MENU_44, _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL3_4_MENU_44, Level4_4Menu_4Enter, Level4_4Menu_4Do,    Level4_4Menu_4Exit},
    /*72*/{ _MN_DSP_LEVEL3_4_MENU_45, _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL3_4_MENU_45, Level4_4Menu_5Enter, Level4_4Menu_5Do,    Level4_4Menu_5Exit},
    /*73*/{ _MN_DSP_LEVEL3_4_MENU_46, _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL3_4_MENU_46, Level4_4Menu_6Enter, Level4_4Menu_6Do,    Level4_4Menu_6Exit},
    /*74*/{ _MN_DSP_LEVEL3_4_MENU_47, _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_DSP_LEVEL3_4_MENU_47, Level4_4Menu_7Enter, Level4_4Menu_7Do,    Level4_4Menu_7Exit},
hu's avatar
hu committed
116

hu's avatar
hu committed
117 118
    /*75*/{ _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_IDX_NULL,             Level_Enter_Menu_Enter,  Level_Enter_Menu_Do,   Level_Enter_Menu_Exit},
    /*76*/{ _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_IDX_NULL,             _MN_IDX_NULL,             Level_Return_Menu_Enter, Level_Return_Menu_Do, Level_Return_Menu_Exit},
hu's avatar
hu committed
119 120

};
hu's avatar
hu committed
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
void NextMenu(_MENU_IDX idx)
{
    if ((idx) != _MN_IDX_NULL)
    {
        bNextMenuIDX = (idx);
    }
    else
    {
    }
    bOldMenuIDX = 0xFF;
}
void MenuInit(void)
{
    bCurMenuIDX = 0;
    bNextMenuIDX = 0;
    bMenuSwFlag = 1;

    if (bCurMenuIDX >= _MN_DSP_LEVEL2MENU_1)
    {
hu's avatar
hu committed
140
        bCurMenuIDX = MenuFlag.Menu_Flag; /*记录上次位置*/
hu's avatar
hu committed
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
        bNextMenuIDX = bCurMenuIDX;
    }
    else
    {
        ;/*do nothing*/
    }
}
void MenuManage(void)
{
    if (bMenuSwFlag)
    {
        if (MenuOptTab[bCurMenuIDX].Enter)
        {
            MenuOptTab[bCurMenuIDX].Enter();
        }
        else
        {
            ;/*do nothing*/
        }
    }
    else
    {
        ;/*do nothing*/
    }

    if (MenuOptTab[bCurMenuIDX].Do)
    {
        MenuOptTab[bCurMenuIDX].Do();
    }
    else
    {
        ;/*do nothing*/
    }

    bMenuSwFlag = (bCurMenuIDX != bNextMenuIDX) ? 1 : 0;
    if (bMenuSwFlag)
    {
        if (MenuOptTab[bCurMenuIDX].Exit && MenuOptTab[bCurMenuIDX].VK_IDX_EXIT)
        {
            MenuOptTab[bCurMenuIDX].Exit();
        }
        else
        {
            ;/*do nothing*/
        }
    }

    bCurMenuIDX = bNextMenuIDX;
}

/*主界面1   平均油耗,平均车速*/
void Level1Menu_1Enter(void)
hu's avatar
hu committed
193
{}
hu's avatar
hu committed
194 195
void Level1Menu_1Do(void)
{
hu's avatar
hu committed
196
    GUI_OftenShow_Display();
197 198
    GUI_Dynamic_DIsplay();
    GUI_AVG_FuelSpeed_Display(GUI_DISP_MODE_BLANK);
hu's avatar
hu committed
199 200 201 202 203 204
}
void Level1Menu_1Exit(void)
{}

/*主界面2 电池显示*/
void Level1Menu_2Enter(void)
hu's avatar
hu committed
205
{}
hu's avatar
hu committed
206 207
void Level1Menu_2Do(void)
{
208 209 210
    GUI_OftenShow_Display();
    GUI_Dynamic_DIsplay();
    GUI_Battery_Display_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
211 212 213
}
void Level1Menu_2Exit(void)
{}
hu's avatar
hu committed
214

hu's avatar
hu committed
215 216
/*主界面3 DPD*/
void Level1Menu_3Enter(void)
hu's avatar
hu committed
217
{}
hu's avatar
hu committed
218 219
void Level1Menu_3Do(void)
{
220 221 222
    GUI_OftenShow_Display();
    GUI_Dynamic_DIsplay();
    GUI_DPD_Display_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
223 224 225 226 227 228
}
void Level1Menu_3Exit(void)
{}

/*主界面4 油温时间*/
void Level1Menu_4Enter(void)
hu's avatar
hu committed
229
{}
hu's avatar
hu committed
230 231
void Level1Menu_4Do(void)
{
232 233 234
    GUI_OftenShow_Display();
    GUI_Dynamic_DIsplay();
    GUI_Time_OilTemp_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
235 236 237 238 239 240
}
void Level1Menu_4Exit(void)
{}

/*主界面5 万年历*/
void Level1Menu_5Enter(void)
hu's avatar
hu committed
241
{}
hu's avatar
hu committed
242 243
void Level1Menu_5Do(void)
{
244 245 246
    GUI_OftenShow_Display();
    GUI_Dynamic_DIsplay();
    GUI_Year_Month_Data_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
247 248 249 250 251 252
}
void Level1Menu_5Exit(void)
{}

/*主界面6  空白*/
void Level1Menu_6Enter(void)
hu's avatar
hu committed
253
{}
hu's avatar
hu committed
254 255
void Level1Menu_6Do(void)
{
hu's avatar
hu committed
256 257 258
    GUI_OftenShow_Display();
    GUI_Dynamic_DIsplay();
    GUI_block_NULL_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
259 260 261 262 263 264
}
void Level1Menu_6Exit(void)
{}

/*主界面 报警界面*/
void LevelPopup_Enter(void)
hu's avatar
hu committed
265
{}
hu's avatar
hu committed
266 267
void LevelPopup_Do(void)
{
hu's avatar
hu committed
268 269
    GUI_OftenShow_Display();
    GUI_Dynamic_DIsplay();
hu's avatar
hu committed
270 271
}
void LevelPopup_Exit(void)
272 273
{}

hu's avatar
hu committed
274 275 276
/*----MENU----*/
/*二级菜单 故障码*/
void Level2Menu_1Enter(void)
hu's avatar
hu committed
277
{}
hu's avatar
hu committed
278 279
void Level2Menu_1Do(void)
{
hu's avatar
hu committed
280
    GUI_OftenShow_Display();
hu's avatar
hu committed
281
    GUI_BG_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
282
    GUI_BG_Menu1_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
283 284 285
}
void Level2Menu_1Exit(void)
{}
hu's avatar
hu committed
286

hu's avatar
hu committed
287 288
/*二级菜单 维修通知*/
void Level2Menu_2Enter(void)
hu's avatar
hu committed
289
{}
hu's avatar
hu committed
290 291
void Level2Menu_2Do(void)
{
hu's avatar
hu committed
292
    GUI_OftenShow_Display();
hu's avatar
hu committed
293
    GUI_BG_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
294
    GUI_BG_Menu2_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
295 296 297
}
void Level2Menu_2Exit(void)
{}
hu's avatar
hu committed
298

hu's avatar
hu committed
299 300
/*二级菜单 维修通知设定*/
void Level2Menu_3Enter(void)
hu's avatar
hu committed
301
{}
hu's avatar
hu committed
302 303
void Level2Menu_3Do(void)
{
hu's avatar
hu committed
304
    GUI_OftenShow_Display();
hu's avatar
hu committed
305
    GUI_BG_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
306
    GUI_BG_Menu3_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
307 308 309
}
void Level2Menu_3Exit(void)
{}
hu's avatar
hu committed
310

hu's avatar
hu committed
311 312
/*二级菜单 用户设定*/
void Level2Menu_4Enter(void)
hu's avatar
hu committed
313
{}
hu's avatar
hu committed
314 315
void Level2Menu_4Do(void)
{
hu's avatar
hu committed
316
    GUI_OftenShow_Display();
hu's avatar
hu committed
317
    GUI_BG_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
318
    GUI_BG_Menu4_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
319 320 321
}
void Level2Menu_4Exit(void)
{}
hu's avatar
hu committed
322

hu's avatar
hu committed
323
/*二级界面 系统演示*/
hu's avatar
hu committed
324
void Level2Menu_5Enter(void)
hu's avatar
hu committed
325
{}
hu's avatar
hu committed
326 327
void Level2Menu_5Do(void)
{
hu's avatar
hu committed
328
    GUI_OftenShow_Display();
hu's avatar
hu committed
329
    GUI_BG_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
330
    GUI_BG_Menu5_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
331 332 333
}
void Level2Menu_5Exit(void)
{}
hu's avatar
hu committed
334

hu's avatar
hu committed
335
/*二级界面 胎压显示*/
hu's avatar
hu committed
336
void Level2Menu_6Enter(void)
hu's avatar
hu committed
337
{}
hu's avatar
hu committed
338 339
void Level2Menu_6Do(void)
{
hu's avatar
hu committed
340
    GUI_OftenShow_Display();
hu's avatar
hu committed
341
    GUI_BG_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
342
    GUI_BG_Menu6_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
343 344 345
}
void Level2Menu_6Exit(void)
{}
hu's avatar
hu committed
346 347

/*----二级菜单----故障代码----子菜单系列*/
hu's avatar
hu committed
348 349
/*发动机故障*/
void Level2_1Menu_1Enter(void)
hu's avatar
hu committed
350
{}
hu's avatar
hu committed
351 352
void Level2_1Menu_1Do(void)
{
hu's avatar
hu committed
353
    GUI_OftenShow_Display();
hu's avatar
hu committed
354 355
    GUI_BG_Errot_Display(GUI_DISP_MODE_NORMAL);

hu's avatar
hu committed
356 357 358
}
void Level2_1Menu_1Exit(void)
{}
359

hu's avatar
hu committed
360 361 362
/*----二级菜单----保养通知----子菜单系列*/
/*发动机油滤清器*/
void Level2_2Menu_1Enter(void)
hu's avatar
hu committed
363
{}
hu's avatar
hu committed
364 365 366 367 368 369 370 371
void Level2_2Menu_1Do(void)
{
    GUI_OftenShow_Display();
    GUI_BG_Rep_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepMenu1_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_2Menu_1Exit(void)
{}
hu's avatar
hu committed
372

hu's avatar
hu committed
373 374
/*燃油滤清器*/
void Level2_2Menu_2Enter(void)
hu's avatar
hu committed
375
{}
hu's avatar
hu committed
376 377 378 379 380 381 382 383
void Level2_2Menu_2Do(void)
{
    GUI_OftenShow_Display();
    GUI_BG_Rep_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepMenu2_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_2Menu_2Exit(void)
{}
hu's avatar
hu committed
384

hu's avatar
hu committed
385 386
/*变速箱油*/
void Level2_2Menu_3Enter(void)
hu's avatar
hu committed
387
{}
hu's avatar
hu committed
388 389 390 391 392 393 394 395
void Level2_2Menu_3Do(void)
{
    GUI_OftenShow_Display();
    GUI_BG_Rep_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepMenu3_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_2Menu_3Exit(void)
{}
hu's avatar
hu committed
396

hu's avatar
hu committed
397 398
/*差速器油*/
void Level2_2Menu_4Enter(void)
hu's avatar
hu committed
399
{}
hu's avatar
hu committed
400 401 402 403 404 405 406 407
void Level2_2Menu_4Do(void)
{
    GUI_OftenShow_Display();
    GUI_BG_Rep_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepMenu4_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_2Menu_4Exit(void)
{}
hu's avatar
hu committed
408

hu's avatar
hu committed
409 410
/*动力转向油*/
void Level2_2Menu_7Enter(void)
hu's avatar
hu committed
411
{}
hu's avatar
hu committed
412 413 414 415 416 417 418 419
void Level2_2Menu_7Do(void)
{
    GUI_OftenShow_Display();
    GUI_BG_Rep_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepMenu7_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_2Menu_7Exit(void)
{}
hu's avatar
hu committed
420

hu's avatar
hu committed
421 422
/*轮胎*/
void Level2_2Menu_8Enter(void)
hu's avatar
hu committed
423
{}
hu's avatar
hu committed
424 425 426 427 428 429 430 431
void Level2_2Menu_8Do(void)
{
    GUI_OftenShow_Display();
    GUI_BG_Rep_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepMenu8_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_2Menu_8Exit(void)
{}
432

hu's avatar
hu committed
433
/*----二级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
434
/*更换发动机滤清器*/
hu's avatar
hu committed
435
void Level2_3Menu_1Enter(void)
hu's avatar
hu committed
436
{}
hu's avatar
hu committed
437 438 439
void Level2_3Menu_1Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
440
    GUI_BG_RepSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
441 442 443 444
    GUI_BG_RepSetMenu1_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_3Menu_1Exit(void)
{}
hu's avatar
hu committed
445

hu's avatar
hu committed
446
/*更换燃油滤清器*/
hu's avatar
hu committed
447
void Level2_3Menu_2Enter(void)
hu's avatar
hu committed
448
{}
hu's avatar
hu committed
449 450 451
void Level2_3Menu_2Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
452
    GUI_BG_RepSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
453 454 455 456
    GUI_BG_RepSetMenu2_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_3Menu_2Exit(void)
{}
hu's avatar
hu committed
457

hu's avatar
hu committed
458
/*更换变速箱油*/
hu's avatar
hu committed
459
void Level2_3Menu_3Enter(void)
hu's avatar
hu committed
460
{}
hu's avatar
hu committed
461 462 463
void Level2_3Menu_3Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
464
    GUI_BG_RepSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
465 466 467 468
    GUI_BG_RepSetMenu3_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_3Menu_3Exit(void)
{}
hu's avatar
hu committed
469

hu's avatar
hu committed
470
/*更换差速器油*/
hu's avatar
hu committed
471
void Level2_3Menu_4Enter(void)
hu's avatar
hu committed
472
{}
hu's avatar
hu committed
473 474 475
void Level2_3Menu_4Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
476
    GUI_BG_RepSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
477 478 479 480
    GUI_BG_RepSetMenu4_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_3Menu_4Exit(void)
{}
hu's avatar
hu committed
481

hu's avatar
hu committed
482
/*更换动力转向油*/
hu's avatar
hu committed
483
void Level2_3Menu_6Enter(void)
hu's avatar
hu committed
484
{}
hu's avatar
hu committed
485 486 487
void Level2_3Menu_6Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
488
    GUI_BG_RepSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
489 490 491 492
    GUI_BG_RepSetMenu6_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_3Menu_6Exit(void)
{}
hu's avatar
hu committed
493

hu's avatar
hu committed
494
/*更换轮胎轮胎*/
hu's avatar
hu committed
495
void Level2_3Menu_7Enter(void)
hu's avatar
hu committed
496
{}
hu's avatar
hu committed
497 498 499
void Level2_3Menu_7Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
500
    GUI_BG_RepSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
501 502 503 504
    GUI_BG_RepSetMenu7_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_3Menu_7Exit(void)
{}
hu's avatar
hu committed
505

hu's avatar
hu committed
506 507 508
/*----二级菜单----用户设定----系列子菜单*/
/*日期设定*/
void Level2_4Menu_1Enter(void)
hu's avatar
hu committed
509
{}
hu's avatar
hu committed
510 511
void Level2_4Menu_1Do(void)
{
hu's avatar
hu committed
512 513 514
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSetMenu1_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
515 516 517
}
void Level2_4Menu_1Exit(void)
{}
hu's avatar
hu committed
518

hu's avatar
hu committed
519
/*时间设定*/
hu's avatar
hu committed
520
void Level2_4Menu_2Enter(void)
hu's avatar
hu committed
521
{}
hu's avatar
hu committed
522 523
void Level2_4Menu_2Do(void)
{
hu's avatar
hu committed
524 525 526
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSetMenu2_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
527 528 529
}
void Level2_4Menu_2Exit(void)
{}
hu's avatar
hu committed
530

hu's avatar
hu committed
531
/*语言设定*/
hu's avatar
hu committed
532
void Level2_4Menu_3Enter(void)
hu's avatar
hu committed
533
{}
hu's avatar
hu committed
534 535
void Level2_4Menu_3Do(void)
{
hu's avatar
hu committed
536 537
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
538
    GUI_BG_UserSetMenu3_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
539 540 541
}
void Level2_4Menu_3Exit(void)
{}
hu's avatar
hu committed
542

hu's avatar
hu committed
543
/*设定节油驾驶建议*/
hu's avatar
hu committed
544
void Level2_4Menu_4Enter(void)
hu's avatar
hu committed
545
{}
hu's avatar
hu committed
546 547
void Level2_4Menu_4Do(void)
{
hu's avatar
hu committed
548 549
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
550
    GUI_BG_UserSetMenu4_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
551 552 553
}
void Level2_4Menu_4Exit(void)
{}
hu's avatar
hu committed
554

hu's avatar
hu committed
555
/*TPMS轮胎设定*/
hu's avatar
hu committed
556
void Level2_4Menu_5Enter(void)
hu's avatar
hu committed
557
{}
hu's avatar
hu committed
558 559
void Level2_4Menu_5Do(void)
{
hu's avatar
hu committed
560 561
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
562
    GUI_BG_UserSetMenu5_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
563 564 565
}
void Level2_4Menu_5Exit(void)
{}
hu's avatar
hu committed
566

hu's avatar
hu committed
567 568 569 570 571 572 573 574 575 576 577 578
/*显示设定*/
void Level2_4Menu_6Enter(void)
{}
void Level2_4Menu_6Do(void)
{
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSetMenu6_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_4Menu_6Exit(void)
{}

hu's avatar
hu committed
579 580
/*LDWS 警报演示*/
void Level2_5Menu_1Enter(void)
hu's avatar
hu committed
581
{}
hu's avatar
hu committed
582
void Level2_5Menu_1Do(void)
hu's avatar
hu committed
583
{
hu's avatar
hu committed
584
    GUI_OftenShow_Display();
hu's avatar
hu committed
585 586
    GUI_BG_Demo_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_DemoMenu1_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
587
}
hu's avatar
hu committed
588
void Level2_5Menu_1Exit(void)
hu's avatar
hu committed
589
{}
hu's avatar
hu committed
590 591 592

/*AEBS第1警报演示*/
void Level2_5Menu_2Enter(void)
hu's avatar
hu committed
593
{}
hu's avatar
hu committed
594
void Level2_5Menu_2Do(void)
hu's avatar
hu committed
595
{
hu's avatar
hu committed
596 597 598
    GUI_OftenShow_Display();
    GUI_BG_Demo_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_DemoMenu2_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
599
}
hu's avatar
hu committed
600
void Level2_5Menu_2Exit(void)
hu's avatar
hu committed
601
{}
hu's avatar
hu committed
602 603 604

/*AEBS第1警报演示*/
void Level2_5Menu_3Enter(void)
hu's avatar
hu committed
605
{}
hu's avatar
hu committed
606
void Level2_5Menu_3Do(void)
hu's avatar
hu committed
607
{
hu's avatar
hu committed
608 609 610
    GUI_OftenShow_Display();
    GUI_BG_Demo_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_DemoMenu3_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
611
}
hu's avatar
hu committed
612
void Level2_5Menu_3Exit(void)
hu's avatar
hu committed
613
{}
hu's avatar
hu committed
614 615 616

/*AEBS全力制动警报演示*/
void Level2_5Menu_4Enter(void)
hu's avatar
hu committed
617
{}
hu's avatar
hu committed
618
void Level2_5Menu_4Do(void)
hu's avatar
hu committed
619
{
hu's avatar
hu committed
620 621 622
    GUI_OftenShow_Display();
    GUI_BG_Demo_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_DemoMenu4_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
623
}
hu's avatar
hu committed
624
void Level2_5Menu_4Exit(void)
hu's avatar
hu committed
625
{}
626

hu's avatar
hu committed
627 628
/*轮胎气压*/
void Level2_6Menu_1Enter(void)
hu's avatar
hu committed
629
{}
hu's avatar
hu committed
630 631 632
void Level2_6Menu_1Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
633 634
    GUI_BG_TPMS_GasPIC_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_TPMS_GasNUM_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
635 636 637 638 639 640
}
void Level2_6Menu_1Exit(void)
{}

/*轮胎温度*/
void Level2_6Menu_2Enter(void)
hu's avatar
hu committed
641
{}
hu's avatar
hu committed
642 643 644
void Level2_6Menu_2Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
645 646
    GUI_BG_TPMS_TempPIC_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_TPMS_TempNUM_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
647 648 649 650
}
void Level2_6Menu_2Exit(void)
{}

hu's avatar
hu committed
651
/*----三级菜单----保养通知----系列子菜单*/
hu's avatar
hu committed
652
/*发动机机油滤清器*/
hu's avatar
hu committed
653
void Level3_2Menu_1Enter(void)
hu's avatar
hu committed
654 655 656 657 658 659 660 661 662
{
    if (MenuFlag.Menu_Return)
    {
        User_App.User_FDJYLQQ = (uint32_t)K_Line_Set.K_Line_LID4F * 1000;

        State_Flag.User_FDJYLQQ_FLAG = 0;
        MenuFlag.Menu_Return = 0;
    }
}
hu's avatar
hu committed
663 664
void Level3_2Menu_1Do(void)
{
hu's avatar
hu committed
665
    GUI_OftenShow_Display();
hu's avatar
hu committed
666 667
    GUI_BG_RepMenu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepMenu_3_1_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
668 669
}
void Level3_2Menu_1Exit(void)
hu's avatar
hu committed
670
{}
hu's avatar
hu committed
671

hu's avatar
hu committed
672
/*燃油滤清器*/
hu's avatar
hu committed
673
void Level3_2Menu_2Enter(void)
hu's avatar
hu committed
674
{}
hu's avatar
hu committed
675 676
void Level3_2Menu_2Do(void)
{
hu's avatar
hu committed
677 678 679
    GUI_OftenShow_Display();
    GUI_BG_RepMenu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepMenu_3_2_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
680 681
}
void Level3_2Menu_2Exit(void)
hu's avatar
hu committed
682
{}
hu's avatar
hu committed
683

hu's avatar
hu committed
684
/*变速箱油*/
hu's avatar
hu committed
685
void Level3_2Menu_3Enter(void)
hu's avatar
hu committed
686
{}
hu's avatar
hu committed
687 688
void Level3_2Menu_3Do(void)
{
hu's avatar
hu committed
689 690 691
    GUI_OftenShow_Display();
    GUI_BG_RepMenu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepMenu_3_3_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
692 693
}
void Level3_2Menu_3Exit(void)
hu's avatar
hu committed
694
{}
hu's avatar
hu committed
695

hu's avatar
hu committed
696
/*差速器油*/
hu's avatar
hu committed
697
void Level3_2Menu_4Enter(void)
hu's avatar
hu committed
698
{}
hu's avatar
hu committed
699 700
void Level3_2Menu_4Do(void)
{
hu's avatar
hu committed
701 702 703
    GUI_OftenShow_Display();
    GUI_BG_RepMenu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepMenu_3_4_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
704 705
}
void Level3_2Menu_4Exit(void)
hu's avatar
hu committed
706
{}
hu's avatar
hu committed
707

hu's avatar
hu committed
708
/*动力转向油*/
hu's avatar
hu committed
709
void Level3_2Menu_7Enter(void)
hu's avatar
hu committed
710
{}
hu's avatar
hu committed
711 712
void Level3_2Menu_7Do(void)
{
hu's avatar
hu committed
713 714 715
    GUI_OftenShow_Display();
    GUI_BG_RepMenu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepMenu_3_7_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
716 717
}
void Level3_2Menu_7Exit(void)
hu's avatar
hu committed
718
{}
hu's avatar
hu committed
719

hu's avatar
hu committed
720
/*轮胎*/
hu's avatar
hu committed
721
void Level3_2Menu_8Enter(void)
hu's avatar
hu committed
722
{}
hu's avatar
hu committed
723 724
void Level3_2Menu_8Do(void)
{
hu's avatar
hu committed
725 726 727
    GUI_OftenShow_Display();
    GUI_BG_RepMenu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepMenu_3_8_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
728 729
}
void Level3_2Menu_8Exit(void)
hu's avatar
hu committed
730
{}
hu's avatar
hu committed
731

hu's avatar
hu committed
732
/*----三级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
733
/*更换机油机油滤清器*/
hu's avatar
hu committed
734
void Level3_3Menu_1Enter(void)
hu's avatar
hu committed
735 736 737 738 739 740 741 742 743 744
{
    if (User_App.User_FDJYLQQ == 0u)
    {
        User_set_Num.User_FDJYLQQ = 0u;
    }
    else
    {
        User_set_Num.User_FDJYLQQ = (uint32_t)K_Line_Set.K_Line_LID4F * 1000u;
    }
}
hu's avatar
hu committed
745 746
void Level3_3Menu_1Do(void)
{
hu's avatar
hu committed
747 748 749
    GUI_OftenShow_Display();
    GUI_BG_RepMenuSet_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepSetMenu_3_1_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
750 751
}
void Level3_3Menu_1Exit(void)
hu's avatar
hu committed
752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768
{
    if (MenuFlag.Menu_Return == 1u)
    {
        User_App.User_FDJYLQQ = User_set_Num.User_FDJYLQQ ;

        MenuFlag.Menu_Return = 0u;

        //if (User_set_Num.User_FDJYLQQ != 0u)
        //    State_Flag.User_FDJYLQQ_FLAG = 0u;
        //else
        //    State_Flag.User_FDJYLQQ_FLAG = 3u;
    }
    else
    {
        ;
    }
}
hu's avatar
hu committed
769

hu's avatar
hu committed
770
/*更黄燃油滤清器*/
hu's avatar
hu committed
771
void Level3_3Menu_2Enter(void)
hu's avatar
hu committed
772
{}
hu's avatar
hu committed
773 774
void Level3_3Menu_2Do(void)
{
hu's avatar
hu committed
775 776 777
    GUI_OftenShow_Display();
    GUI_BG_RepMenuSet_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepSetMenu_3_2_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
778 779
}
void Level3_3Menu_2Exit(void)
hu's avatar
hu committed
780
{}
hu's avatar
hu committed
781

hu's avatar
hu committed
782
/*更换变速箱油*/
hu's avatar
hu committed
783
void Level3_3Menu_3Enter(void)
hu's avatar
hu committed
784
{}
hu's avatar
hu committed
785 786
void Level3_3Menu_3Do(void)
{
hu's avatar
hu committed
787 788 789
    GUI_OftenShow_Display();
    GUI_BG_RepMenuSet_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepSetMenu_3_3_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
790 791
}
void Level3_3Menu_3Exit(void)
hu's avatar
hu committed
792
{}
hu's avatar
hu committed
793

hu's avatar
hu committed
794
/*更黄差速器油*/
hu's avatar
hu committed
795
void Level3_3Menu_4Enter(void)
hu's avatar
hu committed
796
{}
hu's avatar
hu committed
797 798
void Level3_3Menu_4Do(void)
{
hu's avatar
hu committed
799 800 801
    GUI_OftenShow_Display();
    GUI_BG_RepMenuSet_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepSetMenu_3_4_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
802 803
}
void Level3_3Menu_4Exit(void)
hu's avatar
hu committed
804
{}
hu's avatar
hu committed
805

hu's avatar
hu committed
806
/*更换离合器油*/
hu's avatar
hu committed
807
void Level3_3Menu_5Enter(void)
hu's avatar
hu committed
808
{}
hu's avatar
hu committed
809 810
void Level3_3Menu_5Do(void)
{
hu's avatar
hu committed
811 812 813
    GUI_OftenShow_Display();
    GUI_BG_RepMenuSet_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepSetMenu_3_5_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
814 815
}
void Level3_3Menu_5Exit(void)
hu's avatar
hu committed
816
{}
hu's avatar
hu committed
817

hu's avatar
hu committed
818
/*更换动力转向液*/
hu's avatar
hu committed
819
void Level3_3Menu_6Enter(void)
hu's avatar
hu committed
820
{}
hu's avatar
hu committed
821
void Level3_3Menu_6Do(void)
hu's avatar
hu committed
822
{
hu's avatar
hu committed
823 824 825
    GUI_OftenShow_Display();
    GUI_BG_RepMenuSet_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepSetMenu_3_6_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
826
}
hu's avatar
hu committed
827
void Level3_3Menu_6Exit(void)
hu's avatar
hu committed
828
{}
829

hu's avatar
hu committed
830
/*更换轮胎*/
hu's avatar
hu committed
831
void Level3_3Menu_7Enter(void)
hu's avatar
hu committed
832
{}
hu's avatar
hu committed
833
void Level3_3Menu_7Do(void)
hu's avatar
hu committed
834
{
hu's avatar
hu committed
835 836 837
    GUI_OftenShow_Display();
    GUI_BG_RepMenuSet_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepSetMenu_3_7_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
838
}
hu's avatar
hu committed
839
void Level3_3Menu_7Exit(void)
hu's avatar
hu committed
840
{}
hu's avatar
hu committed
841

hu's avatar
hu committed
842
/*----三级菜单----用户设定----系列子选项*/
hu's avatar
hu committed
843
/*日期设定 ----- 年*/
hu's avatar
hu committed
844
void Level3_4Menu_1Enter_1(void)
hu's avatar
hu committed
845
{
846
    User_set_Num.Year  = Get_RTC_YEAR();
hu's avatar
hu committed
847
    User_set_Num.Month = Get_RTC_MONTH();
848
    User_set_Num.Date  = Get_RTC_DATE();
hu's avatar
hu committed
849
}
hu's avatar
hu committed
850
void Level3_4Menu_1Do_1(void)
hu's avatar
hu committed
851
{
hu's avatar
hu committed
852 853 854 855 856 857 858
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSet_Date_Display(GUI_DISP_MODE_NORMAL);
}
void Level3_4Menu_1Exit_1(void)
{}

hu's avatar
hu committed
859
/*日期设定 ---- 月*/
hu's avatar
hu committed
860 861 862 863 864 865 866 867 868 869
void Level3_4Menu_1Enter_2(void)
{}
void Level3_4Menu_1Do_2(void)
{
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSet_Date_Display(GUI_DISP_MODE_NORMAL);
}
void Level3_4Menu_1Exit_2(void)
{}
hu's avatar
hu committed
870

hu's avatar
hu committed
871
/*日期设定 ---- 日*/
hu's avatar
hu committed
872 873 874 875 876 877 878
void Level3_4Menu_1Enter_3(void)
{}
void Level3_4Menu_1Do_3(void)
{
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSet_Date_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
879
}
hu's avatar
hu committed
880
void Level3_4Menu_1Exit_3(void)
hu's avatar
hu committed
881 882 883
{
    if (MenuFlag.Menu_Return)
    {
884
        RTE_RTC_Set_Year (User_set_Num.Year + 2000u);
hu's avatar
hu committed
885
        RTE_RTC_Set_Month(User_set_Num.Month);
886 887 888 889
        RTE_RTC_Set_Date (User_set_Num.Date);

        RTE_RTC_Set_Hour(Get_RTC_HOUR());
        RTE_RTC_Set_Minute(Get_RTC_MINUTE());
hu's avatar
hu committed
890

hu's avatar
hu committed
891 892 893 894 895 896 897
        MenuFlag.Menu_Return = 0;

        RTE_RTC_Confirm_Overwrite();
    }
}

/*时间设定 ---- 时*/
hu's avatar
hu committed
898
void Level3_4Menu_2Enter_1(void)
hu's avatar
hu committed
899 900 901 902
{
    User_set_Num.Hour = Get_RTC_HOUR();
    User_set_Num.Minute = Get_RTC_MINUTE();
}
hu's avatar
hu committed
903
void Level3_4Menu_2Do_1(void)
hu's avatar
hu committed
904
{
hu's avatar
hu committed
905 906 907 908 909 910
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSet_Time_Display(GUI_DISP_MODE_NORMAL);
}
void Level3_4Menu_2Exit_1(void)
{}
hu's avatar
hu committed
911

hu's avatar
hu committed
912
/*时间设定 ---- 分*/
hu's avatar
hu committed
913 914 915 916 917 918 919
void Level3_4Menu_2Enter_2(void)
{}
void Level3_4Menu_2Do_2(void)
{
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSet_Time_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
920
}
hu's avatar
hu committed
921
void Level3_4Menu_2Exit_2(void)
hu's avatar
hu committed
922 923 924
{
    if (MenuFlag.Menu_Return)
    {
925 926 927 928
        RTE_RTC_Set_Year ( Get_RTC_YEAR() + 2000u );
        RTE_RTC_Set_Month( Get_RTC_MONTH() );
        RTE_RTC_Set_Date ( Get_RTC_DATE() );

hu's avatar
hu committed
929 930 931 932 933 934 935 936
        RTE_RTC_Set_Hour(User_set_Num.Hour);
        RTE_RTC_Set_Minute(User_set_Num.Minute);

        MenuFlag.Menu_Return = 0;

        RTE_RTC_Confirm_Overwrite();
    }
}
hu's avatar
hu committed
937

hu's avatar
hu committed
938
/*语言设定*/
hu's avatar
hu committed
939
void Level3_4Menu_3Enter(void)
hu's avatar
hu committed
940
{}
hu's avatar
hu committed
941 942
void Level3_4Menu_3Do(void)
{
hu's avatar
hu committed
943 944 945
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSet_Language_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
946 947
}
void Level3_4Menu_3Exit(void)
hu's avatar
hu committed
948
{}
hu's avatar
hu committed
949

hu's avatar
hu committed
950
/*省油建议*/
hu's avatar
hu committed
951
/*速度设定-高速路*/
hu's avatar
hu committed
952
void Level3_4Menu_4Enter_1(void)
hu's avatar
hu committed
953
{}
hu's avatar
hu committed
954 955
void Level3_4Menu_4Do_1(void)
{
hu's avatar
hu committed
956 957 958
    GUI_OftenShow_Display();
    GUI_BG_UserSet_SYSD_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSet_SYSD_1_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
959 960
}
void Level3_4Menu_4Exit_1(void)
hu's avatar
hu committed
961
{}
hu's avatar
hu committed
962

hu's avatar
hu committed
963
/*速度设定-一般路*/
hu's avatar
hu committed
964
void Level3_4Menu_4Enter_2(void)
hu's avatar
hu committed
965
{}
hu's avatar
hu committed
966 967
void Level3_4Menu_4Do_2(void)
{
hu's avatar
hu committed
968 969 970
    GUI_OftenShow_Display();
    GUI_BG_UserSet_SYSD_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSet_SYSD_2_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
971 972
}
void Level3_4Menu_4Exit_2(void)
hu's avatar
hu committed
973
{}
hu's avatar
hu committed
974

hu's avatar
hu committed
975
/*发送机转速设定*/
hu's avatar
hu committed
976
void Level3_4Menu_4Enter_3(void)
hu's avatar
hu committed
977
{}
hu's avatar
hu committed
978 979
void Level3_4Menu_4Do_3(void)
{
hu's avatar
hu committed
980 981 982
    GUI_OftenShow_Display();
    GUI_BG_UserSet_SYSD_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSet_SYSD_3_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
983 984
}
void Level3_4Menu_4Exit_3(void)
hu's avatar
hu committed
985
{}
hu's avatar
hu committed
986

hu's avatar
hu committed
987
/*急加速设定*/
hu's avatar
hu committed
988
void Level3_4Menu_4Enter_4(void)
hu's avatar
hu committed
989
{}
hu's avatar
hu committed
990 991
void Level3_4Menu_4Do_4(void)
{
hu's avatar
hu committed
992 993 994
    GUI_OftenShow_Display();
    GUI_BG_UserSet_SYSD_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSet_SYSD_4_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
995 996
}
void Level3_4Menu_4Exit_4(void)
hu's avatar
hu committed
997
{}
hu's avatar
hu committed
998

hu's avatar
hu committed
999
/*急减速设定*/
hu's avatar
hu committed
1000
void Level3_4Menu_4Enter_5(void)
hu's avatar
hu committed
1001
{}
hu's avatar
hu committed
1002 1003
void Level3_4Menu_4Do_5(void)
{
hu's avatar
hu committed
1004 1005 1006
    GUI_OftenShow_Display();
    GUI_BG_UserSet_SYSD_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSet_SYSD_5_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1007 1008
}
void Level3_4Menu_4Exit_5(void)
hu's avatar
hu committed
1009
{}
hu's avatar
hu committed
1010

hu's avatar
hu committed
1011
/*长时间怠速设定*/
hu's avatar
hu committed
1012
void Level3_4Menu_4Enter_6(void)
hu's avatar
hu committed
1013
{}
hu's avatar
hu committed
1014 1015
void Level3_4Menu_4Do_6(void)
{
hu's avatar
hu committed
1016 1017 1018
    GUI_OftenShow_Display();
    GUI_BG_UserSet_SYSD_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSet_SYSD_6_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1019 1020
}
void Level3_4Menu_4Exit_6(void)
hu's avatar
hu committed
1021
{}
hu's avatar
hu committed
1022

hu's avatar
hu committed
1023
/*辅助驻车解除设定*/
hu's avatar
hu committed
1024
void Level3_4Menu_4Enter_7(void)
hu's avatar
hu committed
1025
{}
hu's avatar
hu committed
1026 1027
void Level3_4Menu_4Do_7(void)
{
hu's avatar
hu committed
1028 1029 1030
    GUI_OftenShow_Display();
    GUI_BG_UserSet_SYSD_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_UserSet_SYSD_7_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1031 1032
}
void Level3_4Menu_4Exit_7(void)
hu's avatar
hu committed
1033
{}
hu's avatar
hu committed
1034

hu's avatar
hu committed
1035
/*TPMS  轮胎设定*/
hu's avatar
hu committed
1036
void Level3_4Menu_5Enter(void)
hu's avatar
hu committed
1037
{}
hu's avatar
hu committed
1038 1039
void Level3_4Menu_5Do(void)
{
hu's avatar
hu committed
1040
    GUI_BG_TPMS_PictureSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1041 1042
}
void Level3_4Menu_5Exit(void)
hu's avatar
hu committed
1043
{}
hu's avatar
hu committed
1044

hu's avatar
hu committed
1045 1046
/*系统演示*/
/*LDWS 警报演示*/
hu's avatar
hu committed
1047
void Level3_5Menu_1Enter(void)
hu's avatar
hu committed
1048
{}
hu's avatar
hu committed
1049 1050 1051 1052 1053
void Level3_5Menu_1Do(void)
{

}
void Level3_5Menu_1Exit(void)
hu's avatar
hu committed
1054
{}
hu's avatar
hu committed
1055

hu's avatar
hu committed
1056
/*AEBS第1警报演示*/
hu's avatar
hu committed
1057
void Level3_5Menu_2Enter(void)
hu's avatar
hu committed
1058
{}
hu's avatar
hu committed
1059 1060 1061 1062 1063
void Level3_5Menu_2Do(void)
{

}
void Level3_5Menu_2Exit(void)
hu's avatar
hu committed
1064
{}
hu's avatar
hu committed
1065

hu's avatar
hu committed
1066
/*AEBS第2警报演示*/
hu's avatar
hu committed
1067
void Level3_5Menu_3Enter(void)
hu's avatar
hu committed
1068
{}
hu's avatar
hu committed
1069 1070 1071 1072 1073
void Level3_5Menu_3Do(void)
{

}
void Level3_5Menu_3Exit(void)
hu's avatar
hu committed
1074
{}
hu's avatar
hu committed
1075

hu's avatar
hu committed
1076
/*AEBS全力制动警报演示*/
hu's avatar
hu committed
1077
void Level3_5Menu_4Enter(void)
hu's avatar
hu committed
1078
{}
hu's avatar
hu committed
1079 1080 1081 1082 1083
void Level3_5Menu_4Do(void)
{

}
void Level3_5Menu_4Exit(void)
hu's avatar
hu committed
1084
{}
hu's avatar
hu committed
1085

hu's avatar
hu committed
1086 1087
/*省油建议设定*/
/*速度设定-高速路子菜单*/
hu's avatar
hu committed
1088
void Level4_4Menu_1Enter(void)
hu's avatar
hu committed
1089
{}
hu's avatar
hu committed
1090 1091
void Level4_4Menu_1Do(void)
{
hu's avatar
hu committed
1092 1093
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1094 1095
}
void Level4_4Menu_1Exit(void)
hu's avatar
hu committed
1096
{}
hu's avatar
hu committed
1097

hu's avatar
hu committed
1098
/*速度设定-一般路子菜单*/
hu's avatar
hu committed
1099
void Level4_4Menu_2Enter(void)
hu's avatar
hu committed
1100
{}
hu's avatar
hu committed
1101 1102
void Level4_4Menu_2Do(void)
{
hu's avatar
hu committed
1103 1104
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1105 1106
}
void Level4_4Menu_2Exit(void)
hu's avatar
hu committed
1107
{}
hu's avatar
hu committed
1108

hu's avatar
hu committed
1109
/*发动机转速设定子菜单*/
hu's avatar
hu committed
1110
void Level4_4Menu_3Enter(void)
hu's avatar
hu committed
1111
{}
hu's avatar
hu committed
1112 1113
void Level4_4Menu_3Do(void)
{
hu's avatar
hu committed
1114 1115
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1116 1117
}
void Level4_4Menu_3Exit(void)
hu's avatar
hu committed
1118
{}
hu's avatar
hu committed
1119

hu's avatar
hu committed
1120
/*急加速设定子菜单*/
hu's avatar
hu committed
1121
void Level4_4Menu_4Enter(void)
hu's avatar
hu committed
1122
{}
hu's avatar
hu committed
1123 1124
void Level4_4Menu_4Do(void)
{
hu's avatar
hu committed
1125 1126
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1127 1128
}
void Level4_4Menu_4Exit(void)
hu's avatar
hu committed
1129
{}
hu's avatar
hu committed
1130

hu's avatar
hu committed
1131
/*急减速子菜单*/
hu's avatar
hu committed
1132
void Level4_4Menu_5Enter(void)
hu's avatar
hu committed
1133
{}
hu's avatar
hu committed
1134 1135
void Level4_4Menu_5Do(void)
{
hu's avatar
hu committed
1136 1137
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1138 1139
}
void Level4_4Menu_5Exit(void)
hu's avatar
hu committed
1140
{}
hu's avatar
hu committed
1141

hu's avatar
hu committed
1142
/*长时间怠速设定子菜单*/
hu's avatar
hu committed
1143
void Level4_4Menu_6Enter(void)
hu's avatar
hu committed
1144
{}
hu's avatar
hu committed
1145 1146
void Level4_4Menu_6Do(void)
{
hu's avatar
hu committed
1147 1148
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1149 1150
}
void Level4_4Menu_6Exit(void)
hu's avatar
hu committed
1151
{}
hu's avatar
hu committed
1152

hu's avatar
hu committed
1153
/*辅助驻车解除设定*/
hu's avatar
hu committed
1154
void Level4_4Menu_7Enter(void)
hu's avatar
hu committed
1155
{}
hu's avatar
hu committed
1156 1157
void Level4_4Menu_7Do(void)
{
hu's avatar
hu committed
1158 1159
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1160 1161
}
void Level4_4Menu_7Exit(void)
hu's avatar
hu committed
1162
{}
hu's avatar
hu committed
1163 1164 1165

/*Enter*/
void Level_Enter_Menu_Enter(void)
hu's avatar
hu committed
1166
{}
hu's avatar
hu committed
1167 1168
void Level_Enter_Menu_Do(void)
{
hu's avatar
hu committed
1169
    GUI_BG_Enter_Return_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181
}
void Level_Enter_Menu_Exit(void)
{
    if (MenuFlag.Menu_Return)
    {
        State_Flag.ENTER_RETURN = 1;
        MenuFlag.Menu_Return = 0;
    }
}

/*Return*/
void Level_Return_Menu_Enter(void)
hu's avatar
hu committed
1182
{}
hu's avatar
hu committed
1183 1184
void Level_Return_Menu_Do(void)
{
hu's avatar
hu committed
1185
    GUI_BG_Enter_Return_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199
    if (MenuFlag.Menu_Time_Flag < 30)
    {
        MenuFlag.Menu_Time_Flag++;
    }
    else
    {
        MenuFlag.Menu_Time_Flag = 0;
        MenuFlag.Menu_Return = 1;
        NextMenu(MenuFlag.Menu_Enter_Return);
    }
}
void Level_Return_Menu_Exit(void)
{
    State_Flag.ENTER_RETURN = 0;
hu's avatar
hu committed
1200
}