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
958922ea
Commit
958922ea
authored
Dec 16, 2021
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整报警
parent
89de3cf0
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
233 additions
and
266 deletions
+233
-266
Popup_List.c
source/Application/Alarm/Popup_List.c
+112
-0
Popup_List.h
source/Application/Alarm/Popup_List.h
+100
-244
Popup_Message_List.h
source/Application/Alarm/Popup_Message_List.h
+3
-5
init.c
source/System/init.c
+18
-17
No files found.
source/Application/Alarm/Popup_List.c
0 → 100644
View file @
958922ea
This diff is collapsed.
Click to expand it.
source/Application/Alarm/Popup_List.h
View file @
958922ea
This diff is collapsed.
Click to expand it.
source/Application/Alarm/Popup_Message_List.h
View file @
958922ea
...
...
@@ -105,14 +105,12 @@ enum PopupMessageName
POPUP11_MSG_P_STEERING_FRUID_ERROR
,
POPUP11_MSG_TIRE_ROTATION
,
POPUP_MSG_MAX
,
};
/******************************************************************************
消息类型定义
******************************************************************************/
#define POPUP_TYPE_GENERAL 0x00u
/*一般消息*/
#define POPUP_TYPE_
TORQUE_SPEED
0x01u
/*扭矩限制、车速限制 交互显示*/
#define POPUP_TYPE_
GENERAL
0x01u
/*扭矩限制、车速限制 交互显示*/
#define POPUP_TYPE_ADBULE_ANOMALY 0x02u
/*尿素喷射异常(停止、消耗量)交互显示*/
/******************************************************************************
...
...
@@ -169,7 +167,7 @@ static const PopupMsgAttributeStruct PopupMsgAttributeTable[] =
{
/* POPUP5_MSG_SPEED_LIMIT */
POPUP_TYPE_GENERAL
,},
//30.车速限制-图2
{
/* POPUP5_MSG_TORQUE_REDUCTION_SPEED */
POPUP_TYPE_GENERAL
,},
//31.扭矩限制-图1
{
/* POPUP5_MSG_TORQUE_REDUCTION */
POPUP_TYPE_GENERAL
,},
//32.扭矩限制-图2
{
/* POPUP5_MSG_SPEED_TORQUE */
POPUP_TYPE_
TORQUE_SPEED
,},
//33.扭矩限制、车速限制 交互 显示-->扭矩限制
{
/* POPUP5_MSG_SPEED_TORQUE */
POPUP_TYPE_
GENERAL
,},
//33.扭矩限制、车速限制 交互 显示-->扭矩限制
{
/* POPUP5_MSG_INCORRECT_ADBLUE_SPEED */
POPUP_TYPE_GENERAL
,},
//34.尿素品质异常-图1
{
/* POPUP5_MSG_INCORRECT_ADBLUE */
POPUP_TYPE_GENERAL
,},
//35.尿素品质异常-图2
{
/* POPUP5_MSG_CRITICAL_EMISSION_SPEED */
POPUP_TYPE_GENERAL
,},
//36.临界排放故障-图1
...
...
@@ -194,7 +192,7 @@ static const PopupMsgAttributeStruct PopupMsgAttributeTable[] =
{
/* POPUP5_MSG_AdBlue_INJ_SYSTEM */
POPUP_TYPE_GENERAL
,},
//55.尿素喷射异常(消耗量)-图2
{
/* POPUP5_MSG_TPMS_HIGH_AIR */
POPUP_TYPE_GENERAL
,},
//56.高圧警報-轮胎高压警告
{
/* POPUP5_MSG_TPMS_HIGH_TEMP */
POPUP_TYPE_GENERAL
,},
//57.高温警報-轮胎高温警告
{
/* POPUP5_MSG_AdBlue_DOS_MALFUNC */
POPUP_TYPE_
ADBULE_ANOMALY
,},
//58.尿素喷射异常(停止、消耗量)交互显示----尿素喷射系统异
{
/* POPUP5_MSG_AdBlue_DOS_MALFUNC */
POPUP_TYPE_
GENERAL
,},
//58.尿素喷射异常(停止、消耗量)交互显示----尿素喷射系统异
{
/* POPUP5_MSG_PUSH_DPD_SWITCH1_SPEED */
POPUP_TYPE_GENERAL
,},
//59.DPD手动再生要求1-DPD需要再生
{
/* POPUP5_MSG_PUSH_DPD_SWITCH1 */
POPUP_TYPE_GENERAL
,},
//60.DPD手动再生要求1-请按下DPD开关
{
/* POPUP5_MSG_PUSH_DPD_SWITCH2_SPEED */
POPUP_TYPE_GENERAL
,},
//61.DPD手动再生要求2-DPD需要再生
...
...
source/System/init.c
View file @
958922ea
...
...
@@ -122,25 +122,26 @@ void Sys_Startup_Init(void)
ReadDTCEOLValue_Meter_K_LINE
();
d_printf
(
"Init complete!
\n
"
);
InitSeriFlashExternReadMode
();
InitSeriFlashExternReadMode
();
//APP_Startup_Init(Clock_Get_Startup_Mode());
u8ResetFlag
=
Clock_Get_Startup_Mode
();
if
(
u32ResetFlag
!=
0xA55AA55AUL
)
{
u8ResetFlag
=
0
;
}
else
{
if
((
u8ResetFlag
==
0
)
&&
(
TestBackupRam
==
0xaabbccddu
))
{
u8ResetFlag
=
1
;
Rtc_Restore_Time
();
}
}
/*30电初始化*/
APP_Startup_Init
(
u8ResetFlag
);
TestBackupRam
=
0x11223344UL
;
if
(
u32ResetFlag
!=
0xA55AA55AUL
)
{
u8ResetFlag
=
0
;
}
else
{
if
((
u8ResetFlag
==
0
)
&&
(
TestBackupRam
==
0xaabbccddu
))
{
u8ResetFlag
=
1
;
Rtc_Restore_Time
();
}
}
/*30电初始化*/
APP_Startup_Init
(
u8ResetFlag
);
APP_Startup_Init
(
u8ResetFlag
);
TestBackupRam
=
0x11223344UL
;
/*外发要用到EEP数据,位置移动*/
COM_CAN_Init
();
...
...
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