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
21d7c3c1
Commit
21d7c3c1
authored
Feb 04, 2024
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整开机自检转速最大值偶发性不能指示到位BUG,调整高低压阈值
parent
b0c6d867
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
GaugesInterface.c
source/Application/APP/GaugesMode/GaugesInterface.c
+10
-10
System_Monitor_user.c
source/Application/APP/PowerManagement/System_Monitor_user.c
+9
-9
No files found.
source/Application/APP/GaugesMode/GaugesInterface.c
View file @
21d7c3c1
...
...
@@ -16,9 +16,9 @@ static const uint16_t GaugesDataInInit[GaugesTotal][3][25] =
{
1
,
5
,
9
,
13
,
17
,
21
,
25
,
29
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
},
/*转速*/
{
{
0u
,
900
,
1400
,
1900
,
2400
,
2900
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
},
{
0u
,
1000
,
1500
,
2000
,
2500
,
3000
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
},
{
1u
,
6
,
11
,
16
,
21
,
2
7
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
{
{
0u
,
900
,
1400
,
1900
,
2400
,
2900
,
300
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
},
{
0u
,
1000
,
1500
,
2000
,
2500
,
3000
,
310
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
},
{
1u
,
6
,
11
,
16
,
21
,
2
6
,
27
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
},
/*水温*/
{
{
0
,
50
,
55
,
61
,
66
,
72
,
77
,
102
,
104
,
106
,
108
,
110
,
111
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
},
...
...
@@ -26,14 +26,14 @@ static const uint16_t GaugesDataInInit[GaugesTotal][3][25] =
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
},
/*PRI气压*/
{
{
500
,
720
,
940
,
1160
,
1380
,
1600
,
1820
,
2040
,
2260
,
2480
,
2700
,
2920
,
3140
,
3360
,
3580
,
3800
,
4020
,
4240
,
4500
,
0
,
0
,
0
,
0
,
0
},
{
610
,
830
,
1050
,
1270
,
1490
,
1710
,
1930
,
2150
,
2370
,
2590
,
2810
,
3030
,
3250
,
3470
,
3690
,
3910
,
4130
,
4350
,
4500
,
0
,
0
,
0
,
0
,
0
},
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
,
13
,
14
,
15
,
16
,
17
,
18
,
0
,
0
,
0
,
0
,
0
}
{
{
500
,
720
,
940
,
1160
,
1380
,
1600
,
1820
,
2040
,
2260
,
2480
,
2700
,
2920
,
3140
,
3360
,
3580
,
3800
,
4020
,
4240
,
4500
,
0
,
0
,
0
,
0
,
0
,
0
},
{
610
,
830
,
1050
,
1270
,
1490
,
1710
,
1930
,
2150
,
2370
,
2590
,
2810
,
3030
,
3250
,
3470
,
3690
,
3910
,
4130
,
4350
,
4500
,
0
,
0
,
0
,
0
,
0
,
0
},
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
,
13
,
14
,
15
,
16
,
17
,
18
,
0
,
0
,
0
,
0
,
0
,
0
}
},
/*SEC气压*/
{
{
500
,
720
,
940
,
1160
,
1380
,
1600
,
1820
,
2040
,
2260
,
2480
,
2700
,
2920
,
3140
,
3360
,
3580
,
3800
,
4020
,
4240
,
4500
,
0
,
0
,
0
,
0
,
0
},
{
610
,
830
,
1050
,
1270
,
1490
,
1710
,
1930
,
2150
,
2370
,
2590
,
2810
,
3030
,
3250
,
3470
,
3690
,
3910
,
4130
,
4350
,
4500
,
0
,
0
,
0
,
0
,
0
},
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
,
13
,
14
,
15
,
16
,
17
,
18
,
0
,
0
,
0
,
0
,
0
}
{
{
500
,
720
,
940
,
1160
,
1380
,
1600
,
1820
,
2040
,
2260
,
2480
,
2700
,
2920
,
3140
,
3360
,
3580
,
3800
,
4020
,
4240
,
4500
,
0
,
0
,
0
,
0
,
0
,
0
},
{
610
,
830
,
1050
,
1270
,
1490
,
1710
,
1930
,
2150
,
2370
,
2590
,
2810
,
3030
,
3250
,
3470
,
3690
,
3910
,
4130
,
4350
,
4500
,
0
,
0
,
0
,
0
,
0
,
0
},
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
,
13
,
14
,
15
,
16
,
17
,
18
,
0
,
0
,
0
,
0
,
0
,
0
}
},
/*WET气压*/
{
{
500
,
730
,
960
,
1190
,
1420
,
1650
,
1880
,
2100
,
2330
,
2560
,
2790
,
3020
,
3250
,
3480
,
3710
,
3940
,
4170
,
4400
,
4500
,
0
,
0
,
0
,
0
,
0
,
0
},
...
...
@@ -51,7 +51,7 @@ static const uint16_t GaugesDataInInit[GaugesTotal][3][25] =
/*指示类型*/
/*表头1 表头2 表头3 表头4*/
/*表头5*/
/*表头6*/
/*表头7*/
static
const
uint8_t
GaugesIndicatType
[
GaugesTotal
]
=
{
LEDOtherType
,
LEDOtherType
,
LEDTempType
,
LEDGasType
,
LEDGasType
,
LEDGasType
,
LEDBattery
};
/*初始化表头显示类型,例如水温,气压*/
/*每个表头包含的参数个数*/
/*表头1 表头2 表头3 表头4*/
static
const
uint8_t
GaugesParaNum
[
GaugesTotal
]
=
{
8
,
6
,
13
,
19
,
19
,
19
,
14
};
static
const
uint8_t
GaugesParaNum
[
GaugesTotal
]
=
{
8
,
7
,
13
,
19
,
19
,
19
,
14
};
/*每个表头IGON后开始走动时间*/
/*表头1 表头2 表头3 表头4 表头5 表头6*/
static
const
uint16_t
GaugesStarMoveTime
[
GaugesTotal
]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,};
/*0是上电就开始走动,其他参数是ms*/
...
...
source/Application/APP/PowerManagement/System_Monitor_user.c
View file @
21d7c3c1
...
...
@@ -4,15 +4,15 @@
#include "System_Monitor.h"
#include "Analog_Signals.h"
#define u16Base_Vol
0u
// 0
#define u16ENTER_LOW_N_RANGE 6500
U
// 1
#define u16EXIT_LOW_N_RANGE 7000
U
// 2
#define u16ENTER_LOW_Y_RANGE 1
9500U
// 3
#define u16EXIT_LOW_Y_RANGE
20000U
// 4
#define u16EXIT_HIGH_Y_RANGE 32000
U
// 5
#define u16ENTER_HIGH_Y_RANGE 32500
U
// 6
#define u16EXIT_HIGH_N_RANGE 33000
U
// 7
#define u16ENTER_HIGH_N_RANGE 33500
U
// 8
#define u16Base_Vol
0u
// 0
#define u16ENTER_LOW_N_RANGE 6500
u
// 1
#define u16EXIT_LOW_N_RANGE 7000
u
// 2
#define u16ENTER_LOW_Y_RANGE 1
7500u
// 3
#define u16EXIT_LOW_Y_RANGE
18500u
// 4
#define u16EXIT_HIGH_Y_RANGE 32000
u
// 5
#define u16ENTER_HIGH_Y_RANGE 32500
u
// 6
#define u16EXIT_HIGH_N_RANGE 33000
u
// 7
#define u16ENTER_HIGH_N_RANGE 33500
u
// 8
#define u16Top_Vol 0xffffu
#pragma alignvar(8)
...
...
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