Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
VC66_7C
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISUZU
VC66_7C
Commits
42752533
Commit
42752533
authored
Feb 08, 2022
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整保温外发策略,调整故障码图片
parent
ee57e2c6
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
754 additions
and
737 deletions
+754
-737
Key_user.c
source/Application/APP/Key/Key_user.c
+5
-8
CAN_FUNC.c
source/Application/CAN_APP_NM/CAN_App/CAN_FUNC.c
+19
-16
GUI.c
source/Application/Graphic/GUI/GUI.c
+18
-18
Menu.h
source/Application/Graphic/Menu/Menu.h
+15
-15
Menu_user.c
source/Application/Graphic/Menu/Menu_user.c
+15
-15
DisplaySch_user.c
source/Application/Graphic/UE/DisplaySch_user.c
+32
-2
images.c
source/Driver/Graphic/images.c
+647
-653
images.h
source/Driver/Graphic/images.h
+0
-6
tasks.c
source/System/tasks.c
+3
-4
No files found.
source/Application/APP/Key/Key_user.c
View file @
42752533
...
...
@@ -1110,14 +1110,6 @@ void Key_Operation_ODOTrip (Key_Event_en_t enKeyEvent)
{
MenuFlag
.
Key_MenuTest_ShortNum
++
;
}
/*进入自检模式*/
//if ((MenuFlag.Key_MenuTest_Long == 1u) && (MenuFlag.Key_MenuTest_ShortNum >= 3u))
if
(
MenuFlag
.
Key_MenuTest_ShortNum
>=
3u
)
{
MenuFlag
.
Menu_Test
=
1u
;
MenuFlag
.
Key_MenuTest_ShortNum
=
0u
;
}
}
else
if
(
bCurMenuIDX
==
_MN_DSP_Menu_Test
)
{
...
...
@@ -1142,6 +1134,11 @@ void Key_Operation_ODOTrip (Key_Event_en_t enKeyEvent)
{
Data_Clear_Trip
(
EM_TRIP_B
);
}
if
(
State_Flag
.
FState_ClearOilTx
==
0u
)
{
State_Flag
.
FState_ClearOilTx
=
1u
;
}
}
#if 0
if (DispVSpeed <= DISPSPEEDNULLMAX)
...
...
source/Application/CAN_APP_NM/CAN_App/CAN_FUNC.c
View file @
42752533
...
...
@@ -670,6 +670,8 @@ void Can_Set_Buff_18EF1817(uint8_t CopyData[])
{
uint8_t
Trip_Type
=
0u
;
Trip_Type
=
User_set_Num
.
Trip_Type
;
if
(
State_Flag
.
FState_ClearOilTx
==
0x02u
)
{
if
(
Trip_Type
==
TRAPA
)
...
...
@@ -696,17 +698,12 @@ void Can_Set_Buff_18EF1817(uint8_t CopyData[])
}
User_BCM_Flag
=
1u
;
/*从头轮询*/
State_Flag
.
FState_ClearOilTx
=
0x0
0
u
;
State_Flag
.
FState_ClearOilTx
=
0x0
3
u
;
State_Flag
.
FState_ClearOilRx
=
0u
;
State_Flag
.
FState_COilTimeOut
=
0u
;
}
else
{
if
((
State_Flag
.
FState_ClearOilRx
==
0u
)
&&
(
State_Flag
.
FState_COilTimeOut
!=
FState_COilTimeOutNum
))
{
return
;
}
User_BCM_Flag
++
;
if
(
User_BCM_Flag
>
11u
)
{
...
...
@@ -833,11 +830,10 @@ void Can_Set_Buff_18EF1817(uint8_t CopyData[])
void
Id18EF1817_Send_Service
(
void
)
{
/*准备事件型*/
if
(
State_Flag
.
FState_ClearOilTx
==
1u
)
{
Can_Msg_Tx_Overwrite
(
MSGID_18EF1817
,
1u
,
100
*
1000
);
/*事件型复制*/
State_Flag
.
FState_ClearOilTx
=
2u
;
}
else
...
...
@@ -849,13 +845,14 @@ void Id18EF1817_Send_Service(void)
else
{
Can_Msg_Tx_Overwrite
(
MSGID_18EF1817
,
0xFFFFu
,
100
*
1000
);
State_Flag
.
FState_ClearOilTx
=
0u
;
}
}
}
/*-------------------------------------------------------------------------
* Function Name : Drive_Info_IC1_STATUS_Rx
* Description : 18EF1718 报文循环接收处理
10
0ms任务中执行
* Description : 18EF1718 报文循环接收处理
5
0ms任务中执行
* Input : None
* Output : None
* Return : None
...
...
@@ -957,24 +954,25 @@ void Drive_Info_IC1_STATUS_Rx(void)
break
;
}
#if 0
if
(
State_Flag
.
FState_COilTimeOut
<
FState_COilTimeOutNum
)
{
State_Flag
.
FState_COilTimeOut
++
;
if (State_Flag.FState_COilTimeOut == FState_COilTimeOutNum)
{
State_Flag.FState_ClearOilTx = 0u;
}
}
if
(
Data_Sig
==
0x40u
)
{
State_Flag
.
FState_ClearOilRx
==
1
;
}
#endif
}
/*-------------------------------------------------------------------------
* Function Name : Drive_Info_IC3_STATUS_Rx
* Description : 50ms任务中执行
* Input : None
* Output : None
* Return : None
* onther : None
--------------------------------------------------------------------------*/
void
Drive_Info_IC3_STATUS_Rx
(
void
)
{
if
(
bCurMenuIDX
!=
_MN_DSP_LEVEL3_4_MENU_5
)
...
...
@@ -1051,9 +1049,13 @@ void Drive_Info_IC3_STATUS_Rx(void)
User_set_Num
.
User_Tpms
++
;
if
(
User_set_Num
.
User_Tpms
==
0x0d
)
{
User_set_Num
.
User_TpmsStatus
=
0
;
}
else
{
User_set_Num
.
User_TpmsStatus
=
1
;
}
}
}
else
if
((
Msg_18021733
[
0
]
==
0xFF
)
&&
(
Msg_18021733
[
1
]
==
0x06
))
...
...
@@ -1139,6 +1141,7 @@ void Common_SetTXNum_18033317(void)
{
TXNum_18033317
++
;
}
uint8_t
Common_GetTXNum_18033317
(
void
)
{
return
TXNum_18033317
;
...
...
source/Application/Graphic/GUI/GUI.c
View file @
42752533
...
...
@@ -6558,14 +6558,14 @@ void GUI_BG_DTCEngine_Display(uint8_t Mode)
GUI_General_Display
(
MENU_Sprite
,
CN_User_Menu2_01_wenzi
,
GUI_BLENDMODE_SRC_OVER
);
/*menu*/
GUI_General_Display
(
MENU_Sprite
,
CN_fengexian
,
GUI_BLENDMODE_SRC_OVER
);
/*line*/
GUI_
General_Display
(
MENU_Sprite
,
CN_Alarm_Fault_03_image
,
GUI_BLENDMODE_SRC_OVER
);
GUI_
General_Display
(
MENU_Sprite
,
CN_Alarm_Fault_05_wenzi
,
GUI_BLENDMODE_SRC_OVER
);
GUI_
Translate_Display
(
MENU_Sprite
,
CN_Alarm_Fault_02_image
,
230u
,
154u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_
Translate_Display
(
MENU_Sprite
,
CN_Alarm_Fault_02_wenzi
,
346u
,
154u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_General_Display
(
MENU_Sprite
,
CN_Alarm_Fault_P
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
RC_Nb_21_0
,
484u
,
305
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
RC_Nb_21_0
,
506u
,
305
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
RC_Nb_21_0
,
528u
,
305
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
RC_Nb_21_1
,
550u
,
305
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
Nb_28_0
,
379u
,
267
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
Nb_28_0
,
408u
,
267
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
Nb_28_0
,
438u
,
267
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
Nb_28_0
,
467u
,
267
u
,
GUI_BLENDMODE_SRC_OVER
);
}
else
{
...
...
@@ -6588,14 +6588,14 @@ void GUI_BG_DTCSCR_Display(uint8_t Mode)
GUI_General_Display
(
MENU_Sprite
,
CN_User_Menu2_01_wenzi
,
GUI_BLENDMODE_SRC_OVER
);
/*menu*/
GUI_General_Display
(
MENU_Sprite
,
CN_fengexian
,
GUI_BLENDMODE_SRC_OVER
);
/*line*/
GUI_
General_Display
(
MENU_Sprite
,
CN_Alarm_Fault_03_image
,
GUI_BLENDMODE_SRC_OVER
);
GUI_
General_Display
(
MENU_Sprite
,
CN_Alarm_Fault_03_wenzi
,
GUI_BLENDMODE_SRC_OVER
);
GUI_
Translate_Display
(
MENU_Sprite
,
CN_Alarm_Fault_02_image
,
230u
,
154u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_
Translate_Display
(
MENU_Sprite
,
CN_Alarm_Fault_03_wenzi
,
346u
,
154u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_General_Display
(
MENU_Sprite
,
CN_Alarm_Fault_P
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
RC_Nb_21_0
,
484u
,
305
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
RC_Nb_21_0
,
506u
,
305
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
RC_Nb_21_0
,
528u
,
305
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
RC_Nb_21_1
,
550u
,
305
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
Nb_28_0
,
379u
,
267
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
Nb_28_0
,
408u
,
267
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
Nb_28_0
,
438u
,
267
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
Nb_28_0
,
467u
,
267
u
,
GUI_BLENDMODE_SRC_OVER
);
}
else
{
...
...
@@ -6618,14 +6618,14 @@ void GUI_BG_DTCAMT_Display(uint8_t Mode)
GUI_General_Display
(
MENU_Sprite
,
CN_User_Menu2_01_wenzi
,
GUI_BLENDMODE_SRC_OVER
);
/*menu*/
GUI_General_Display
(
MENU_Sprite
,
CN_fengexian
,
GUI_BLENDMODE_SRC_OVER
);
/*line*/
GUI_
General_Display
(
MENU_Sprite
,
CN_Alarm_Fault_04_image
,
GUI_BLENDMODE_SRC_OVER
);
GUI_
General_Display
(
MENU_Sprite
,
CN_Alarm_Fault_04_wenzi
,
GUI_BLENDMODE_SRC_OVER
);
GUI_
Translate_Display
(
MENU_Sprite
,
CN_Alarm_Fault_01_image
,
230u
,
154u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_
Translate_Display
(
MENU_Sprite
,
CN_Alarm_Fault_01_wenzi
,
346u
,
154u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_General_Display
(
MENU_Sprite
,
CN_Alarm_Fault_P
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
RC_Nb_21_0
,
484u
,
305
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
RC_Nb_21_0
,
506u
,
305
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
RC_Nb_21_0
,
528u
,
305
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
RC_Nb_21_1
,
550u
,
305
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
Nb_28_0
,
379u
,
267
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
Nb_28_0
,
408u
,
267
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
Nb_28_0
,
438u
,
267
u
,
GUI_BLENDMODE_SRC_OVER
);
GUI_Translate_Display
(
MENU_Sprite
,
CN_
Nb_28_0
,
467u
,
267
u
,
GUI_BLENDMODE_SRC_OVER
);
}
else
{
...
...
source/Application/Graphic/Menu/Menu.h
View file @
42752533
...
...
@@ -122,25 +122,25 @@ typedef enum
_MN_DSP_Menu_Test
,
/* 81 */
/*工厂模式*/
_FAC_DSP_LEVEL1MENU_1
,
/* 8
0
DTC显示*/
_FAC_DSP_LEVEL1MENU_2
,
/* 8
1
DTC清除*/
_FAC_DSP_LEVEL1MENU_3
,
/* 8
2
仪表设定显示*/
_FAC_DSP_LEVEL1MENU_4
,
/* 8
3
暂时通常模式*/
_FAC_DSP_LEVEL1MENU_5
,
/* 8
4
结束工厂模式*/
_FAC_DSP_LEVEL1MENU_6
,
/* 8
5
HID自动水平初始化*/
_FAC_DSP_LEVEL1MENU_1
,
/* 8
2
DTC显示*/
_FAC_DSP_LEVEL1MENU_2
,
/* 8
3
DTC清除*/
_FAC_DSP_LEVEL1MENU_3
,
/* 8
4
仪表设定显示*/
_FAC_DSP_LEVEL1MENU_4
,
/* 8
5
暂时通常模式*/
_FAC_DSP_LEVEL1MENU_5
,
/* 8
6
结束工厂模式*/
_FAC_DSP_LEVEL1MENU_6
,
/* 8
7
HID自动水平初始化*/
_FAC_DSP_LEVEL1_1MENU_1
,
/* 8
6
故障码读取中*/
_FAC_DSP_LEVEL1_1MENU_1
,
/* 8
8
故障码读取中*/
_FAC_DSP_LEVEL1_2MENU_1
,
/* 8
7
清除所有DTC*/
_FAC_DSP_LEVEL1_2MENU_2
,
/*
88
清除所有DTC*/
_FAC_DSP_LEVEL1_2MENU_1
,
/* 8
9
清除所有DTC*/
_FAC_DSP_LEVEL1_2MENU_2
,
/*
90
清除所有DTC*/
_FAC_DSP_LEVEL1_3MENU_1
,
/*
89
L0-7 H2-A*/
_FAC_DSP_LEVEL1_3MENU_2
,
/* 9
0
L8-F H2-A*/
_FAC_DSP_LEVEL1_3MENU_1
,
/*
91
L0-7 H2-A*/
_FAC_DSP_LEVEL1_3MENU_2
,
/* 9
2
L8-F H2-A*/
_FAC_DSP_LEVEL2_1MENU_1
,
/* 9
1
发动机故障*/
_FAC_DSP_LEVEL2_1MENU_2
,
/* 9
2
SCR系统故障*/
_FAC_DSP_LEVEL2_1MENU_3
,
/* 9
3
EBS/ABS故障*/
_FAC_DSP_LEVEL2_1MENU_4
,
/* 9
4
仪表故障*/
_FAC_DSP_LEVEL2_1MENU_1
,
/* 9
3
发动机故障*/
_FAC_DSP_LEVEL2_1MENU_2
,
/* 9
4
SCR系统故障*/
_FAC_DSP_LEVEL2_1MENU_3
,
/* 9
5
EBS/ABS故障*/
_FAC_DSP_LEVEL2_1MENU_4
,
/* 9
6
仪表故障*/
/*经销商模式*/
_DIS_DSP_LEVEL1MENU_1
,
...
...
source/Application/Graphic/Menu/Menu_user.c
View file @
42752533
...
...
@@ -124,25 +124,25 @@ const _MenuOptTab MenuOptTab[] =
/*81*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
LevelMenuTest_Enter
,
LevelMenuTest_Do
,
LevelMenuTest_Exit
},
/*工厂模式*/
/*8
0
*/
{
_FAC_DSP_LEVEL1_1MENU_1
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_2
,
_MN_IDX_NULL
,
LevelF1Menu_1Enter
,
LevelF1Menu_1Do
,
LevelF1Menu_1Exit
},
/*8
1
*/
{
_FAC_DSP_LEVEL1MENU_2
,
_FAC_DSP_LEVEL1MENU_1
,
_FAC_DSP_LEVEL1MENU_3
,
_MN_IDX_NULL
,
LevelF1Menu_2Enter
,
LevelF1Menu_2Do
,
LevelF1Menu_2Exit
},
/*8
2
*/
{
_FAC_DSP_LEVEL1_3MENU_1
,
_FAC_DSP_LEVEL1MENU_2
,
_FAC_DSP_LEVEL1MENU_4
,
_MN_IDX_NULL
,
LevelF1Menu_3Enter
,
LevelF1Menu_3Do
,
LevelF1Menu_3Exit
},
/*8
3
*/
{
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_3
,
_FAC_DSP_LEVEL1MENU_5
,
_MN_IDX_NULL
,
LevelF1Menu_4Enter
,
LevelF1Menu_4Do
,
LevelF1Menu_4Exit
},
/*8
4
*/
{
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_4
,
_FAC_DSP_LEVEL1MENU_6
,
_MN_IDX_NULL
,
LevelF1Menu_5Enter
,
LevelF1Menu_5Do
,
LevelF1Menu_5Exit
},
/*8
5
*/
{
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_5
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
LevelF1Menu_6Enter
,
LevelF1Menu_6Do
,
LevelF1Menu_6Exit
},
/*8
2
*/
{
_FAC_DSP_LEVEL1_1MENU_1
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_2
,
_MN_IDX_NULL
,
LevelF1Menu_1Enter
,
LevelF1Menu_1Do
,
LevelF1Menu_1Exit
},
/*8
3
*/
{
_FAC_DSP_LEVEL1MENU_2
,
_FAC_DSP_LEVEL1MENU_1
,
_FAC_DSP_LEVEL1MENU_3
,
_MN_IDX_NULL
,
LevelF1Menu_2Enter
,
LevelF1Menu_2Do
,
LevelF1Menu_2Exit
},
/*8
4
*/
{
_FAC_DSP_LEVEL1_3MENU_1
,
_FAC_DSP_LEVEL1MENU_2
,
_FAC_DSP_LEVEL1MENU_4
,
_MN_IDX_NULL
,
LevelF1Menu_3Enter
,
LevelF1Menu_3Do
,
LevelF1Menu_3Exit
},
/*8
5
*/
{
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_3
,
_FAC_DSP_LEVEL1MENU_5
,
_MN_IDX_NULL
,
LevelF1Menu_4Enter
,
LevelF1Menu_4Do
,
LevelF1Menu_4Exit
},
/*8
6
*/
{
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_4
,
_FAC_DSP_LEVEL1MENU_6
,
_MN_IDX_NULL
,
LevelF1Menu_5Enter
,
LevelF1Menu_5Do
,
LevelF1Menu_5Exit
},
/*8
7
*/
{
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_5
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
LevelF1Menu_6Enter
,
LevelF1Menu_6Do
,
LevelF1Menu_6Exit
},
/*8
6
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_1Enter
,
LevelF1_1Menu_1Do
,
LevelF1_1Menu_1Exit
},
/*8
8
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_1Enter
,
LevelF1_1Menu_1Do
,
LevelF1_1Menu_1Exit
},
/*8
7
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_2
,
LevelF1_2Menu_1Enter
,
LevelF1_2Menu_1Do
,
LevelF1_2Menu_1Exit
},
/*
88
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_2
,
LevelF1_2Menu_2Enter
,
LevelF1_2Menu_2Do
,
LevelF1_2Menu_2Exit
},
/*8
9
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_2
,
LevelF1_2Menu_1Enter
,
LevelF1_2Menu_1Do
,
LevelF1_2Menu_1Exit
},
/*
90
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_2
,
LevelF1_2Menu_2Enter
,
LevelF1_2Menu_2Do
,
LevelF1_2Menu_2Exit
},
/*
89
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_3
,
LevelF1_3Menu_1Enter
,
LevelF1_3Menu_1Do
,
LevelF1_3Menu_1Exit
},
/*9
0
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_3
,
LevelF1_3Menu_2Enter
,
LevelF1_3Menu_2Do
,
LevelF1_3Menu_2Exit
},
/*
91
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_3
,
LevelF1_3Menu_1Enter
,
LevelF1_3Menu_1Do
,
LevelF1_3Menu_1Exit
},
/*9
2
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_3
,
LevelF1_3Menu_2Enter
,
LevelF1_3Menu_2Do
,
LevelF1_3Menu_2Exit
},
/*9
1
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_1Enter
,
LevelF1_1Menu_1Do
,
LevelF1_1Menu_1Exit
},
/*9
2
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_2Enter
,
LevelF1_1Menu_2Do
,
LevelF1_1Menu_2Exit
},
/*9
3
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_3Enter
,
LevelF1_1Menu_3Do
,
LevelF1_1Menu_3Exit
},
/*9
4
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_4Enter
,
LevelF1_1Menu_4Do
,
LevelF1_1Menu_4Exit
},
/*9
3
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_1Enter
,
LevelF1_1Menu_1Do
,
LevelF1_1Menu_1Exit
},
/*9
4
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_2Enter
,
LevelF1_1Menu_2Do
,
LevelF1_1Menu_2Exit
},
/*9
5
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_3Enter
,
LevelF1_1Menu_3Do
,
LevelF1_1Menu_3Exit
},
/*9
6
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_4Enter
,
LevelF1_1Menu_4Do
,
LevelF1_1Menu_4Exit
},
};
void
NextMenu
(
_MENU_IDX
idx
)
...
...
source/Application/Graphic/UE/DisplaySch_user.c
View file @
42752533
...
...
@@ -148,8 +148,32 @@ void DisplayServices(void)
;
/*Do Nothing!*/
}
/*通常模式*/
if
(
MenuFlag
.
Menu_Popup_Flag
==
0u
)
{
/*进入自检模式*/
//if ((MenuFlag.Key_MenuTest_Long == 1u) && (MenuFlag.Key_MenuTest_ShortNum >= 3u))
if
(
MenuFlag
.
Key_MenuTest_ShortNum
>=
3u
)
{
MenuFlag
.
Menu_Test
=
1u
;
MenuFlag
.
Key_MenuTest_Long
=
0u
;
MenuFlag
.
Key_MenuTest_ShortNum
=
0u
;
}
else
if
(
0
)
{
MenuFlag
.
Menu_Factory
=
1u
;
}
else
if
(
0
)
{
MenuFlag
.
Menu_Dealer
=
1u
;
}
else
{
;
/*Do Nothing!*/
}
}
/*工厂模式*/
if
(
MenuFlag
.
Menu_Popup_Flag
==
2u
)
else
if
(
MenuFlag
.
Menu_Popup_Flag
==
2u
)
{
if
(
0
)
{
...
...
@@ -181,7 +205,7 @@ void DisplayServices(void)
}
else
if
(
0
)
{
enuFlag
.
Menu_Test
=
1u
;
M
enuFlag
.
Menu_Test
=
1u
;
}
else
{
...
...
@@ -278,6 +302,7 @@ void DisplayServices(void)
{
;
/*do nothing*/
}
/*ODOTrip短*/
if
(
UE_CtrlInfo
.
HMI_KEYInfo
.
u8KEY_ODOTRIP
==
KEY_EVENT_SHORT_PRESS
)
{
...
...
@@ -288,6 +313,11 @@ void DisplayServices(void)
{
HMI_Clear_KEY_ODOTRIP
();
}
/*ODO off-to-on*/
else
if
(
UE_CtrlInfo
.
HMI_KEYInfo
.
u8KEY_ODOTRIP
==
KEY_EVENT_OFF_TO_ON
)
{
HMI_Clear_KEY_ODOTRIP
();
}
else
{
;
/*do nothing*/
...
...
source/Driver/Graphic/images.c
View file @
42752533
This source diff could not be displayed because it is too large. You can
view the blob
instead.
source/Driver/Graphic/images.h
View file @
42752533
...
...
@@ -429,12 +429,6 @@ enum SpriteName
CN_Alarm_Fault_02_wenzi
,
CN_Alarm_Fault_03_image
,
CN_Alarm_Fault_03_wenzi
,
CN_Alarm_Fault_04_image
,
CN_Alarm_Fault_04_wenzi
,
CN_Alarm_Fault_05_image
,
CN_Alarm_Fault_05_wenzi
,
CN_Alarm_Fault_06_image
,
CN_Alarm_Fault_06_wenzi
,
CN_Alarm_Fault_A
,
CN_Alarm_Fault_B
,
CN_Alarm_Fault_C
,
...
...
source/System/tasks.c
View file @
42752533
...
...
@@ -196,6 +196,9 @@ void Sys_Run_Mode_50ms_Tasks(void)
Sound_Scheduling_Service
();
// BGTask();
IS31_Scan_Refresh
();
Drive_Info_IC1_STATUS_Rx
();
Drive_Info_IC3_STATUS_Rx
();
}
/*============================================================================*/
...
...
@@ -221,10 +224,6 @@ void Sys_Run_Mode_100ms_Tasks(void)
Popups_Management_Service
();
Popup_Scheduling_Service
();
/*CAN 数据处理*/
Drive_Info_IC1_STATUS_Rx
();
Drive_Info_IC3_STATUS_Rx
();
/*保养通知数据计算*/
Common_EOL_User_Server
();
/*加速度计算*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment