Commit dc86402c authored by hu's avatar hu

调整显示

parent 82de0da6
...@@ -41,6 +41,9 @@ Display_Modular_St Display_DTC[4u]; ...@@ -41,6 +41,9 @@ Display_Modular_St Display_DTC[4u];
#pragma alignvar(8) #pragma alignvar(8)
uint8_t EolNUM[10u][8u]; uint8_t EolNUM[10u][8u];
uint8_t DTCNumTime = 0u;
static uint8_t DTCNumDis = 0u;
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
* Function Name : GUI_Display_KL15_ON_Init * Function Name : GUI_Display_KL15_ON_Init
* Description : * Description :
...@@ -217,9 +220,11 @@ void GUI_Display_Value_Init(void) ...@@ -217,9 +220,11 @@ void GUI_Display_Value_Init(void)
User_set_Num.User_IDLING = User_App.User_IDLING ; User_set_Num.User_IDLING = User_App.User_IDLING ;
User_set_Num.User_Parking = User_App.User_Parking ; User_set_Num.User_Parking = User_App.User_Parking ;
MenuFlag.Menu_Flag = 0; /*菜单初始化位置*/ MenuFlag.Menu_Flag = 0u; /*菜单初始化位置*/
MenuFlag.Meun_Test_Dealer = 0u; MenuFlag.Meun_Test_Dealer = 0u;
DTCNumTime = 0u;/*故障码显示时间*/
DTCNumDis = 0u;/*当前显示的故障码*/
Display_DTC[0u].Disp_Mod_Menu_Cbk = GUI_BG_DTCEngine_Display; /*发动机故障*/ Display_DTC[0u].Disp_Mod_Menu_Cbk = GUI_BG_DTCEngine_Display; /*发动机故障*/
Display_DTC[1u].Disp_Mod_Menu_Cbk = GUI_BG_DTCSCR_Display; /*SRC故障*/ Display_DTC[1u].Disp_Mod_Menu_Cbk = GUI_BG_DTCSCR_Display; /*SRC故障*/
...@@ -6581,13 +6586,9 @@ void GUI_BG_FacMenu6_Display(uint8_t Mode) ...@@ -6581,13 +6586,9 @@ void GUI_BG_FacMenu6_Display(uint8_t Mode)
* Return : None * Return : None
* onther : 区域 * onther : 区域
--------------------------------------------------------------------------*/ --------------------------------------------------------------------------*/
uint8_t DTCNumTime = 0u;
static uint8_t DTCNumDis = 0u;
void GUI_Display_DTC_Server(void) void GUI_Display_DTC_Server(void)
{ {
uint8_t i = 0u; uint8_t i = 0u;
//uint8_t DTCNumTime = 0u;
//uint8_t DTCNumDis = 0u;
uint8_t DTCNum = 0u; uint8_t DTCNum = 0u;
Display_DTC[0u].Disp_True_False = 1u; Display_DTC[0u].Disp_True_False = 1u;
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#define Language_En 0u #define Language_En 0u
#define Language_Cn 1u #define Language_Cn 1u
#define DTCNumeber 3u #define DTCNumeber 3u /*最小数值为1*/
#define FState_COilTimeOutNum 60u /*3S*/ #define FState_COilTimeOutNum 60u /*3S*/
...@@ -239,7 +239,9 @@ static const GUIGeneralPopupStruct GUIGeneralPopupTable[] = ...@@ -239,7 +239,9 @@ static const GUIGeneralPopupStruct GUIGeneralPopupTable[] =
static const uint32_t GUIWedk[7u] = {CN_xingqiri, CN_xingqiyi, CN_xingqier, CN_xingqisan, CN_xingqisi, CN_xingqiwu, CN_xingqiliu}; static const uint32_t GUIWedk[7u] = {CN_xingqiri, CN_xingqiyi, CN_xingqier, CN_xingqisan, CN_xingqisi, CN_xingqiwu, CN_xingqiliu};
static const uint32_t GUIMenuWedk[7u] = {CN_ri, CN_Mon, CN_Tue, CN_Wed, CN_Thu, CN_Fri, CN_Sat}; static const uint32_t GUIMenuWedk[7u] = {CN_ri, CN_Mon, CN_Tue, CN_Wed, CN_Thu, CN_Fri, CN_Sat};
static const uint32_t GUIGear[12u] = {CN_dangwei_1, CN_dangwei_2, CN_dangwei_3, CN_dangwei_4, CN_dangwei_5, CN_dangwei_6, CN_dangwei_7, CN_dangwei_8, CN_dangwei_9, CN_dangwei_10, CN_dangwei_11, CN_dangwei_12}; static const uint32_t GUIGear[12u] = {CN_dangwei_1, CN_dangwei_2, CN_dangwei_3, CN_dangwei_4, CN_dangwei_5, CN_dangwei_6,
CN_dangwei_7, CN_dangwei_8, CN_dangwei_9, CN_dangwei_10, CN_dangwei_11, CN_dangwei_12
};
static const uint32_t GUIMETERY[5] = {Nb_15_2, Nb_15_3, Nb_15_4, Nb_15_5, CN_Fty_Menu2_08_A}; static const uint32_t GUIMETERY[5] = {Nb_15_2, Nb_15_3, Nb_15_4, Nb_15_5, CN_Fty_Menu2_08_A};
static const uint32_t GUIMETERYNUM[16] = {Nb_15_0, Nb_15_1, Nb_15_2, Nb_15_3, Nb_15_4, Nb_15_5, Nb_15_6, Nb_15_7, static const uint32_t GUIMETERYNUM[16] = {Nb_15_0, Nb_15_1, Nb_15_2, Nb_15_3, Nb_15_4, Nb_15_5, Nb_15_6, Nb_15_7,
Nb_15_8, Nb_15_9, CN_Fty_Menu2_08_A, CN_Fty_Menu2_08_B, CN_Fty_Menu2_08_C, CN_Fty_Menu2_08_D, CN_Fty_Menu2_08_E, CN_Fty_Menu2_08_F Nb_15_8, Nb_15_9, CN_Fty_Menu2_08_A, CN_Fty_Menu2_08_B, CN_Fty_Menu2_08_C, CN_Fty_Menu2_08_D, CN_Fty_Menu2_08_E, CN_Fty_Menu2_08_F
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment