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
baefa602
Commit
baefa602
authored
May 12, 2022
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整报警之后无法返回原来界面BUG
parent
44180cc4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
14 deletions
+29
-14
Menu.h
source/Application/Graphic/Menu/Menu.h
+3
-0
Menu_user.c
source/Application/Graphic/Menu/Menu_user.c
+3
-1
DisplaySch_user.c
source/Application/Graphic/UE/DisplaySch_user.c
+23
-13
No files found.
source/Application/Graphic/Menu/Menu.h
View file @
baefa602
...
...
@@ -199,13 +199,16 @@ typedef struct
uint8_t
Menu_Time_Flag
;
/*从Enter界面确认退出计时*/
uint8_t
Menu_Enter_Return
;
/*进入Enter之前界面*/
uint8_t
Menu_Return
;
/*Enter Return界面切换标记*/
uint16_t
Key_Menu_Popup_time
;
/*报警状态持续时间*/
uint8_t
Menu_Key_Time
;
/*按键长按时间记录*/
uint8_t
Key_Menu_Popup_Flag
;
/*报警界面menu按键长按 */
uint8_t
Menu_Popup_Flag
;
/*界面状态 0-通常 1-报警 2-工厂 3-经销商 4-仪表自我诊断*/
uint8_t
Key_MenuTest_Long
;
/**/
uint8_t
Key_MenuTest_ShortNum
;
/**/
uint8_t
Menu_Factory
;
/*工厂模式*/
uint8_t
Menu_Dealer
;
/*经销商模式*/
uint8_t
Menu_Test
;
/*仪表自我诊断模式*/
uint8_t
Meun_Test_Dealer
;
/*自我诊断模式进入经销商模式标记*/
...
...
source/Application/Graphic/Menu/Menu_user.c
View file @
baefa602
...
...
@@ -18,10 +18,12 @@ uint8_t bNextMenuIDX;
uint8_t
bCurMenuIDX
;
uint8_t
bMainMenuIDX
;
uint8_t
bOldMenuIDX
;
uint8_t
Menu_DTC_DisTime
;
#pragma alignvar(8)
_MenuFlag
MenuFlag
;
uint8_t
Menu_DTC_DisTime
;
const
_MenuOptTab
MenuOptTab
[]
=
{
...
...
source/Application/Graphic/UE/DisplaySch_user.c
View file @
baefa602
...
...
@@ -307,11 +307,14 @@ void Display_NothingService(void)
void
GUI_DisplayServices
(
void
)
{
uint16_t
DispVSpeed
=
0u
;
uint16_t
DispESpeed
=
0u
;
uint32_t
PowerStatus
=
0u
;
UElib_uint16_t
HMI_MENU_Sta
=
0u
;
HMI_MENU_Sta
=
Get_Cur_HMI
();
PowerStatus
=
Common_Get_IG_Sts
();
DispVSpeed
=
Common_Get_Disp_V_Speed
();
if
(
HMI_MENU_Sta
==
Display_Alarm
)
{
...
...
@@ -326,6 +329,15 @@ void GUI_DisplayServices(void)
{
MenuFlag
.
Menu_Popup_Flag
=
1u
;
if
(
bCurMenuIDX
<
_MN_DSP_Menu_OFF
)
{
MenuFlag
.
Meun_Test_Dealer
=
bCurMenuIDX
;
}
else
{
MenuFlag
.
Meun_Test_Dealer
=
0u
;
}
NextMenu
(
_MN_DSP_LEVEPOPUP
);
bCurMenuIDX
=
_MN_DSP_LEVEPOPUP
;
}
...
...
@@ -362,8 +374,16 @@ void GUI_DisplayServices(void)
{
MenuFlag
.
Menu_Popup_Flag
=
0u
;
NextMenu
(
MenuFlag
.
Menu_Flag
);
bCurMenuIDX
=
MenuFlag
.
Menu_Flag
;
if
(
DispVSpeed
>
66u
)
{
NextMenu
(
MenuFlag
.
Menu_Flag
);
bCurMenuIDX
=
MenuFlag
.
Menu_Flag
;
}
else
{
NextMenu
(
MenuFlag
.
Meun_Test_Dealer
);
bCurMenuIDX
=
MenuFlag
.
Meun_Test_Dealer
;
}
}
if
(((
bCurMenuIDX
>
_MN_DSP_LEVEPOPUP
)
&&
(
bCurMenuIDX
<
_MN_DSP_LEVEL3_5_MENU_1
))
||
...
...
@@ -571,17 +591,7 @@ void Meter_Mode_conversion(void)
}
else
{
if
(
DispVSpeed
>
66u
)
{
if
((
bCurMenuIDX
>=
_MN_DSP_LEVEL2MENU_1
)
&&
(
bCurMenuIDX
<=
_MN_DSP_MENU_MAX
))
{
NextMenu
(
MenuFlag
.
Menu_Flag
);
}
}
else
{
;
/*Do Nothing!*/
}
;
/*Do Nothing!*/
}
}
}
\ No newline at end of file
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