Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiancetai
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
陈家乐
jiancetai
Commits
ee712715
Commit
ee712715
authored
Jan 19, 2026
by
何锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:增加新零件号与版本号限制
parent
7b7b478c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
2 deletions
+39
-2
Display_Info.c
YueJin_test_bench/source/Appliciation/Display_Info.c
+39
-2
No files found.
YueJin_test_bench/source/Appliciation/Display_Info.c
View file @
ee712715
...
...
@@ -3721,6 +3721,13 @@ void Display_Version_Info(uint32_t ON_OFF)
nowbanbenhaohoumian
=
4
;
nowbanbenhaoG031
=
1
;
nowbanbenhaoG031houmian
=
4
;
if
(
R485_ID4Dh
.
Sig
.
MaterialCode13
==
0x33
)
//37100-G373-0300
{
nowbanbenhao
=
1
;
nowbanbenhaohoumian
=
5
;
nowbanbenhaoG031
=
1
;
nowbanbenhaoG031houmian
=
5
;
}
}
else
{
...
...
@@ -3753,18 +3760,48 @@ void Display_Version_Info(uint32_t ON_OFF)
}
}
else
if
(
R485_ID4Dh
.
Sig
.
MaterialCode10
==
0x36
)
{
nowbanbenhao
=
1
;
nowbanbenhaohoumian
=
1
;
nowbanbenhaoG031
=
1
;
nowbanbenhaoG031houmian
=
1
;
if
(
R485_ID4Dh
.
Sig
.
MaterialCode13
==
0x32
)
//37100-C076-0200
{
nowbanbenhao
=
1
;
nowbanbenhaohoumian
=
5
;
nowbanbenhaoG031
=
1
;
nowbanbenhaoG031houmian
=
5
;
}
else
if
(
R485_ID4Dh
.
Sig
.
MaterialCode13
==
0x35
)
//37100-C076-0500
{
nowbanbenhao
=
1
;
nowbanbenhaohoumian
=
1
;
nowbanbenhaoG031
=
1
;
nowbanbenhaoG031houmian
=
1
;
}
}
else
{
}
}
else
if
(
R485_ID4Dh
.
Sig
.
MaterialCode07
==
0x41
)
{
if
(
R485_ID4Dh
.
Sig
.
MaterialCode13
==
0x32
)
//37100-A020-0200
{
nowbanbenhao
=
1
;
nowbanbenhaohoumian
=
5
;
nowbanbenhaoG031
=
1
;
nowbanbenhaoG031houmian
=
5
;
}
else
if
(
R485_ID4Dh
.
Sig
.
MaterialCode13
==
0x33
)
//37100-A020-0300
{
nowbanbenhao
=
1
;
nowbanbenhaohoumian
=
5
;
nowbanbenhaoG031
=
1
;
nowbanbenhaoG031houmian
=
5
;
}
}
else
{
;
...
...
@@ -3851,7 +3888,7 @@ void Display_Version_Info(uint32_t ON_OFF)
// TFT_LCD_Draw_Bmp(210, 160, ( uint8_t * )gImage_Alarm_13_ImageX222_Y166); //%
TFT_LCD_Draw_Bmp
(
3
,
290
,
(
uint8_t
*
)
gImage_gImage_checkVX6_Y165
);
//检测台版本号
// uint8_t mbuff [7] = {2,6,0,1,0,5,0xff};
uint8_t
mbuff
[
7
]
=
{
0
,
1
,
0
,
5
,
10
,
1
,
0xff
};
uint8_t
mbuff
[
7
]
=
{
0
,
1
,
1
,
5
,
11
,
1
,
0xff
};
General_Number_Disp
(
mbuff
,
160
,
290
);
}
...
...
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