Menu_user.c 45.5 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
/*----二级菜单----保养通知----子菜单系列*/
hu's avatar
hu committed
374 375
/*燃油滤清器*/
void Level2_2Menu_2Enter(void)
hu's avatar
hu committed
376
{}
hu's avatar
hu committed
377 378 379 380 381 382 383 384
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
385

hu's avatar
hu committed
386
/*----二级菜单----保养通知----子菜单系列*/
hu's avatar
hu committed
387 388
/*变速箱油*/
void Level2_2Menu_3Enter(void)
hu's avatar
hu committed
389
{}
hu's avatar
hu committed
390 391 392 393 394 395 396 397
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
398

hu's avatar
hu committed
399
/*----二级菜单----保养通知----子菜单系列*/
hu's avatar
hu committed
400 401
/*差速器油*/
void Level2_2Menu_4Enter(void)
hu's avatar
hu committed
402
{}
hu's avatar
hu committed
403 404 405 406 407 408 409 410
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
411

hu's avatar
hu committed
412
/*----二级菜单----保养通知----子菜单系列*/
hu's avatar
hu committed
413 414
/*动力转向油*/
void Level2_2Menu_7Enter(void)
hu's avatar
hu committed
415
{}
hu's avatar
hu committed
416 417 418 419 420 421 422 423
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
424

hu's avatar
hu committed
425
/*----二级菜单----保养通知----子菜单系列*/
hu's avatar
hu committed
426 427
/*轮胎*/
void Level2_2Menu_8Enter(void)
hu's avatar
hu committed
428
{}
hu's avatar
hu committed
429 430 431 432 433 434 435 436
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)
{}
437

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

hu's avatar
hu committed
451
/*----二级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
452
/*更换燃油滤清器*/
hu's avatar
hu committed
453
void Level2_3Menu_2Enter(void)
hu's avatar
hu committed
454
{}
hu's avatar
hu committed
455 456 457
void Level2_3Menu_2Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
458
    GUI_BG_RepSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
459 460 461 462
    GUI_BG_RepSetMenu2_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_3Menu_2Exit(void)
{}
hu's avatar
hu committed
463

hu's avatar
hu committed
464
/*----二级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
465
/*更换变速箱油*/
hu's avatar
hu committed
466
void Level2_3Menu_3Enter(void)
hu's avatar
hu committed
467
{}
hu's avatar
hu committed
468 469 470
void Level2_3Menu_3Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
471
    GUI_BG_RepSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
472 473 474 475
    GUI_BG_RepSetMenu3_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_3Menu_3Exit(void)
{}
hu's avatar
hu committed
476

hu's avatar
hu committed
477
/*----二级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
478
/*更换差速器油*/
hu's avatar
hu committed
479
void Level2_3Menu_4Enter(void)
hu's avatar
hu committed
480
{}
hu's avatar
hu committed
481 482 483
void Level2_3Menu_4Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
484
    GUI_BG_RepSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
485 486 487 488
    GUI_BG_RepSetMenu4_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_3Menu_4Exit(void)
{}
hu's avatar
hu committed
489

hu's avatar
hu committed
490
/*----二级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
491
/*更换动力转向油*/
hu's avatar
hu committed
492
void Level2_3Menu_6Enter(void)
hu's avatar
hu committed
493
{}
hu's avatar
hu committed
494 495 496
void Level2_3Menu_6Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
497
    GUI_BG_RepSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
498 499 500 501
    GUI_BG_RepSetMenu6_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_3Menu_6Exit(void)
{}
hu's avatar
hu committed
502

hu's avatar
hu committed
503
/*----二级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
504
/*更换轮胎轮胎*/
hu's avatar
hu committed
505
void Level2_3Menu_7Enter(void)
hu's avatar
hu committed
506
{}
hu's avatar
hu committed
507 508 509
void Level2_3Menu_7Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
510
    GUI_BG_RepSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
511 512 513 514
    GUI_BG_RepSetMenu7_Display(GUI_DISP_MODE_NORMAL);
}
void Level2_3Menu_7Exit(void)
{}
hu's avatar
hu committed
515

hu's avatar
hu committed
516 517 518
/*----二级菜单----用户设定----系列子菜单*/
/*日期设定*/
void Level2_4Menu_1Enter(void)
hu's avatar
hu committed
519
{}
hu's avatar
hu committed
520 521
void Level2_4Menu_1Do(void)
{
hu's avatar
hu committed
522 523 524
    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
525 526 527
}
void Level2_4Menu_1Exit(void)
{}
hu's avatar
hu committed
528

hu's avatar
hu committed
529
/*----二级菜单----用户设定----系列子菜单*/
hu's avatar
hu committed
530
/*时间设定*/
hu's avatar
hu committed
531
void Level2_4Menu_2Enter(void)
hu's avatar
hu committed
532
{}
hu's avatar
hu committed
533 534
void Level2_4Menu_2Do(void)
{
hu's avatar
hu committed
535 536 537
    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
538 539 540
}
void Level2_4Menu_2Exit(void)
{}
hu's avatar
hu committed
541

