Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
haoJin750TFT
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
时昊
haoJin750TFT
Commits
43844348
Commit
43844348
authored
Aug 17, 2024
by
王雅楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:恢复小计显示
parent
f0b7cd75
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
208 deletions
+8
-208
AMT630H_Datas.c
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
+8
-208
No files found.
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
View file @
43844348
...
@@ -1391,213 +1391,6 @@ static void AMT630H_GUI_Clock_Setting(uint8_t Clock_Hour, uint8_t Clock_Min, uin
...
@@ -1391,213 +1391,6 @@ static void AMT630H_GUI_Clock_Setting(uint8_t Clock_Hour, uint8_t Clock_Min, uin
DisplayNumPara
.
MinDigits
=
2
;
DisplayNumPara
.
MinDigits
=
2
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
Clock_MinNumber
);
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
Clock_MinNumber
);
}
}
// /*日间中文*/
// if (Pic_mode == PIC_DAYTIME_CH)
// {
// SetPagePic(GRAPHICS_PAGE_0, Pic_0021_510_222);
// SetPagePic(GRAPHICS_PAGE_0, Pic_0135_27_396);
// SetPagePic(GRAPHICS_PAGE_0, Pic_0136_489_338);
// switch (Clock_BIT)
// {
// case 1:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_408_209); // 小时第一位
// break;
// case 2:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_455_209); // 小时第二位
// break;
// case 3:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_525_209); // 分钟第一位
// break;
// case 4:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_572_209); // 分钟第二位
// break;
// case 5:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0018_441_335); // 返回
// break;
// default:
// break;
// }
// DISPLAY_NUM_ST DisplayNumPara;
// uint8_t Clock_HourNumber;
// uint8_t Clock_MinNumber;
// Clock_HourNumber = Clock_Hour;
// Clock_MinNumber = Clock_Min;
// DisplayNumPara.NumList = time_num_day;
// DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 47;
// DisplayNumPara.x = 455;
// DisplayNumPara.y = GROUP_PIC_USE_PSD_Y_POS;
// DisplayNumPara.DecimalNum = 0;
// DisplayNumPara.MinDigits = 2;
// DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, Clock_HourNumber);
// DisplayNumPara.NumList = time_num_day;
// DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 47;
// DisplayNumPara.x = 572;
// DisplayNumPara.y = GROUP_PIC_USE_PSD_Y_POS;
// DisplayNumPara.DecimalNum = 0;
// DisplayNumPara.MinDigits = 2;
// DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, Clock_MinNumber);
// }
// /*夜间中文*/
// else if (Pic_mode == PIC_NIGHTTIME_CH)
// {
// SetPagePic(GRAPHICS_PAGE_0, Pic_0323_27_396);
// SetPagePic(GRAPHICS_PAGE_0, Pic_0324_489_338);
// SetPagePic(GRAPHICS_PAGE_0, Pic_0209_510_222);
// switch (Clock_BIT)
// {
// case 1:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_408_209); // 小时第一位
// break;
// case 2:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_455_209); // 小时第二位
// break;
// case 3:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_525_209); // 分钟第一位
// break;
// case 4:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_572_209); // 分钟第二位
// break;
// case 5:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0207_437_316); // 返回
// break;
// default:
// break;
// }
// /*数据处理*/
// DISPLAY_NUM_ST DisplayNumPara;
// uint8_t Clock_HourNumber;
// uint8_t Clock_MinNumber;
// Clock_HourNumber = Clock_Hour;
// Clock_MinNumber = Clock_Min;
// DisplayNumPara.NumList = time_num_night;
// DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 47;
// DisplayNumPara.x = 455;
// DisplayNumPara.y = GROUP_PIC_USE_PSD_Y_POS;
// DisplayNumPara.DecimalNum = 0;
// DisplayNumPara.MinDigits = 2;
// DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, Clock_HourNumber);
// DisplayNumPara.NumList = time_num_night;
// DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 47;
// DisplayNumPara.x = 572;
// DisplayNumPara.y = GROUP_PIC_USE_PSD_Y_POS;
// DisplayNumPara.DecimalNum = 0;
// DisplayNumPara.MinDigits = 2;
// DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, Clock_MinNumber);
// }
// /*日间英文*/
// else if (Pic_mode == PIC_DAYTIME_EN)
// {
// SetPagePic(GRAPHICS_PAGE_0, Pic_0017_19_397);
// SetPagePic(GRAPHICS_PAGE_0, Pic_0019_478_341);
// SetPagePic(GRAPHICS_PAGE_0, Pic_0021_510_222);
// /*光标*/
// switch (Clock_BIT)
// {
// case 1:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_408_209); // 小时第一位
// break;
// case 2:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_455_209); // 小时第二位
// break;
// case 3:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_525_209); // 分钟第一位
// break;
// case 4:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_572_209); // 分钟第二位
// break;
// case 5:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0018_441_335); // 返回
// break;
// default:
// break;
// }
// /*数据处理*/
// DISPLAY_NUM_ST DisplayNumPara;
// uint8_t Clock_HourNumber;
// uint8_t Clock_MinNumber;
// Clock_HourNumber = Clock_Hour;
// Clock_MinNumber = Clock_Min;
// DisplayNumPara.NumList = time_num_day;
// DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 47;
// DisplayNumPara.x = 457;
// DisplayNumPara.y = GROUP_PIC_USE_PSD_Y_POS;
// DisplayNumPara.DecimalNum = 0;
// DisplayNumPara.MinDigits = 2;
// DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, Clock_HourNumber);
// DisplayNumPara.NumList = time_num_day;
// DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 47;
// DisplayNumPara.x = 574;
// DisplayNumPara.y = GROUP_PIC_USE_PSD_Y_POS;
// DisplayNumPara.DecimalNum = 0;
// DisplayNumPara.MinDigits = 2;
// DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, Clock_MinNumber);
// }
// /*夜间英文*/
// else if (Pic_mode == PIC_NIGHTTIME_EN)
// {
// SetPagePic(GRAPHICS_PAGE_0, Pic_0206_19_397);
// SetPagePic(GRAPHICS_PAGE_0, Pic_0208_478_341);
// SetPagePic(GRAPHICS_PAGE_0, Pic_0209_510_222);
// /*光标*/
// switch (Clock_BIT)
// {
// case 1:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_408_209); // 小时第一位
// break;
// case 2:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_455_209); // 小时第二位
// break;
// case 3:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_525_209); // 分钟第一位
// break;
// case 4:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0020_572_209); // 分钟第二位
// break;
// case 5:
// SetPagePic(GRAPHICS_PAGE_0, Pic_0207_437_316); // 返回
// break;
// default:
// break;
// }
// /*数据处理*/
// DISPLAY_NUM_ST DisplayNumPara;
// uint8_t Clock_HourNumber;
// uint8_t Clock_MinNumber;
// Clock_HourNumber = Clock_Hour;
// Clock_MinNumber = Clock_Min;
// DisplayNumPara.NumList = time_num_night;
// DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 47;
// DisplayNumPara.x = 457;
// DisplayNumPara.y = GROUP_PIC_USE_PSD_Y_POS;
// DisplayNumPara.DecimalNum = 0;
// DisplayNumPara.MinDigits = 2;
// DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, Clock_HourNumber);
// DisplayNumPara.NumList = time_num_night;
// DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 47;
// DisplayNumPara.x = 574;
// DisplayNumPara.y = GROUP_PIC_USE_PSD_Y_POS;
// DisplayNumPara.DecimalNum = 0;
// DisplayNumPara.MinDigits = 2;
// DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, Clock_MinNumber);
// }
}
}
/**
/**
...
@@ -3957,7 +3750,14 @@ void AMT630H_GUI_BACKGRAND()
...
@@ -3957,7 +3750,14 @@ void AMT630H_GUI_BACKGRAND()
}
}
AMT630H_GUI_Voltage
(
KL30_VOLTAGE_Value
);
AMT630H_GUI_Voltage
(
KL30_VOLTAGE_Value
);
AMT630H_GUI_ODO
(
Get_ODO_Value
()
/
10
,
0
);
if
(
Get_Dis_OdoAndTrip
()
==
0
)
{
AMT630H_GUI_ODO
(
Get_ODO_Value
()
/
10
,
Get_Dis_Unit
());
}
else
{
AMT630H_GUI_Trip
(
Get_Trip_Value
(),
Get_Dis_Unit
());
}
if
(
VechileSpeed_time
<
4
)
if
(
VechileSpeed_time
<
4
)
{
{
VechileSpeed_time
++
;
VechileSpeed_time
++
;
...
...
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