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
1c93b082
Commit
1c93b082
authored
Feb 22, 2022
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整模式转换bug
parent
452dfb7d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
44 deletions
+44
-44
GUI.h
source/Application/Graphic/GUI/GUI.h
+2
-2
Menu.h
source/Application/Graphic/Menu/Menu.h
+19
-19
Menu_user.c
source/Application/Graphic/Menu/Menu_user.c
+20
-20
DisplaySch_user.c
source/Application/Graphic/UE/DisplaySch_user.c
+3
-3
No files found.
source/Application/Graphic/GUI/GUI.h
View file @
1c93b082
...
@@ -15,9 +15,9 @@
...
@@ -15,9 +15,9 @@
#define FState_COilTimeOutNum 60u
/*3S*/
#define FState_COilTimeOutNum 60u
/*3S*/
#define SystemSupplierECUHardwareVersionNumberApp ((uint16_t)(10
000))
/*硬件版本号 HV:01.00
.00*/
#define SystemSupplierECUHardwareVersionNumberApp ((uint16_t)(10
200))
/*硬件版本号 HV:01.02
.00*/
#define SystemSupplierECUSoftwareInformationApp ((uint16_t)(10101))
/*软件版本号 SV:01.01.00*/
#define SystemSupplierECUSoftwareInformationApp ((uint16_t)(10101))
/*软件版本号 SV:01.01.00*/
#define systemSupplierECUFlashInformationApp ((uint16_t)(
8))
/*FLASH版本号 FV:00.08
*/
#define systemSupplierECUFlashInformationApp ((uint16_t)(
10))
/*FLASH版本号 FV:00.10
*/
typedef
struct
typedef
struct
{
{
...
...
source/Application/Graphic/Menu/Menu.h
View file @
1c93b082
...
@@ -149,31 +149,31 @@ typedef enum
...
@@ -149,31 +149,31 @@ typedef enum
_FAC_DSP_LEVEL2_5MENU_1
,
/*100 是否结束工厂模式*/
_FAC_DSP_LEVEL2_5MENU_1
,
/*100 是否结束工厂模式*/
/*经销商模式*/
/*经销商模式*/
_DEA_DSP_LEVEL0MENU_1
,
/*10
0
*/
_DEA_DSP_LEVEL0MENU_1
,
/*10
1
*/
_DEA_DSP_LEVEL1MENU_1
,
/* 10
1
DTC显示*/
_DEA_DSP_LEVEL1MENU_1
,
/* 10
2
DTC显示*/
_DEA_DSP_LEVEL1MENU_2
,
/* 10
2
DTC清除*/
_DEA_DSP_LEVEL1MENU_2
,
/* 10
3
DTC清除*/
_DEA_DSP_LEVEL1MENU_3
,
/* 10
3
仪表设定显示*/
_DEA_DSP_LEVEL1MENU_3
,
/* 10
4
仪表设定显示*/
_DEA_DSP_LEVEL1MENU_4
,
/* 10
4
暂时通常模式*/
_DEA_DSP_LEVEL1MENU_4
,
/* 10
5
暂时通常模式*/
_DEA_DSP_LEVEL1MENU_5
,
/* 10
5
结束经销商模式*/
_DEA_DSP_LEVEL1MENU_5
,
/* 10
6
结束经销商模式*/
_DEA_DSP_LEVEL1MENU_6
,
/* 10
6
HID自动水平初始化*/
_DEA_DSP_LEVEL1MENU_6
,
/* 10
7
HID自动水平初始化*/
_DEA_DSP_LEVEL1_1MENU_1
,
/* 10
7
故障码读取中*/
_DEA_DSP_LEVEL1_1MENU_1
,
/* 10
8
故障码读取中*/
_DEA_DSP_LEVEL1_2MENU_1
,
/* 10
8
清除所有DTC*/
_DEA_DSP_LEVEL1_2MENU_1
,
/* 10
9
清除所有DTC*/
_DEA_DSP_LEVEL1_2MENU_2
,
/* 1
09
清除所有DTC*/
_DEA_DSP_LEVEL1_2MENU_2
,
/* 1
10
清除所有DTC*/
_DEA_DSP_LEVEL1_2MENU_3
,
/* 11
0
清除所有DTC*/
_DEA_DSP_LEVEL1_2MENU_3
,
/* 11
1
清除所有DTC*/
_DEA_DSP_LEVEL1_2MENU_4
,
/* 11
1
清除所有DTC*/
_DEA_DSP_LEVEL1_2MENU_4
,
/* 11
2
清除所有DTC*/
_DEA_DSP_LEVEL1_3MENU_1
,
/* 11
2
L0-7 H2-A*/
_DEA_DSP_LEVEL1_3MENU_1
,
/* 11
3
L0-7 H2-A*/
_DEA_DSP_LEVEL1_3MENU_2
,
/* 11
3
L8-F H2-A*/
_DEA_DSP_LEVEL1_3MENU_2
,
/* 11
4
L8-F H2-A*/
_DEA_DSP_LEVEL2_1MENU_1
,
/* 11
4
发动机故障*/
_DEA_DSP_LEVEL2_1MENU_1
,
/* 11
5
发动机故障*/
_DEA_DSP_LEVEL2_1MENU_2
,
/* 11
5
SCR系统故障*/
_DEA_DSP_LEVEL2_1MENU_2
,
/* 11
6
SCR系统故障*/
_DEA_DSP_LEVEL2_1MENU_3
,
/* 11
6
EBS/ABS故障*/
_DEA_DSP_LEVEL2_1MENU_3
,
/* 11
7
EBS/ABS故障*/
_DEA_DSP_LEVEL2_1MENU_4
,
/* 11
7
仪表故障*/
_DEA_DSP_LEVEL2_1MENU_4
,
/* 11
8
仪表故障*/
_DEA_DSP_LEVEL2_5MENU_1
,
/*1
00
是否结束经销商模式*/
_DEA_DSP_LEVEL2_5MENU_1
,
/*1
19
是否结束经销商模式*/
_MN_DSP_MENU_MAX
,
_MN_DSP_MENU_MAX
,
...
...
source/Application/Graphic/Menu/Menu_user.c
View file @
1c93b082
...
@@ -148,34 +148,34 @@ const _MenuOptTab MenuOptTab[] =
...
@@ -148,34 +148,34 @@ const _MenuOptTab MenuOptTab[] =
/*98*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_3Enter
,
LevelF1_1Menu_3Do
,
LevelF1_1Menu_3Exit
},
/*98*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_3Enter
,
LevelF1_1Menu_3Do
,
LevelF1_1Menu_3Exit
},
/*99*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_4Enter
,
LevelF1_1Menu_4Do
,
LevelF1_1Menu_4Exit
},
/*99*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_4Enter
,
LevelF1_1Menu_4Do
,
LevelF1_1Menu_4Exit
},
/*
99
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_5
,
LevelF2_5Menu_1Enter
,
LevelF2_5Menu_1Do
,
LevelF2_5Menu_1Exit
},
/*
00
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_FAC_DSP_LEVEL1MENU_5
,
LevelF2_5Menu_1Enter
,
LevelF2_5Menu_1Do
,
LevelF2_5Menu_1Exit
},
/*经销商模式*/
/*经销商模式*/
/*0
0
*/
{
_DEA_DSP_LEVEL1MENU_1
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
LevelD0Menu_1Enter
,
LevelD0Menu_1Do
,
LevelD0Menu_1Exit
},
/*0
1
*/
{
_DEA_DSP_LEVEL1MENU_1
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
LevelD0Menu_1Enter
,
LevelD0Menu_1Do
,
LevelD0Menu_1Exit
},
/*0
1
*/
{
_DEA_DSP_LEVEL1_1MENU_1
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_2
,
_MN_IDX_NULL
,
LevelD1Menu_1Enter
,
LevelD1Menu_1Do
,
LevelD1Menu_1Exit
},
/*0
2
*/
{
_DEA_DSP_LEVEL1_1MENU_1
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_2
,
_MN_IDX_NULL
,
LevelD1Menu_1Enter
,
LevelD1Menu_1Do
,
LevelD1Menu_1Exit
},
/*0
2
*/
{
_DEA_DSP_LEVEL1_2MENU_1
,
_DEA_DSP_LEVEL1MENU_1
,
_DEA_DSP_LEVEL1MENU_3
,
_MN_IDX_NULL
,
LevelD1Menu_2Enter
,
LevelD1Menu_2Do
,
LevelD1Menu_2Exit
},
/*0
3
*/
{
_DEA_DSP_LEVEL1_2MENU_1
,
_DEA_DSP_LEVEL1MENU_1
,
_DEA_DSP_LEVEL1MENU_3
,
_MN_IDX_NULL
,
LevelD1Menu_2Enter
,
LevelD1Menu_2Do
,
LevelD1Menu_2Exit
},
/*0
3
*/
{
_DEA_DSP_LEVEL1_3MENU_1
,
_DEA_DSP_LEVEL1MENU_2
,
_DEA_DSP_LEVEL1MENU_4
,
_MN_IDX_NULL
,
LevelD1Menu_3Enter
,
LevelD1Menu_3Do
,
LevelD1Menu_3Exit
},
/*0
4
*/
{
_DEA_DSP_LEVEL1_3MENU_1
,
_DEA_DSP_LEVEL1MENU_2
,
_DEA_DSP_LEVEL1MENU_4
,
_MN_IDX_NULL
,
LevelD1Menu_3Enter
,
LevelD1Menu_3Do
,
LevelD1Menu_3Exit
},
/*0
4
*/
{
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_3
,
_DEA_DSP_LEVEL1MENU_5
,
_MN_IDX_NULL
,
LevelD1Menu_4Enter
,
LevelD1Menu_4Do
,
LevelD1Menu_4Exit
},
/*0
5
*/
{
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_3
,
_DEA_DSP_LEVEL1MENU_5
,
_MN_IDX_NULL
,
LevelD1Menu_4Enter
,
LevelD1Menu_4Do
,
LevelD1Menu_4Exit
},
/*0
5
*/
{
_DEA_DSP_LEVEL2_5MENU_1
,
_DEA_DSP_LEVEL1MENU_4
,
_DEA_DSP_LEVEL1MENU_6
,
_MN_IDX_NULL
,
LevelD1Menu_5Enter
,
LevelD1Menu_5Do
,
LevelD1Menu_5Exit
},
/*0
6
*/
{
_DEA_DSP_LEVEL2_5MENU_1
,
_DEA_DSP_LEVEL1MENU_4
,
_DEA_DSP_LEVEL1MENU_6
,
_MN_IDX_NULL
,
LevelD1Menu_5Enter
,
LevelD1Menu_5Do
,
LevelD1Menu_5Exit
},
/*0
6
*/
{
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_5
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
LevelD1Menu_6Enter
,
LevelD1Menu_6Do
,
LevelD1Menu_6Exit
},
/*0
7
*/
{
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_5
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
LevelD1Menu_6Enter
,
LevelD1Menu_6Do
,
LevelD1Menu_6Exit
},
/*0
7
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_1
,
LevelD1_1Menu_1Enter
,
LevelD1_1Menu_1Do
,
LevelD1_1Menu_1Exit
},
/*0
8
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_1
,
LevelD1_1Menu_1Enter
,
LevelD1_1Menu_1Do
,
LevelD1_1Menu_1Exit
},
/*0
8
*/
{
_DEA_DSP_LEVEL1_2MENU_2
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_2
,
LevelD1_2Menu_1Enter
,
LevelD1_2Menu_1Do
,
LevelD1_2Menu_1Exit
},
/*0
9
*/
{
_DEA_DSP_LEVEL1_2MENU_2
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_2
,
LevelD1_2Menu_1Enter
,
LevelD1_2Menu_1Do
,
LevelD1_2Menu_1Exit
},
/*
09
*/
{
_DEA_DSP_LEVEL1_2MENU_3
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1_2MENU_1
,
LevelD1_2Menu_2Enter
,
LevelD1_2Menu_2Do
,
LevelD1_2Menu_2Exit
},
/*
10
*/
{
_DEA_DSP_LEVEL1_2MENU_3
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1_2MENU_1
,
LevelD1_2Menu_2Enter
,
LevelD1_2Menu_2Do
,
LevelD1_2Menu_2Exit
},
/*1
0
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
LevelD1_2Menu_3Enter
,
LevelD1_2Menu_3Do
,
LevelD1_2Menu_3Exit
},
/*1
1
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
LevelD1_2Menu_3Enter
,
LevelD1_2Menu_3Do
,
LevelD1_2Menu_3Exit
},
/*1
1
*/
{
_DEA_DSP_LEVEL0MENU_1
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
LevelD1_2Menu_4Enter
,
LevelD1_2Menu_4Do
,
LevelD1_2Menu_4Exit
},
/*1
2
*/
{
_DEA_DSP_LEVEL0MENU_1
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
LevelD1_2Menu_4Enter
,
LevelD1_2Menu_4Do
,
LevelD1_2Menu_4Exit
},
/*1
2
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1_3MENU_2
,
_DEA_DSP_LEVEL1MENU_3
,
LevelD1_3Menu_1Enter
,
LevelD1_3Menu_1Do
,
LevelD1_3Menu_1Exit
},
/*1
3
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1_3MENU_2
,
_DEA_DSP_LEVEL1MENU_3
,
LevelD1_3Menu_1Enter
,
LevelD1_3Menu_1Do
,
LevelD1_3Menu_1Exit
},
/*1
3
*/
{
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1_3MENU_1
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_3
,
LevelD1_3Menu_2Enter
,
LevelD1_3Menu_2Do
,
LevelD1_3Menu_2Exit
},
/*1
4
*/
{
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1_3MENU_1
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_3
,
LevelD1_3Menu_2Enter
,
LevelD1_3Menu_2Do
,
LevelD1_3Menu_2Exit
},
/*1
4
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_1Enter
,
LevelF1_1Menu_1Do
,
LevelF1_1Menu_1Exit
},
/*1
5
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_1Enter
,
LevelF1_1Menu_1Do
,
LevelF1_1Menu_1Exit
},
/*1
5
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_2Enter
,
LevelF1_1Menu_2Do
,
LevelF1_1Menu_2Exit
},
/*1
6
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_2Enter
,
LevelF1_1Menu_2Do
,
LevelF1_1Menu_2Exit
},
/*1
6
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_3Enter
,
LevelF1_1Menu_3Do
,
LevelF1_1Menu_3Exit
},
/*1
7
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_3Enter
,
LevelF1_1Menu_3Do
,
LevelF1_1Menu_3Exit
},
/*1
7
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_4Enter
,
LevelF1_1Menu_4Do
,
LevelF1_1Menu_4Exit
},
/*1
8
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_1
,
LevelF1_1Menu_4Enter
,
LevelF1_1Menu_4Do
,
LevelF1_1Menu_4Exit
},
/*1
7
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_5
,
LevelD2_5Menu_1Enter
,
LevelD2_5Menu_1Do
,
LevelD2_5Menu_1Exit
},
/*1
9
*/
{
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_MN_IDX_NULL
,
_DEA_DSP_LEVEL1MENU_5
,
LevelD2_5Menu_1Enter
,
LevelD2_5Menu_1Do
,
LevelD2_5Menu_1Exit
},
};
};
void
NextMenu
(
_MENU_IDX
idx
)
void
NextMenu
(
_MENU_IDX
idx
)
{
{
...
...
source/Application/Graphic/UE/DisplaySch_user.c
View file @
1c93b082
...
@@ -443,7 +443,7 @@ void Meter_Mode_conversion(void)
...
@@ -443,7 +443,7 @@ void Meter_Mode_conversion(void)
if
(
K_Line_Set
.
K_Line_LID51
==
0x01u
)
if
(
K_Line_Set
.
K_Line_LID51
==
0x01u
)
{
{
popupID
=
Popup_Get_Current_Message
();
popupID
=
Popup_Get_Current_Message
();
if
(
popupID
!=
0xFFFFU
)
if
(
(
popupID
!=
0xffffu
)
&&
(
MenuFlag
.
Key_Menu_Popup_time
==
0x00u
)
)
{
{
MenuFlag
.
Menu_Popup_Flag
=
0u
;
MenuFlag
.
Menu_Popup_Flag
=
0u
;
}
}
...
@@ -467,7 +467,7 @@ void Meter_Mode_conversion(void)
...
@@ -467,7 +467,7 @@ void Meter_Mode_conversion(void)
if
(
K_Line_Set
.
K_Line_LID51
==
0x01u
)
if
(
K_Line_Set
.
K_Line_LID51
==
0x01u
)
{
{
popupID
=
Popup_Get_Current_Message
();
popupID
=
Popup_Get_Current_Message
();
if
(
popupID
!=
0xFFFFU
)
if
(
(
popupID
!=
0xffffu
)
&&
(
MenuFlag
.
Key_Menu_Popup_time
==
0x00u
)
)
{
{
MenuFlag
.
Menu_Popup_Flag
=
0u
;
MenuFlag
.
Menu_Popup_Flag
=
0u
;
}
}
...
@@ -491,7 +491,7 @@ void Meter_Mode_conversion(void)
...
@@ -491,7 +491,7 @@ void Meter_Mode_conversion(void)
if
((
DispVSpeed
>=
66u
)
||
(
DispESpeed
>=
330u
))
if
((
DispVSpeed
>=
66u
)
||
(
DispESpeed
>=
330u
))
{
{
popupID
=
Popup_Get_Current_Message
();
popupID
=
Popup_Get_Current_Message
();
if
(
popupID
!=
0xFFFFU
)
if
(
(
popupID
!=
0xffffu
)
&&
(
MenuFlag
.
Key_Menu_Popup_time
==
0x00u
)
)
{
{
MenuFlag
.
Menu_Popup_Flag
=
0u
;
MenuFlag
.
Menu_Popup_Flag
=
0u
;
}
}
...
...
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