hu's avatar
hu committed
542
/*----二级菜单----用户设定----系列子菜单*/
hu's avatar
hu committed
543
/*语言设定*/
hu's avatar
hu committed
544
void Level2_4Menu_3Enter(void)
hu's avatar
hu committed
545
{}
hu's avatar
hu committed
546 547
void Level2_4Menu_3Do(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_UserSetMenu3_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
551 552 553
}
void Level2_4Menu_3Exit(void)
{}
hu's avatar
hu committed
554

hu's avatar
hu committed
555
/*----二级菜单----用户设定----系列子菜单*/
hu's avatar
hu committed
556
/*设定节油驾驶建议*/
hu's avatar
hu committed
557
void Level2_4Menu_4Enter(void)
hu's avatar
hu committed
558
{}
hu's avatar
hu committed
559 560
void Level2_4Menu_4Do(void)
{
hu's avatar
hu committed
561 562
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
563
    GUI_BG_UserSetMenu4_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
564 565 566
}
void Level2_4Menu_4Exit(void)
{}
hu's avatar
hu committed
567

hu's avatar
hu committed
568
/*----二级菜单----用户设定----系列子菜单*/
hu's avatar
hu committed
569
/*TPMS轮胎设定*/
hu's avatar
hu committed
570
void Level2_4Menu_5Enter(void)
hu's avatar
hu committed
571
{}
hu's avatar
hu committed
572 573
void Level2_4Menu_5Do(void)
{
hu's avatar
hu committed
574 575
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Menu_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
576
    GUI_BG_UserSetMenu5_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
577 578 579
}
void Level2_4Menu_5Exit(void)
{}
hu's avatar
hu committed
580

hu's avatar
hu committed
581
/*----二级菜单----用户设定----系列子菜单*/
hu's avatar
hu committed
582 583 584 585 586 587 588 589 590 591 592 593
/*显示设定*/
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
594
/*----二级菜单----系统演示----系列子菜单*/
hu's avatar
hu committed
595 596
/*LDWS 警报演示*/
void Level2_5Menu_1Enter(void)
hu's avatar
hu committed
597
{}
hu's avatar
hu committed
598
void Level2_5Menu_1Do(void)
hu's avatar
hu committed
599
{
hu's avatar
hu committed
600
    GUI_OftenShow_Display();
hu's avatar
hu committed
601 602
    GUI_BG_Demo_Menu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_DemoMenu1_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
603
}
hu's avatar
hu committed
604
void Level2_5Menu_1Exit(void)
hu's avatar
hu committed
605
{}
hu's avatar
hu committed
606

hu's avatar
hu committed
607
/*----二级菜单----系统演示----系列子菜单*/
hu's avatar
hu committed
608 609
/*AEBS第1警报演示*/
void Level2_5Menu_2Enter(void)
hu's avatar
hu committed
610
{}
hu's avatar
hu committed
611
void Level2_5Menu_2Do(void)
hu's avatar
hu committed
612
{
hu's avatar
hu committed
613 614 615
    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
616
}
hu's avatar
hu committed
617
void Level2_5Menu_2Exit(void)
hu's avatar
hu committed
618
{}
hu's avatar
hu committed
619

hu's avatar
hu committed
620
/*----二级菜单----系统演示----系列子菜单*/
hu's avatar
hu committed
621 622
/*AEBS第1警报演示*/
void Level2_5Menu_3Enter(void)
hu's avatar
hu committed
623
{}
hu's avatar
hu committed
624
void Level2_5Menu_3Do(void)
hu's avatar
hu committed
625
{
hu's avatar
hu committed
626 627 628
    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
629
}
hu's avatar
hu committed
630
void Level2_5Menu_3Exit(void)
hu's avatar
hu committed
631
{}
hu's avatar
hu committed
632

hu's avatar
hu committed
633
/*----二级菜单----系统演示----系列子菜单*/
hu's avatar
hu committed
634 635
/*AEBS全力制动警报演示*/
void Level2_5Menu_4Enter(void)
hu's avatar
hu committed
636
{}
hu's avatar
hu committed
637
void Level2_5Menu_4Do(void)
hu's avatar
hu committed
638
{
hu's avatar
hu committed
639 640 641
    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
642
}
hu's avatar
hu committed
643
void Level2_5Menu_4Exit(void)
hu's avatar
hu committed
644
{}
645

hu's avatar
hu committed
646
/*----二级菜单----轮胎状态----系列子菜单*/
hu's avatar
hu committed
647 648
/*轮胎气压*/
void Level2_6Menu_1Enter(void)
hu's avatar
hu committed
649
{}
hu's avatar
hu committed
650 651 652
void Level2_6Menu_1Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
653 654
    GUI_BG_TPMS_GasPIC_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_TPMS_GasNUM_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
655 656 657 658
}
void Level2_6Menu_1Exit(void)
{}

hu's avatar
hu committed
659
/*----二级菜单----轮胎状态----系列子菜单*/
hu's avatar
hu committed
660 661
/*轮胎温度*/
void Level2_6Menu_2Enter(void)
hu's avatar
hu committed
662
{}
hu's avatar
hu committed
663 664 665
void Level2_6Menu_2Do(void)
{
    GUI_OftenShow_Display();
hu's avatar
hu committed
666 667
    GUI_BG_TPMS_TempPIC_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_TPMS_TempNUM_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
668 669 670 671
}
void Level2_6Menu_2Exit(void)
{}

