Menu_user.c 37.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 9
#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
10 11 12 13 14 15 16
uint8_t     bMenuSwFlag;
uint8_t     g_ClearWin1;
uint8_t     bNextMenuIDX;
uint8_t     bCurMenuIDX;
uint8_t     bMainMenuIDX;
uint8_t     bOldMenuIDX;

17 18
_MenuFlag    MenuFlag   ;

hu's avatar
hu committed
19 20 21 22
const _MenuOptTab   MenuOptTab[] =
{
    /*---------ENTER---------------------UP-----------------------DOWN----------------------EXIT------------------ENTER------------------DO-----------------EXIT------------*/
    /*主循环界面*/
hu's avatar
hu committed
23 24 25 26 27 28 29
    /*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
30

hu's avatar
hu committed
31
    /*一级菜单 */
hu's avatar
hu committed
32 33 34 35 36 37
    /*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
38

hu's avatar
hu committed
39
    /*二级菜单 */
hu's avatar
hu committed
40 41 42 43 44
    /*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
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
    /*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
70 71

    /*三级菜单*/
hu's avatar
hu committed
72 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
    /*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
106 107

    /*四级菜单*/
hu's avatar
hu committed
108 109 110 111 112 113 114
    /*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
115

hu's avatar
hu committed
116 117
    /*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
118 119

};
hu's avatar
hu committed
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
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
139
        bCurMenuIDX = MenuFlag.Menu_Flag; /*记录上次位置*/
hu's avatar
hu committed
140 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
        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
192
{}
hu's avatar
hu committed
193 194
void Level1Menu_1Do(void)
{
hu's avatar
hu committed
195
    GUI_OftenShow_Display();
196 197
    GUI_Dynamic_DIsplay();
    GUI_AVG_FuelSpeed_Display(GUI_DISP_MODE_BLANK);
hu's avatar
hu committed
198 199 200 201 202 203
}
void Level1Menu_1Exit(void)
{}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

hu's avatar
hu committed
359 360 361
/*----二级菜单----保养通知----子菜单系列*/
/*发动机油滤清器*/
void Level2_2Menu_1Enter(void)
hu's avatar
hu committed
362
{}
hu's avatar
hu committed
363 364 365 366 367 368 369 370
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
371

hu's avatar
hu committed
372 373
/*燃油滤清器*/
void Level2_2Menu_2Enter(void)
hu's avatar
hu committed
374
{}
hu's avatar
hu committed
375 376 377 378 379 380 381 382
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
383

hu's avatar
hu committed
384 385
/*变速箱油*/
void Level2_2Menu_3Enter(void)
hu's avatar
hu committed
386
{}
hu's avatar
hu committed
387 388 389 390 391 392 393 394
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
395

hu's avatar
hu committed
396 397
/*差速器油*/
void Level2_2Menu_4Enter(void)
hu's avatar
hu committed
398
{}
hu's avatar
hu committed
399 400 401 402 403 404 405 406
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
407

hu's avatar
hu committed
408 409
/*动力转向油*/
void Level2_2Menu_7Enter(void)
hu's avatar
hu committed
410
{}
hu's avatar
hu committed
411 412 413 414 415 416 417 418
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
419

hu's avatar
hu committed
420 421
/*轮胎*/
void Level2_2Menu_8Enter(void)
hu's avatar
hu committed
422
{}
hu's avatar
hu committed
423 424 425 426 427 428 429 430
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)
{}
431

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

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

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

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

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

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

hu's avatar
hu committed
505 506 507
/*----二级菜单----用户设定----系列子菜单*/
/*日期设定*/
void Level2_4Menu_1Enter(void)
hu's avatar
hu committed
508
{}
hu's avatar
hu committed
509 510
void Level2_4Menu_1Do(void)
{
hu's avatar
hu committed
511 512 513
    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
514 515 516
}
void Level2_4Menu_1Exit(void)
{}
hu's avatar
hu committed
517

hu's avatar
hu committed
518
/*时间设定*/
hu's avatar
hu committed
519
void Level2_4Menu_2Enter(void)
hu's avatar
hu committed
520
{}
hu's avatar
hu committed
521 522
void Level2_4Menu_2Do(void)
{
hu's avatar
hu committed
523 524 525
    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
526 527 528
}
void Level2_4Menu_2Exit(void)
{}
hu's avatar
hu committed
529

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

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

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

hu's avatar
hu committed
566 567 568 569 570 571 572 573 574 575 576 577
/*显示设定*/
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
578 579
/*LDWS 警报演示*/
void Level2_5Menu_1Enter(void)
hu's avatar
hu committed
580
{}
hu's avatar
hu committed
581
void Level2_5Menu_1Do(void)
hu's avatar
hu committed
582
{
hu's avatar
hu committed
583
    GUI_OftenShow_Display();
hu's avatar
hu committed
584 585
    GUI_BG_Demo_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_DemoMenu1_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
586
}
hu's avatar
hu committed
587
void Level2_5Menu_1Exit(void)
hu's avatar
hu committed
588
{}
hu's avatar
hu committed
589 590 591

/*AEBS第1警报演示*/
void Level2_5Menu_2Enter(void)
hu's avatar
hu committed
592
{}
hu's avatar
hu committed
593
void Level2_5Menu_2Do(void)
hu's avatar
hu committed
594
{
hu's avatar
hu committed
595 596 597
    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
598
}
hu's avatar
hu committed
599
void Level2_5Menu_2Exit(void)
hu's avatar
hu committed
600
{}
hu's avatar
hu committed
601 602 603

/*AEBS第1警报演示*/
void Level2_5Menu_3Enter(void)
hu's avatar
hu committed
604
{}
hu's avatar
hu committed
605
void Level2_5Menu_3Do(void)
hu's avatar
hu committed
606
{
hu's avatar
hu committed
607 608 609
    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
610
}
hu's avatar
hu committed
611
void Level2_5Menu_3Exit(void)
hu's avatar
hu committed
612
{}
hu's avatar
hu committed
613 614 615

/*AEBS全力制动警报演示*/
void Level2_5Menu_4Enter(void)
hu's avatar
hu committed
616
{}
hu's avatar
hu committed
617
void Level2_5Menu_4Do(void)
hu's avatar
hu committed
618
{
hu's avatar
hu committed
619 620 621
    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
622
}
hu's avatar
hu committed
623
void Level2_5Menu_4Exit(void)
hu's avatar
hu committed
624
{}
625

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

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

hu's avatar
hu committed
650
/*----三级菜单----保养通知----系列子菜单*/
hu's avatar
hu committed
651
/*发动机机油滤清器*/
hu's avatar
hu committed
652
void Level3_2Menu_1Enter(void)
hu's avatar
hu committed
653 654 655 656 657 658 659 660 661
{
    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
662 663
void Level3_2Menu_1Do(void)
{
hu's avatar
hu committed
664
    GUI_OftenShow_Display();
hu's avatar
hu committed
665 666
    GUI_BG_RepMenu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepMenu_3_1_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
667 668
}
void Level3_2Menu_1Exit(void)
hu's avatar
hu committed
669
{}
hu's avatar
hu committed
670

hu's avatar
hu committed
671
/*燃油滤清器*/
hu's avatar
hu committed
672
void Level3_2Menu_2Enter(void)
hu's avatar
hu committed
673
{}
hu's avatar
hu committed
674 675
void Level3_2Menu_2Do(void)
{
hu's avatar
hu committed
676 677 678
    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
679 680
}
void Level3_2Menu_2Exit(void)
hu's avatar
hu committed
681
{}
hu's avatar
hu committed
682

hu's avatar
hu committed
683
/*变速箱油*/
hu's avatar
hu committed
684
void Level3_2Menu_3Enter(void)
hu's avatar
hu committed
685
{}
hu's avatar
hu committed
686 687
void Level3_2Menu_3Do(void)
{
hu's avatar
hu committed
688 689 690
    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
691 692
}
void Level3_2Menu_3Exit(void)
hu's avatar
hu committed
693
{}
hu's avatar
hu committed
694

hu's avatar
hu committed
695
/*差速器油*/
hu's avatar
hu committed
696
void Level3_2Menu_4Enter(void)
hu's avatar
hu committed
697
{}
hu's avatar
hu committed
698 699
void Level3_2Menu_4Do(void)
{
hu's avatar
hu committed
700 701 702
    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
703 704
}
void Level3_2Menu_4Exit(void)
hu's avatar
hu committed
705
{}
hu's avatar
hu committed
706

hu's avatar
hu committed
707
/*动力转向油*/
hu's avatar
hu committed
708
void Level3_2Menu_7Enter(void)
hu's avatar
hu committed
709
{}
hu's avatar
hu committed
710 711
void Level3_2Menu_7Do(void)
{
hu's avatar
hu committed
712 713 714
    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
715 716
}
void Level3_2Menu_7Exit(void)
hu's avatar
hu committed
717
{}
hu's avatar
hu committed
718

hu's avatar
hu committed
719
/*轮胎*/
hu's avatar
hu committed
720
void Level3_2Menu_8Enter(void)
hu's avatar
hu committed
721
{}
hu's avatar
hu committed
722 723
void Level3_2Menu_8Do(void)
{
hu's avatar
hu committed
724 725 726
    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
727 728
}
void Level3_2Menu_8Exit(void)
hu's avatar
hu committed
729
{}
hu's avatar
hu committed
730

hu's avatar
hu committed
731
/*----三级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
732
/*更换机油机油滤清器*/
hu's avatar
hu committed
733
void Level3_3Menu_1Enter(void)
hu's avatar
hu committed
734 735 736 737 738 739 740 741 742 743
{
    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
744 745
void Level3_3Menu_1Do(void)
{
hu's avatar
hu committed
746 747 748
    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
749 750
}
void Level3_3Menu_1Exit(void)
hu's avatar
hu committed
751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767
{
    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
768

hu's avatar
hu committed
769
/*更黄燃油滤清器*/
hu's avatar
hu committed
770
void Level3_3Menu_2Enter(void)
hu's avatar
hu committed
771
{}
hu's avatar
hu committed
772 773
void Level3_3Menu_2Do(void)
{
hu's avatar
hu committed
774 775 776
    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
777 778
}
void Level3_3Menu_2Exit(void)
hu's avatar
hu committed
779
{}
hu's avatar
hu committed
780

hu's avatar
hu committed
781
/*更换变速箱油*/
hu's avatar
hu committed
782
void Level3_3Menu_3Enter(void)
hu's avatar
hu committed
783
{}
hu's avatar
hu committed
784 785
void Level3_3Menu_3Do(void)
{
hu's avatar
hu committed
786 787 788
    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
789 790
}
void Level3_3Menu_3Exit(void)
hu's avatar
hu committed
791
{}
hu's avatar
hu committed
792

hu's avatar
hu committed
793
/*更黄差速器油*/
hu's avatar
hu committed
794
void Level3_3Menu_4Enter(void)
hu's avatar
hu committed
795
{}
hu's avatar
hu committed
796 797
void Level3_3Menu_4Do(void)
{
hu's avatar
hu committed
798 799 800
    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
801 802
}
void Level3_3Menu_4Exit(void)
hu's avatar
hu committed
803
{}
hu's avatar
hu committed
804

hu's avatar
hu committed
805
/*更换离合器油*/
hu's avatar
hu committed
806
void Level3_3Menu_5Enter(void)
hu's avatar
hu committed
807
{}
hu's avatar
hu committed
808 809
void Level3_3Menu_5Do(void)
{
hu's avatar
hu committed
810 811 812
    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
813 814
}
void Level3_3Menu_5Exit(void)
hu's avatar
hu committed
815
{}
hu's avatar
hu committed
816

hu's avatar
hu committed
817
/*更换动力转向液*/
hu's avatar
hu committed
818
void Level3_3Menu_6Enter(void)
hu's avatar
hu committed
819
{}
hu's avatar
hu committed
820
void Level3_3Menu_6Do(void)
hu's avatar
hu committed
821
{
hu's avatar
hu committed
822 823 824
    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
825
}
hu's avatar
hu committed
826
void Level3_3Menu_6Exit(void)
hu's avatar
hu committed
827
{}
828

hu's avatar
hu committed
829
/*更换轮胎*/
hu's avatar
hu committed
830
void Level3_3Menu_7Enter(void)
hu's avatar
hu committed
831
{}
hu's avatar
hu committed
832
void Level3_3Menu_7Do(void)
hu's avatar
hu committed
833
{
hu's avatar
hu committed
834 835 836
    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
837
}
hu's avatar
hu committed
838
void Level3_3Menu_7Exit(void)
hu's avatar
hu committed
839
{}
hu's avatar
hu committed
840

hu's avatar
hu committed
841
/*----三级菜单----用户设定----系列子选项*/
hu's avatar
hu committed
842
/*日期设定*/
hu's avatar
hu committed
843
void Level3_4Menu_1Enter_1(void)
hu's avatar
hu committed
844
{}
hu's avatar
hu committed
845
void Level3_4Menu_1Do_1(void)
hu's avatar
hu committed
846
{
hu's avatar
hu committed
847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863
    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)
{}

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
864

hu's avatar
hu committed
865 866 867 868 869 870 871
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
872
}
hu's avatar
hu committed
873
void Level3_4Menu_1Exit_3(void)
hu's avatar
hu committed
874
{}
hu's avatar
hu committed
875

hu's avatar
hu committed
876
/*时间设定*/
hu's avatar
hu committed
877
void Level3_4Menu_2Enter_1(void)
hu's avatar
hu committed
878
{}
hu's avatar
hu committed
879
void Level3_4Menu_2Do_1(void)
hu's avatar
hu committed
880
{
hu's avatar
hu committed
881 882 883 884 885 886
    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
887

hu's avatar
hu committed
888 889 890 891 892 893 894
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
895
}
hu's avatar
hu committed
896
void Level3_4Menu_2Exit_2(void)
hu's avatar
hu committed
897
{}
hu's avatar
hu committed
898

hu's avatar
hu committed
899
/*语言设定*/
hu's avatar
hu committed
900
void Level3_4Menu_3Enter(void)
hu's avatar
hu committed
901
{}
hu's avatar
hu committed
902 903
void Level3_4Menu_3Do(void)
{
hu's avatar
hu committed
904 905 906
    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
907 908
}
void Level3_4Menu_3Exit(void)
hu's avatar
hu committed
909
{}
hu's avatar
hu committed
910

hu's avatar
hu committed
911
/*省油建议*/
hu's avatar
hu committed
912
/*速度设定-高速路*/
hu's avatar
hu committed
913
void Level3_4Menu_4Enter_1(void)
hu's avatar
hu committed
914
{}
hu's avatar
hu committed
915 916
void Level3_4Menu_4Do_1(void)
{
hu's avatar
hu committed
917 918 919
    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
920 921
}
void Level3_4Menu_4Exit_1(void)
hu's avatar
hu committed
922
{}
hu's avatar
hu committed
923

hu's avatar
hu committed
924
/*速度设定-一般路*/
hu's avatar
hu committed
925
void Level3_4Menu_4Enter_2(void)
hu's avatar
hu committed
926
{}
hu's avatar
hu committed
927 928
void Level3_4Menu_4Do_2(void)
{
hu's avatar
hu committed
929 930 931
    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
932 933
}
void Level3_4Menu_4Exit_2(void)
hu's avatar
hu committed
934
{}
hu's avatar
hu committed
935

hu's avatar
hu committed
936
/*发送机转速设定*/
hu's avatar
hu committed
937
void Level3_4Menu_4Enter_3(void)
hu's avatar
hu committed
938
{}
hu's avatar
hu committed
939 940
void Level3_4Menu_4Do_3(void)
{
hu's avatar
hu committed
941 942 943
    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
944 945
}
void Level3_4Menu_4Exit_3(void)
hu's avatar
hu committed
946
{}
hu's avatar
hu committed
947

hu's avatar
hu committed
948
/*急加速设定*/
hu's avatar
hu committed
949
void Level3_4Menu_4Enter_4(void)
hu's avatar
hu committed
950
{}
hu's avatar
hu committed
951 952
void Level3_4Menu_4Do_4(void)
{
hu's avatar
hu committed
953 954 955
    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
956 957
}
void Level3_4Menu_4Exit_4(void)
hu's avatar
hu committed
958
{}
hu's avatar
hu committed
959

hu's avatar
hu committed
960
/*急减速设定*/
hu's avatar
hu committed
961
void Level3_4Menu_4Enter_5(void)
hu's avatar
hu committed
962
{}
hu's avatar
hu committed
963 964
void Level3_4Menu_4Do_5(void)
{
hu's avatar
hu committed
965 966 967
    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
968 969
}
void Level3_4Menu_4Exit_5(void)
hu's avatar
hu committed
970
{}
hu's avatar
hu committed
971

hu's avatar
hu committed
972
/*长时间怠速设定*/
hu's avatar
hu committed
973
void Level3_4Menu_4Enter_6(void)
hu's avatar
hu committed
974
{}
hu's avatar
hu committed
975 976
void Level3_4Menu_4Do_6(void)
{
hu's avatar
hu committed
977 978 979
    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
980 981
}
void Level3_4Menu_4Exit_6(void)
hu's avatar
hu committed
982
{}
hu's avatar
hu committed
983

hu's avatar
hu committed
984
/*辅助驻车解除设定*/
hu's avatar
hu committed
985
void Level3_4Menu_4Enter_7(void)
hu's avatar
hu committed
986
{}
hu's avatar
hu committed
987 988
void Level3_4Menu_4Do_7(void)
{
hu's avatar
hu committed
989 990 991
    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
992 993
}
void Level3_4Menu_4Exit_7(void)
hu's avatar
hu committed
994
{}
hu's avatar
hu committed
995

hu's avatar
hu committed
996
/*TPMS  轮胎设定*/
hu's avatar
hu committed
997
void Level3_4Menu_5Enter(void)
hu's avatar
hu committed
998
{}
hu's avatar
hu committed
999 1000
void Level3_4Menu_5Do(void)
{
hu's avatar
hu committed
1001
    GUI_BG_TPMS_PictureSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1002 1003
}
void Level3_4Menu_5Exit(void)
hu's avatar
hu committed
1004
{}
hu's avatar
hu committed
1005

hu's avatar
hu committed
1006 1007
/*系统演示*/
/*LDWS 警报演示*/
hu's avatar
hu committed
1008
void Level3_5Menu_1Enter(void)
hu's avatar
hu committed
1009
{}
hu's avatar
hu committed
1010 1011 1012 1013 1014
void Level3_5Menu_1Do(void)
{

}
void Level3_5Menu_1Exit(void)
hu's avatar
hu committed
1015
{}
hu's avatar
hu committed
1016

hu's avatar
hu committed
1017
/*AEBS第1警报演示*/
hu's avatar
hu committed
1018
void Level3_5Menu_2Enter(void)
hu's avatar
hu committed
1019
{}
hu's avatar
hu committed
1020 1021 1022 1023 1024
void Level3_5Menu_2Do(void)
{

}
void Level3_5Menu_2Exit(void)
hu's avatar
hu committed
1025
{}
hu's avatar
hu committed
1026

hu's avatar
hu committed
1027
/*AEBS第2警报演示*/
hu's avatar
hu committed
1028
void Level3_5Menu_3Enter(void)
hu's avatar
hu committed
1029
{}
hu's avatar
hu committed
1030 1031 1032 1033 1034
void Level3_5Menu_3Do(void)
{

}
void Level3_5Menu_3Exit(void)
hu's avatar
hu committed
1035
{}
hu's avatar
hu committed
1036

hu's avatar
hu committed
1037
/*AEBS全力制动警报演示*/
hu's avatar
hu committed
1038
void Level3_5Menu_4Enter(void)
hu's avatar
hu committed
1039
{}
hu's avatar
hu committed
1040 1041 1042 1043 1044
void Level3_5Menu_4Do(void)
{

}
void Level3_5Menu_4Exit(void)
hu's avatar
hu committed
1045
{}
hu's avatar
hu committed
1046

hu's avatar
hu committed
1047 1048
/*省油建议设定*/
/*速度设定-高速路子菜单*/
hu's avatar
hu committed
1049
void Level4_4Menu_1Enter(void)
hu's avatar
hu committed
1050
{}
hu's avatar
hu committed
1051 1052
void Level4_4Menu_1Do(void)
{
hu's avatar
hu committed
1053 1054
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1055 1056
}
void Level4_4Menu_1Exit(void)
hu's avatar
hu committed
1057
{}
hu's avatar
hu committed
1058

hu's avatar
hu committed
1059
/*速度设定-一般路子菜单*/
hu's avatar
hu committed
1060
void Level4_4Menu_2Enter(void)
hu's avatar
hu committed
1061
{}
hu's avatar
hu committed
1062 1063
void Level4_4Menu_2Do(void)
{
hu's avatar
hu committed
1064 1065
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1066 1067
}
void Level4_4Menu_2Exit(void)
hu's avatar
hu committed
1068
{}
hu's avatar
hu committed
1069

hu's avatar
hu committed
1070
/*发动机转速设定子菜单*/
hu's avatar
hu committed
1071
void Level4_4Menu_3Enter(void)
hu's avatar
hu committed
1072
{}
hu's avatar
hu committed
1073 1074
void Level4_4Menu_3Do(void)
{
hu's avatar
hu committed
1075 1076
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1077 1078
}
void Level4_4Menu_3Exit(void)
hu's avatar
hu committed
1079
{}
hu's avatar
hu committed
1080

hu's avatar
hu committed
1081
/*急加速设定子菜单*/
hu's avatar
hu committed
1082
void Level4_4Menu_4Enter(void)
hu's avatar
hu committed
1083
{}
hu's avatar
hu committed
1084 1085
void Level4_4Menu_4Do(void)
{
hu's avatar
hu committed
1086 1087
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1088 1089
}
void Level4_4Menu_4Exit(void)
hu's avatar
hu committed
1090
{}
hu's avatar
hu committed
1091

hu's avatar
hu committed
1092
/*急减速子菜单*/
hu's avatar
hu committed
1093
void Level4_4Menu_5Enter(void)
hu's avatar
hu committed
1094
{}
hu's avatar
hu committed
1095 1096
void Level4_4Menu_5Do(void)
{
hu's avatar
hu committed
1097 1098
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1099 1100
}
void Level4_4Menu_5Exit(void)
hu's avatar
hu committed
1101
{}
hu's avatar
hu committed
1102

hu's avatar
hu committed
1103
/*长时间怠速设定子菜单*/
hu's avatar
hu committed
1104
void Level4_4Menu_6Enter(void)
hu's avatar
hu committed
1105
{}
hu's avatar
hu committed
1106 1107
void Level4_4Menu_6Do(void)
{
hu's avatar
hu committed
1108 1109
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1110 1111
}
void Level4_4Menu_6Exit(void)
hu's avatar
hu committed
1112
{}
hu's avatar
hu committed
1113

hu's avatar
hu committed
1114
/*辅助驻车解除设定*/
hu's avatar
hu committed
1115
void Level4_4Menu_7Enter(void)
hu's avatar
hu committed
1116
{}
hu's avatar
hu committed
1117 1118
void Level4_4Menu_7Do(void)
{
hu's avatar
hu committed
1119 1120
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1121 1122
}
void Level4_4Menu_7Exit(void)
hu's avatar
hu committed
1123
{}
hu's avatar
hu committed
1124 1125 1126

/*Enter*/
void Level_Enter_Menu_Enter(void)
hu's avatar
hu committed
1127
{}
hu's avatar
hu committed
1128 1129
void Level_Enter_Menu_Do(void)
{
hu's avatar
hu committed
1130
    GUI_BG_Enter_Return_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142
}
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
1143
{}
hu's avatar
hu committed
1144 1145
void Level_Return_Menu_Do(void)
{
hu's avatar
hu committed
1146
    GUI_BG_Enter_Return_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160
    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
1161
}