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
87249c1a
Commit
87249c1a
authored
Dec 23, 2021
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加报警1分钟不显示,调整按键初始化相应时间,调整图片,FV00.07
parent
5e1d7cd9
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
968 additions
and
754 deletions
+968
-754
Key.c
source/Application/APP/Key/Key.c
+288
-287
Key_user.c
source/Application/APP/Key/Key_user.c
+631
-432
Menu_user.c
source/Application/Graphic/Menu/Menu_user.c
+3
-0
DisplaySch_user.c
source/Application/Graphic/UE/DisplaySch_user.c
+40
-28
Common_Interface.c
source/Application/RTE/Common_Interface.c
+4
-4
images.c
source/Driver/Graphic/images.c
+1
-1
tasks.c
source/System/tasks.c
+1
-2
No files found.
source/Application/APP/Key/Key.c
View file @
87249c1a
This diff is collapsed.
Click to expand it.
source/Application/APP/Key/Key_user.c
View file @
87249c1a
This diff is collapsed.
Click to expand it.
source/Application/Graphic/Menu/Menu_user.c
View file @
87249c1a
...
...
@@ -144,6 +144,9 @@ void MenuInit(void)
{
;
/*do nothing*/
}
/*数据初始化*/
MenuFlag
.
Key_Menu_Popup_time
=
0u
;
}
void
MenuManage
(
void
)
{
...
...
source/Application/Graphic/UE/DisplaySch_user.c
View file @
87249c1a
...
...
@@ -83,12 +83,21 @@ void DisplayServices(void)
{
popupID
=
Popup_Get_Current_Message
(
);
if
(
popupID
!=
0xffffu
)
if
(
(
popupID
!=
0xffffu
)
&&
(
MenuFlag
.
Key_Menu_Popup_time
==
0x00u
)
)
{
UE_EN
[
Display_Alarm
]
=
UE_Enable
;
}
else
{
if
(
MenuFlag
.
Key_Menu_Popup_time
!=
0x00u
)
{
MenuFlag
.
Key_Menu_Popup_time
--
;
}
else
{
;
/*Do Nothing!*/
}
UE_EN
[
Display_Alarm
]
=
UE_Disable
;
if
(
PowerStatus
==
COMMON_POWER_ON
)
...
...
@@ -101,35 +110,9 @@ void DisplayServices(void)
}
}
}
DispSch_xxxMs_Logic
(
10u
);
}
void
Display_StartAnimationEnter
(
void
)
{
GUI_Display_background
();
}
void
Display_StartAnimationService
(
void
)
{
uint16_t
m16_FrameCnt
;
HMI_StartAnimationFrameCnt
++
;
m16_FrameCnt
=
HMI_StartAnimationFrameCnt
;
if
(
(
m16_FrameCnt
%
3
)
==
0
)
{
loc_Disable_Window_App
(
);
//GUI_Display_Animation_Frame(m16_FrameCnt / 3u);
GUI_Display_background
();
}
}
void
Display_StartAnimationExit
(
void
)
{
loc_Enable_Window_App
(
);
}
DispSch_xxxMs_Logic
(
10u
);
void
Display_MenuService
(
void
)
{
/*上短*/
if
(
UE_CtrlInfo
.
HMI_KEYInfo
.
u8KEY_UP
==
KEY_EVENT_SHORT_PRESS
)
{
...
...
@@ -193,6 +176,35 @@ void Display_MenuService(void)
;
/*do nothing*/
}
}
void
Display_StartAnimationEnter
(
void
)
{
GUI_Display_background
();
}
void
Display_StartAnimationService
(
void
)
{
uint16_t
m16_FrameCnt
;
HMI_StartAnimationFrameCnt
++
;
m16_FrameCnt
=
HMI_StartAnimationFrameCnt
;
if
(
(
m16_FrameCnt
%
3
)
==
0
)
{
loc_Disable_Window_App
(
);
//GUI_Display_Animation_Frame(m16_FrameCnt / 3u);
GUI_Display_background
();
}
}
void
Display_StartAnimationExit
(
void
)
{
loc_Enable_Window_App
(
);
}
void
Display_MenuService
(
void
)
{
}
void
Display_AlarmService
(
void
)
{
...
...
source/Application/RTE/Common_Interface.c
View file @
87249c1a
...
...
@@ -320,7 +320,7 @@ void Common_Input_Para(void)
}
/**/
if
(
RTE_Read_KL15_Voltage
()
<=
23500
)
/*A2*/
if
(
RTE_Read_KL15_Voltage
()
<=
(
23500
-
800
)
)
/*A2*/
{
if
(
LOW_VOLTAGE_TIME1
<=
3500
)
LOW_VOLTAGE_TIME1
++
;
...
...
@@ -332,7 +332,7 @@ void Common_Input_Para(void)
LOW_VOLTAGE_TIME1
=
0
;
}
if
(
RTE_Read_KL15_Voltage
()
>=
25000
)
/*A2*/
if
(
RTE_Read_KL15_Voltage
()
>=
(
25000
-
800
)
)
/*A2*/
{
if
(
LOW_VOLTAGE_TIME2
<=
5000
)
LOW_VOLTAGE_TIME2
++
;
...
...
@@ -344,7 +344,7 @@ void Common_Input_Para(void)
LOW_VOLTAGE_TIME2
=
0
;
}
//
if
(
RTE_Read_KL15_Voltage
()
>=
30400
)
/*A2*/
if
(
RTE_Read_KL15_Voltage
()
>=
(
30400
-
800
)
)
/*A2*/
{
if
(
HIGH_VOLTAGE_TIME1
<=
3500
)
HIGH_VOLTAGE_TIME1
++
;
...
...
@@ -356,7 +356,7 @@ void Common_Input_Para(void)
HIGH_VOLTAGE_TIME1
=
0
;
}
if
(
RTE_Read_KL15_Voltage
()
<=
29400
)
/*A2*/
if
(
RTE_Read_KL15_Voltage
()
<=
(
29400
-
800
)
)
/*A2*/
{
if
(
HIGH_VOLTAGE_TIME2
<=
5000
)
HIGH_VOLTAGE_TIME2
++
;
...
...
source/Driver/Graphic/images.c
View file @
87249c1a
...
...
@@ -229,7 +229,7 @@ static const t_PicStruct Pic_Attribute[] =
{
/*CN_Alarm_drive_44_wenzi1_4 X484_Y191.png*/
484u
,
191u
,
268u
,
28u
,
ARGB8888
,
0x103E7680u
},
{
/*CN_Alarm_drive_44_wenzi1_5 X484_Y191.png*/
484u
,
191u
,
268u
,
28u
,
ARGB8888
,
0x103EEBC0u
},
{
/*CN_Alarm_drive_44_wenzi1_7 X484_Y191.png*/
484u
,
191u
,
268u
,
28u
,
ARGB8888
,
0x103F6100u
},
{
/*CN_Alarm_drive_44_wenzi2 X39
1_Y277.png*/
391u
,
277
u
,
400u
,
44u
,
ARGB8888
,
0x103FD640u
},
{
/*CN_Alarm_drive_44_wenzi2 X39
0_Y276.png*/
390u
,
276
u
,
400u
,
44u
,
ARGB8888
,
0x103FD640u
},
{
/*CN_Alarm_drive_44_wenzi2_1 X484_Y191.png*/
484u
,
191u
,
268u
,
28u
,
ARGB8888
,
0x1040E940u
},
{
/*CN_Alarm_drive_05_image X383_Y189.png*/
383u
,
189u
,
100u
,
72u
,
ARGB8888
,
0x10415E80u
},
{
/*CN_Alarm_drive_05_wenzi X391_Y277.png*/
391u
,
277u
,
400u
,
44u
,
ARGB8888
,
0x1041CF00u
},
...
...
source/System/tasks.c
View file @
87249c1a
...
...
@@ -260,7 +260,6 @@ void Sys_Exact_50us_Tasks(void)
SEG_LCD_Window_Control_Service
();
}
Buzzer_Play_ISR
();
Data_Mileage_ISR
();
}
/*============================================================================*/
...
...
@@ -274,7 +273,7 @@ void Sys_Exact_50us_Tasks(void)
------------------------------------------------------------------------------*/
void
Sys_Exact_100ms_Tasks
(
void
)
{
//
Data_Mileage_ISR();
Data_Mileage_ISR
();
Service_OFF_Timing_Process
();
Fuel_User_KL15_OFF_Processing_Service
();
}
...
...
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