hu's avatar
hu committed
672
/*----三级菜单----保养通知----系列子菜单*/
hu's avatar
hu committed
673
/*发动机机油滤清器*/
hu's avatar
hu committed
674
void Level3_2Menu_1Enter(void)
hu's avatar
hu committed
675 676 677 678 679 680 681
{
    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
682 683

        Data_Clear_Trip(EM_TRIP_JY);
hu's avatar
hu committed
684 685
    }
}
hu's avatar
hu committed
686 687
void Level3_2Menu_1Do(void)
{
hu's avatar
hu committed
688
    GUI_OftenShow_Display();
hu's avatar
hu committed
689 690
    GUI_BG_RepMenu_Display(GUI_DISP_MODE_NORMAL);
    GUI_BG_RepMenu_3_1_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
691 692
}
void Level3_2Menu_1Exit(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
/*燃油滤清器*/
hu's avatar
hu committed
697
void Level3_2Menu_2Enter(void)
hu's avatar
hu committed
698 699 700 701 702 703 704 705 706 707 708
{
    if (MenuFlag.Menu_Return)
    {
        User_App.User_RYLQQ = (uint32_t)K_Line_User_RYLQQ * 1000;

        State_Flag.User_RYLQQ_FLAG = 0;
        MenuFlag.Menu_Return = 0;

        Data_Clear_Trip(EM_TRIP_RY);
    }
}
hu's avatar
hu committed
709 710
void Level3_2Menu_2Do(void)
{
hu's avatar
hu committed
711 712 713
    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
714 715
}
void Level3_2Menu_2Exit(void)
hu's avatar
hu committed
716
{}
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_3Enter(void)
hu's avatar
hu committed
721 722 723 724 725 726 727 728 729 730 731
{
    if (MenuFlag.Menu_Return)
    {
        User_App.User_BSXY = (uint32_t)K_Line_Set.K_Line_LID4A * 1000;

        State_Flag.User_BSXY_FLAG = 0;
        MenuFlag.Menu_Return = 0;

        Data_Clear_Trip(EM_TRIP_BSX);
    }
}
hu's avatar
hu committed
732 733
void Level3_2Menu_3Do(void)
{
hu's avatar
hu committed
734 735 736
    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
737 738
}
void Level3_2Menu_3Exit(void)
hu's avatar
hu committed
739
{}
hu's avatar
hu committed
740

hu's avatar
hu committed
741
/*----三级菜单----保养通知----系列子菜单*/
hu's avatar
hu committed
742
/*差速器油*/
hu's avatar
hu committed
743
void Level3_2Menu_4Enter(void)
hu's avatar
hu committed
744 745 746 747 748 749 750 751 752 753 754
{
    if (MenuFlag.Menu_Return)
    {
        User_App.User_CSQY = (uint32_t)K_Line_Set.K_Line_LID4B * 1000;

        State_Flag.User_CSQY_FLAG = 0;
        MenuFlag.Menu_Return = 0;

        Data_Clear_Trip(EM_TRIP_CSQ);
    }
}
hu's avatar
hu committed
755 756
void Level3_2Menu_4Do(void)
{
hu's avatar
hu committed
757 758 759
    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
760 761
}
void Level3_2Menu_4Exit(void)
hu's avatar
hu committed
762
{}
hu's avatar
hu committed
763

hu's avatar
hu committed
764
/*----三级菜单----保养通知----系列子菜单*/
hu's avatar
hu committed
765
/*动力转向油*/
hu's avatar
hu committed
766
void Level3_2Menu_7Enter(void)
hu's avatar
hu committed
767 768 769 770 771 772 773 774 775 776 777
{
    if (MenuFlag.Menu_Return)
    {
        User_App.User_DLZXY = (uint32_t)K_Line_Set.K_Line_LID4D * 1000;

        State_Flag.User_DLZXY_FLAG = 0;
        MenuFlag.Menu_Return = 0;

        Data_Clear_Trip(EM_TRIP_DLZX);
    }
}
hu's avatar
hu committed
778 779
void Level3_2Menu_7Do(void)
{
hu's avatar
hu committed
780 781 782
    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
783 784
}
void Level3_2Menu_7Exit(void)
hu's avatar
hu committed
785
{}
hu's avatar
hu committed
786

hu's avatar
hu committed
787
/*----三级菜单----保养通知----系列子菜单*/
hu's avatar
hu committed
788
/*轮胎*/
hu's avatar
hu committed
789
void Level3_2Menu_8Enter(void)
hu's avatar
hu committed
790 791 792 793 794 795 796 797 798 799 800
{
    if (MenuFlag.Menu_Return)
    {
        User_App.User_LT = (uint32_t)K_Line_Set.K_Line_LID4E * 1000;

        State_Flag.User_LT_FLAG = 0;
        MenuFlag.Menu_Return = 0;

        Data_Clear_Trip(EM_TRIP_LT);
    }
}
hu's avatar
hu committed
801 802
void Level3_2Menu_8Do(void)
{
hu's avatar
hu committed
803 804 805
    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
806 807
}
void Level3_2Menu_8Exit(void)
hu's avatar
hu committed
808
{}
hu's avatar
hu committed
809

hu's avatar
hu committed
810
/*----三级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
811
/*更换机油机油滤清器*/
hu's avatar
hu committed
812
void Level3_3Menu_1Enter(void)
hu's avatar
hu committed
813 814 815 816 817 818 819 820 821 822
{
    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
823 824
void Level3_3Menu_1Do(void)
{
hu's avatar
hu committed
825 826 827
    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
828 829
}
void Level3_3Menu_1Exit(void)
hu's avatar
hu committed
830 831 832 833 834 835 836
{
    if (MenuFlag.Menu_Return == 1u)
    {
        User_App.User_FDJYLQQ = User_set_Num.User_FDJYLQQ ;

        MenuFlag.Menu_Return = 0u;

hu's avatar
hu committed
837
        if (User_set_Num.User_FDJYLQQ != 0u)
hu's avatar
hu committed
838
        {
hu's avatar
hu committed
839
            State_Flag.User_FDJYLQQ_FLAG = 0u;
hu's avatar
hu committed
840 841
            Data_Clear_Trip(EM_TRIP_JY);
        }
hu's avatar
hu committed
842
        else
hu's avatar
hu committed
843
        {
hu's avatar
hu committed
844
            State_Flag.User_FDJYLQQ_FLAG = 3u;
hu's avatar
hu committed
845
        }
hu's avatar
hu committed
846 847
    }
}
hu's avatar
hu committed
848

hu's avatar
hu committed
849
/*----三级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
850
/*更黄燃油滤清器*/
hu's avatar
hu committed
851
void Level3_3Menu_2Enter(void)
hu's avatar
hu committed
852
{}
hu's avatar
hu committed
853 854
void Level3_3Menu_2Do(void)
{
hu's avatar
hu committed
855 856 857
    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
858 859
}
void Level3_3Menu_2Exit(void)
hu's avatar
hu committed
860 861 862 863 864 865 866 867
{
    if (MenuFlag.Menu_Return)
    {
        User_App.User_RYLQQ = User_set_Num.User_RYLQQ ;

        MenuFlag.Menu_Return = 0;

        if (User_set_Num.User_RYLQQ != 0)
hu's avatar
hu committed
868
        {
hu's avatar
hu committed
869
            State_Flag.User_RYLQQ_FLAG = 0;
hu's avatar
hu committed
870 871
            Data_Clear_Trip(EM_TRIP_RY);
        }
hu's avatar
hu committed
872
        else
hu's avatar
hu committed
873
        {
hu's avatar
hu committed
874
            State_Flag.User_RYLQQ_FLAG = 3;
hu's avatar
hu committed
875
        }
hu's avatar
hu committed
876 877
    }
}
hu's avatar
hu committed
878

hu's avatar
hu committed
879
/*----三级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
880
/*更换变速箱油*/
hu's avatar
hu committed
881
void Level3_3Menu_3Enter(void)
hu's avatar
hu committed
882
{}
hu's avatar
hu committed
883 884
void Level3_3Menu_3Do(void)
{
hu's avatar
hu committed
885 886 887
    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
888 889
}
void Level3_3Menu_3Exit(void)
hu's avatar
hu committed
890 891 892 893 894 895
{
    if (MenuFlag.Menu_Return)
    {
        User_App.User_BSXY = User_set_Num.User_BSXY ;

        MenuFlag.Menu_Return = 0;
hu's avatar
hu committed
896

hu's avatar
hu committed
897
        if (User_set_Num.User_BSXY != 0)
hu's avatar
hu committed
898
        {
hu's avatar
hu committed
899
            State_Flag.User_BSXY_FLAG = 0;
hu's avatar
hu committed
900 901
            Data_Clear_Trip(EM_TRIP_BSX);
        }
hu's avatar
hu committed
902
        else
hu's avatar
hu committed
903
        {
hu's avatar
hu committed
904
            State_Flag.User_BSXY_FLAG = 3;
hu's avatar
hu committed
905
        }
hu's avatar
hu committed
906 907 908 909
    }
}

/*----三级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
910
/*更黄差速器油*/
hu's avatar
hu committed
911
void Level3_3Menu_4Enter(void)
hu's avatar
hu committed
912
{}
hu's avatar
hu committed
913 914
void Level3_3Menu_4Do(void)
{
hu's avatar
hu committed
915 916 917
    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
918 919
}
void Level3_3Menu_4Exit(void)
hu's avatar
hu committed
920 921 922 923
{
    if (MenuFlag.Menu_Return)
    {
        User_App.User_CSQY = User_set_Num.User_CSQY ;
hu's avatar
hu committed
924

hu's avatar
hu committed
925 926 927
        MenuFlag.Menu_Return = 0;

        if (User_set_Num.User_CSQY != 0)
hu's avatar
hu committed
928
        {
hu's avatar
hu committed
929
            State_Flag.User_CSQY_FLAG = 0;
hu's avatar
hu committed
930 931
            Data_Clear_Trip(EM_TRIP_CSQ);
        }
hu's avatar
hu committed
932
        else
hu's avatar
hu committed
933
        {
hu's avatar
hu committed
934
            State_Flag.User_CSQY_FLAG = 3;
hu's avatar
hu committed
935
        }
hu's avatar
hu committed
936 937 938 939
    }
}

/*----三级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
940
/*更换离合器油*/
hu's avatar
hu committed
941
void Level3_3Menu_5Enter(void)
hu's avatar
hu committed
942
{}
hu's avatar
hu committed
943 944
void Level3_3Menu_5Do(void)
{
hu's avatar
hu committed
945 946 947
    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
948 949
}
void Level3_3Menu_5Exit(void)
hu's avatar
hu committed
950
{}
hu's avatar
hu committed
951

hu's avatar
hu committed
952
/*----三级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
953
/*更换动力转向液*/
hu's avatar
hu committed
954
void Level3_3Menu_6Enter(void)
hu's avatar
hu committed
955
{}
hu's avatar
hu committed
956
void Level3_3Menu_6Do(void)
hu's avatar
hu committed
957
{
hu's avatar
hu committed
958 959 960
    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
961
}
hu's avatar
hu committed
962
void Level3_3Menu_6Exit(void)
hu's avatar
hu committed
963 964 965 966 967 968 969 970
{
    if (MenuFlag.Menu_Return)
    {
        User_App.User_DLZXY = User_set_Num.User_DLZXY ;

        MenuFlag.Menu_Return = 0;

        if (User_set_Num.User_DLZXY != 0)
hu's avatar
hu committed
971
        {
hu's avatar
hu committed
972
            State_Flag.User_DLZXY_FLAG = 0;
hu's avatar
hu committed
973 974
            Data_Clear_Trip(EM_TRIP_DLZX);
        }
hu's avatar
hu committed
975
        else
hu's avatar
hu committed
976
        {
hu's avatar
hu committed
977
            State_Flag.User_DLZXY_FLAG = 3;
hu's avatar
hu committed
978
        }
hu's avatar
hu committed
979 980
    }
}
981

hu's avatar
hu committed
982
/*----三级菜单----保养通知设定----系列子菜单*/
hu's avatar
hu committed
983
/*更换轮胎*/
hu's avatar
hu committed
984
void Level3_3Menu_7Enter(void)
hu's avatar
hu committed
985
{}
hu's avatar
hu committed
986
void Level3_3Menu_7Do(void)
hu's avatar
hu committed
987
{
hu's avatar
hu committed
988 989 990
    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
991
}
hu's avatar
hu committed
992
void Level3_3Menu_7Exit(void)
hu's avatar
hu committed
993 994 995 996 997 998 999 1000
{
    if (MenuFlag.Menu_Return)
    {
        User_App.User_LT = User_set_Num.User_LT ;

        MenuFlag.Menu_Return = 0;

        if (User_set_Num.User_LT != 0)
hu's avatar
hu committed
1001
        {
hu's avatar
hu committed
1002
            State_Flag.User_LT_FLAG = 0;
hu's avatar
hu committed
1003 1004
            Data_Clear_Trip(EM_TRIP_LT);
        }
hu's avatar
hu committed
1005
        else
hu's avatar
hu committed
1006
        {
hu's avatar
hu committed
1007
            State_Flag.User_LT_FLAG = 3;
hu's avatar
hu committed
1008
        }
hu's avatar
hu committed
1009 1010
    }
}
hu's avatar
hu committed
1011

hu's avatar
hu committed
1012
/*----三级菜单----用户设定----系列子选项*/
hu's avatar
hu committed
1013
/*日期设定 ----- 年*/
hu's avatar
hu committed
1014
void Level3_4Menu_1Enter_1(void)
hu's avatar
hu committed
1015
{
1016
    User_set_Num.Year  = Get_RTC_YEAR();
hu's avatar
hu committed
1017
    User_set_Num.Month = Get_RTC_MONTH();
1018
    User_set_Num.Date  = Get_RTC_DATE();
hu's avatar
hu committed
1019
}
hu's avatar
hu committed
1020
void Level3_4Menu_1Do_1(void)
hu's avatar
hu committed
1021
{
hu's avatar
hu committed
1022 1023 1024 1025 1026 1027 1028
    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
1029
/*----三级菜单----用户设定----系列子选项*/
hu's avatar
hu committed
1030
/*日期设定 ---- 月*/
hu's avatar
hu committed
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040
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
1041

hu's avatar
hu committed
1042
/*----三级菜单----用户设定----系列子选项*/
hu's avatar
hu committed
1043
/*日期设定 ---- 日*/
hu's avatar
hu committed
1044 1045 1046 1047 1048 1049 1050
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
1051
}
hu's avatar
hu committed
1052
void Level3_4Menu_1Exit_3(void)
hu's avatar
hu committed
1053 1054 1055
{
    if (MenuFlag.Menu_Return)
    {
1056
        RTE_RTC_Set_Year (User_set_Num.Year + 2000u);
hu's avatar
hu committed
1057
        RTE_RTC_Set_Month(User_set_Num.Month);
1058 1059 1060 1061
        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
1062

hu's avatar
hu committed
1063 1064 1065 1066 1067 1068
        MenuFlag.Menu_Return = 0;

        RTE_RTC_Confirm_Overwrite();
    }
}

hu's avatar
hu committed
1069
/*----三级菜单----用户设定----系列子选项*/
hu's avatar
hu committed
1070
/*时间设定 ---- 时*/
hu's avatar
hu committed
1071
void Level3_4Menu_2Enter_1(void)
hu's avatar
hu committed
1072 1073 1074 1075
{
    User_set_Num.Hour = Get_RTC_HOUR();
    User_set_Num.Minute = Get_RTC_MINUTE();
}
hu's avatar
hu committed
1076
void Level3_4Menu_2Do_1(void)
hu's avatar
hu committed
1077
{
hu's avatar
hu committed
1078 1079 1080 1081 1082 1083
    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
1084

hu's avatar
hu committed
1085
/*----三级菜单----用户设定----系列子选项*/
hu's avatar
hu committed
1086
/*时间设定 ---- 分*/
hu's avatar
hu committed
1087 1088 1089 1090 1091 1092 1093
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
1094
}
hu's avatar
hu committed
1095
void Level3_4Menu_2Exit_2(void)
hu's avatar
hu committed
1096 1097 1098
{
    if (MenuFlag.Menu_Return)
    {
1099 1100 1101 1102
        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
1103 1104 1105 1106 1107 1108 1109 1110
        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
1111

hu's avatar
hu committed
1112
/*----三级菜单----用户设定----系列子选项*/
hu's avatar
hu committed
1113
/*语言设定*/
hu's avatar
hu committed
1114
void Level3_4Menu_3Enter(void)
hu's avatar
hu committed
1115 1116 1117
{
    User_set_Num.User_Language   = User_App.User_Language;
}
hu's avatar
hu committed
1118 1119
void Level3_4Menu_3Do(void)
{
hu's avatar
hu committed
1120 1121 1122
    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
1123 1124
}
void Level3_4Menu_3Exit(void)
hu's avatar
hu committed
1125 1126 1127 1128 1129 1130 1131
{
    if (MenuFlag.Menu_Return)
    {
        User_App.User_Language    =  User_set_Num.User_Language  ;
        MenuFlag.Menu_Return = 0;
    }
}
hu's avatar
hu committed
1132

hu's avatar
hu committed
1133
/*----三级菜单----省油建议----系列子菜单*/
hu's avatar
hu committed
1134
/*速度设定-高速路*/
hu's avatar
hu committed
1135
void Level3_4Menu_4Enter_1(void)
hu's avatar
hu committed
1136
{}
hu's avatar
hu committed
1137 1138
void Level3_4Menu_4Do_1(void)
{
hu's avatar
hu committed
1139 1140 1141
    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
1142 1143
}
void Level3_4Menu_4Exit_1(void)
hu's avatar
hu committed
1144
{}
hu's avatar
hu committed
1145

hu's avatar
hu committed
1146
/*----三级菜单----省油建议----系列子菜单*/
hu's avatar
hu committed
1147
/*速度设定-一般路*/
hu's avatar
hu committed
1148
void Level3_4Menu_4Enter_2(void)
hu's avatar
hu committed
1149
{}
hu's avatar
hu committed
1150 1151
void Level3_4Menu_4Do_2(void)
{
hu's avatar
hu committed
1152 1153 1154
    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
1155 1156
}
void Level3_4Menu_4Exit_2(void)
hu's avatar
hu committed
1157
{}
hu's avatar
hu committed
1158

hu's avatar
hu committed
1159
/*----三级菜单----省油建议----系列子菜单*/
hu's avatar
hu committed
1160
/*发送机转速设定*/
hu's avatar
hu committed
1161
void Level3_4Menu_4Enter_3(void)
hu's avatar
hu committed
1162
{}
hu's avatar
hu committed
1163 1164
void Level3_4Menu_4Do_3(void)
{
hu's avatar
hu committed
1165 1166 1167
    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
1168 1169
}
void Level3_4Menu_4Exit_3(void)
hu's avatar
hu committed
1170
{}
hu's avatar
hu committed
1171

hu's avatar
hu committed
1172
/*----三级菜单----省油建议----系列子菜单*/
hu's avatar
hu committed
1173
/*急加速设定*/
hu's avatar
hu committed
1174
void Level3_4Menu_4Enter_4(void)
hu's avatar
hu committed
1175
{}
hu's avatar
hu committed
1176 1177
void Level3_4Menu_4Do_4(void)
{
hu's avatar
hu committed
1178 1179 1180
    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
1181 1182
}
void Level3_4Menu_4Exit_4(void)
hu's avatar
hu committed
1183
{}
hu's avatar
hu committed
1184

hu's avatar
hu committed
1185
/*----三级菜单----省油建议----系列子菜单*/
hu's avatar
hu committed
1186
/*急减速设定*/
hu's avatar
hu committed
1187
void Level3_4Menu_4Enter_5(void)
hu's avatar
hu committed
1188
{}
hu's avatar
hu committed
1189 1190
void Level3_4Menu_4Do_5(void)
{
hu's avatar
hu committed
1191 1192 1193
    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
1194 1195
}
void Level3_4Menu_4Exit_5(void)
hu's avatar
hu committed
1196
{}
hu's avatar
hu committed
1197

hu's avatar
hu committed
1198
/*----三级菜单----省油建议----系列子菜单*/
hu's avatar
hu committed
1199
/*长时间怠速设定*/
hu's avatar
hu committed
1200
void Level3_4Menu_4Enter_6(void)
hu's avatar
hu committed
1201
{}
hu's avatar
hu committed
1202 1203
void Level3_4Menu_4Do_6(void)
{
hu's avatar
hu committed
1204 1205 1206
    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
1207 1208
}
void Level3_4Menu_4Exit_6(void)
hu's avatar
hu committed
1209
{}
hu's avatar
hu committed
1210

hu's avatar
hu committed
1211
/*----三级菜单----省油建议----系列子菜单*/
hu's avatar
hu committed
1212
/*辅助驻车解除设定*/
hu's avatar
hu committed
1213
void Level3_4Menu_4Enter_7(void)
hu's avatar
hu committed
1214
{}
hu's avatar
hu committed
1215 1216
void Level3_4Menu_4Do_7(void)
{
hu's avatar
hu committed
1217 1218 1219
    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
1220 1221
}
void Level3_4Menu_4Exit_7(void)
hu's avatar
hu committed
1222
{}
hu's avatar
hu committed
1223

hu's avatar
hu committed
1224
/*----三级菜单----省油建议----系列子菜单*/
hu's avatar
hu committed
1225
/*TPMS  轮胎设定*/
hu's avatar
hu committed
1226
void Level3_4Menu_5Enter(void)
hu's avatar
hu committed
1227
{}
hu's avatar
hu committed
1228 1229
void Level3_4Menu_5Do(void)
{
hu's avatar
hu committed
1230
    GUI_BG_TPMS_PictureSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1231 1232
}
void Level3_4Menu_5Exit(void)
hu's avatar
hu committed
1233
{}
hu's avatar
hu committed
1234

hu's avatar
hu committed
1235
/*----三级菜单----系统演示----系列子菜单*/
hu's avatar
hu committed
1236
/*LDWS 警报演示*/
hu's avatar
hu committed
1237
void Level3_5Menu_1Enter(void)
hu's avatar
hu committed
1238
{}
hu's avatar
hu committed
1239 1240 1241 1242 1243
void Level3_5Menu_1Do(void)
{

}
void Level3_5Menu_1Exit(void)
hu's avatar
hu committed
1244
{}
hu's avatar
hu committed
1245

hu's avatar
hu committed
1246
/*----三级菜单----系统演示----系列子菜单*/
hu's avatar
hu committed
1247
/*AEBS第1警报演示*/
hu's avatar
hu committed
1248
void Level3_5Menu_2Enter(void)
hu's avatar
hu committed
1249
{}
hu's avatar
hu committed
1250 1251 1252 1253 1254
void Level3_5Menu_2Do(void)
{

}
void Level3_5Menu_2Exit(void)
hu's avatar
hu committed
1255
{}
hu's avatar
hu committed
1256

hu's avatar
hu committed
1257
/*----三级菜单----系统演示----系列子菜单*/
hu's avatar
hu committed
1258
/*AEBS第2警报演示*/
hu's avatar
hu committed
1259
void Level3_5Menu_3Enter(void)
hu's avatar
hu committed
1260
{}
hu's avatar
hu committed
1261 1262 1263 1264 1265
void Level3_5Menu_3Do(void)
{

}
void Level3_5Menu_3Exit(void)
hu's avatar
hu committed
1266
{}
hu's avatar
hu committed
1267

hu's avatar
hu committed
1268
/*----三级菜单----系统演示----系列子菜单*/
hu's avatar
hu committed
1269
/*AEBS全力制动警报演示*/
hu's avatar
hu committed
1270
void Level3_5Menu_4Enter(void)
hu's avatar
hu committed
1271
{}
hu's avatar
hu committed
1272 1273 1274 1275 1276
void Level3_5Menu_4Do(void)
{

}
void Level3_5Menu_4Exit(void)
hu's avatar
hu committed
1277
{}
hu's avatar
hu committed
1278

hu's avatar
hu committed
1279
/*----四级菜单----省油建议设定----系列子菜单*/
hu's avatar
hu committed
1280
/*速度设定-高速路子菜单*/
hu's avatar
hu committed
1281
void Level4_4Menu_1Enter(void)
hu's avatar
hu committed
1282 1283 1284
{
    User_set_Num.User_Gsl = User_App.User_Gsl ;
}
hu's avatar
hu committed
1285 1286
void Level4_4Menu_1Do(void)
{
hu's avatar
hu committed
1287 1288
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1289
    GUI_BG_UserSet_SYSD_GSL_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1290 1291
}
void Level4_4Menu_1Exit(void)
hu's avatar
hu committed
1292 1293 1294 1295 1296 1297 1298 1299
{
    if (MenuFlag.Menu_Return)
    {
        User_App.User_Gsl = User_set_Num.User_Gsl ;

        MenuFlag.Menu_Return = 0;
    }
}
hu's avatar
hu committed
1300

hu's avatar
hu committed
1301
/*----四级菜单----省油建议设定----系列子菜单*/
hu's avatar
hu committed
1302
/*速度设定-一般路子菜单*/
hu's avatar
hu committed
1303
void Level4_4Menu_2Enter(void)
hu's avatar
hu committed
1304
{}
hu's avatar
hu committed
1305 1306
void Level4_4Menu_2Do(void)
{
hu's avatar
hu committed
1307 1308
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1309
    GUI_BG_UserSet_SYSD_Ybl_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1310 1311
}
void Level4_4Menu_2Exit(void)
hu's avatar
hu committed
1312
{}
hu's avatar
hu committed
1313

hu's avatar
hu committed
1314
/*----四级菜单----省油建议设定----系列子菜单*/
hu's avatar
hu committed
1315
/*发动机转速设定子菜单*/
hu's avatar
hu committed
1316
void Level4_4Menu_3Enter(void)
hu's avatar
hu committed
1317
{}
hu's avatar
hu committed
1318 1319
void Level4_4Menu_3Do(void)
{
hu's avatar
hu committed
1320 1321
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1322
    GUI_BG_UserSet_SYSD_Speed_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1323 1324
}
void Level4_4Menu_3Exit(void)
hu's avatar
hu committed
1325
{}
hu's avatar
hu committed
1326

hu's avatar
hu committed
1327
/*----四级菜单----省油建议设定----系列子菜单*/
hu's avatar
hu committed
1328
/*急加速设定子菜单*/
hu's avatar
hu committed
1329
void Level4_4Menu_4Enter(void)
hu's avatar
hu committed
1330
{}
hu's avatar
hu committed
1331 1332
void Level4_4Menu_4Do(void)
{
hu's avatar
hu committed
1333 1334
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1335
    GUI_BG_UserSet_SYSD_JADD_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1336 1337
}
void Level4_4Menu_4Exit(void)
hu's avatar
hu committed
1338
{}
hu's avatar
hu committed
1339

hu's avatar
hu committed
1340
/*----四级菜单----省油建议设定----系列子菜单*/
hu's avatar
hu committed
1341
/*急减速子菜单*/
hu's avatar
hu committed
1342
void Level4_4Menu_5Enter(void)
hu's avatar
hu committed
1343
{}
hu's avatar
hu committed
1344 1345
void Level4_4Menu_5Do(void)
{
hu's avatar
hu committed
1346 1347
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1348
    GUI_BG_UserSet_SYSD_JSUB_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1349 1350
}
void Level4_4Menu_5Exit(void)
hu's avatar
hu committed
1351
{}
hu's avatar
hu committed
1352

hu's avatar
hu committed
1353
/*----四级菜单----省油建议设定----系列子菜单*/
hu's avatar
hu committed
1354
/*长时间怠速设定子菜单*/
hu's avatar
hu committed
1355
void Level4_4Menu_6Enter(void)
hu's avatar
hu committed
1356
{}
hu's avatar
hu committed
1357 1358
void Level4_4Menu_6Do(void)
{
hu's avatar
hu committed
1359 1360
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1361
    GUI_BG_UserSet_SYSD_IDLING_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1362 1363
}
void Level4_4Menu_6Exit(void)
hu's avatar
hu committed
1364
{}
hu's avatar
hu committed
1365

hu's avatar
hu committed
1366
/*----四级菜单----省油建议设定----系列子菜单*/
hu's avatar
hu committed
1367
/*辅助驻车解除设定*/
hu's avatar
hu committed
1368
void Level4_4Menu_7Enter(void)
hu's avatar
hu committed
1369
{}
hu's avatar
hu committed
1370 1371
void Level4_4Menu_7Do(void)
{
hu's avatar
hu committed
1372 1373
    GUI_OftenShow_Display();
    GUI_BG_UserSet_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1374
    GUI_BG_UserSet_SYSD_Parking_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1375 1376
}
void Level4_4Menu_7Exit(void)
hu's avatar
hu committed
1377
{}
hu's avatar
hu committed
1378

hu's avatar
hu committed
1379
/*----Enter----*/
hu's avatar
hu committed
1380
void Level_Enter_Menu_Enter(void)
hu's avatar
hu committed
1381
{}
hu's avatar
hu committed
1382 1383
void Level_Enter_Menu_Do(void)
{
hu's avatar
hu committed
1384
    GUI_BG_Enter_Return_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1385 1386 1387 1388 1389 1390 1391 1392 1393 1394
}
void Level_Enter_Menu_Exit(void)
{
    if (MenuFlag.Menu_Return)
    {
        State_Flag.ENTER_RETURN = 1;
        MenuFlag.Menu_Return = 0;
    }
}

hu's avatar
hu committed
1395
/*----Return----*/
hu's avatar
hu committed
1396
void Level_Return_Menu_Enter(void)
hu's avatar
hu committed
1397
{}
hu's avatar
hu committed
1398 1399
void Level_Return_Menu_Do(void)
{
hu's avatar
hu committed
1400
    GUI_BG_Enter_Return_Display(GUI_DISP_MODE_NORMAL);
hu's avatar
hu committed
1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414
    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
1415
}