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
f3eabac8
Commit
f3eabac8
authored
Sep 25, 2024
by
张金硕
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'wangyanan' into 'dev'
Wangyanan See merge request
!90
parents
966bf86e
5b8297c4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
223 additions
and
264 deletions
+223
-264
BlueTooth.c
Firmware/Source/Application/BlueTooth.c
+3
-3
AMT630H_Datas.c
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
+220
-261
No files found.
Firmware/Source/Application/BlueTooth.c
View file @
f3eabac8
...
...
@@ -255,8 +255,8 @@ void TextService(void)
}
}
}
if
(
Menu_Get_Current_Cursor_Information
()
==
MENU_ITEM_BLUETOOTH_CONNECT
)
{
//
if(Menu_Get_Current_Cursor_Information() == MENU_ITEM_BLUETOOTH_CONNECT)
//
{
if
(
memcmp
(
LastBlueToothName
,
BlueToothPhoneData
.
BlueToothName
,
sizeof
(
LastBlueToothName
))
!=
0
)
{
for
(
uint8_t
i
=
0
;
i
<
sizeof
(
BlueToothPhoneData
.
BlueToothName
);
i
++
)
...
...
@@ -267,7 +267,7 @@ void TextService(void)
memcpy
(
LastBlueToothName
,
BlueToothPhoneData
.
BlueToothName
,
sizeof
(
LastBlueToothName
));
TextPara
[
TEXT_NUM_BLUETOOTH_NAME
].
Vaild
=
0X01
;
}
}
//
}
if
(
LastPhoneBookTotalCount
!=
BlueToothPhoneData
.
PhoneBookTotalCount
)
{
uint8_t
TempNumberCnts
=
0
;
...
...
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
View file @
f3eabac8
...
...
@@ -118,7 +118,7 @@ void AMT630H_GUI_Fault_Information(void)
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0097_334_163
);
/*current fault*/
AMT630H_GUI_FaultCode
(
Get_FaultCode_Lost
(),
Get_FaultCode_Valid
(),
Get_Current_Hight_FaultCode
(),
Get_Current_Mid_FaultCode
());
}
/*
蓝牙名称改为字库显示
*/
/*
os MCU版本
*/
/* RGB 0 0 0 --- 黑*/
/* RGB 0XFF 0XFF 0XFF --- 白*/
PackedTransfer_LabelsList
(
0x8022
,(
uint8_t
*
)
InformationOSVersion
,
20
);
...
...
@@ -162,7 +162,7 @@ void AMT630H_GUI_Fault_Information(void)
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0285_334_163
);
/*current fault*/
AMT630H_GUI_FaultCode
(
Get_FaultCode_Lost
(),
Get_FaultCode_Valid
(),
Get_Current_Hight_FaultCode
(),
Get_Current_Mid_FaultCode
());
}
/*
蓝牙名称改为字库显示
*/
/*
os MCU版本
*/
/* RGB 0 0 0 --- 黑*/
/* RGB 0XFF 0XFF 0XFF --- 白*/
PackedTransfer_LabelsList
(
0x8022
,(
uint8_t
*
)
InformationOSVersion
,
20
);
...
...
@@ -170,7 +170,6 @@ void AMT630H_GUI_Fault_Information(void)
PackedTransfer_LabelsList
(
0x9022
,(
uint8_t
*
)
InformationMCUVersion
,
26
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x9022
,
567
,
356
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
...
...
@@ -203,160 +202,29 @@ uint8_t FaultCodevalid_monitor = 2;
/*故障码显示函数*/
static
void
AMT630H_GUI_FaultCode
(
uint8_t
FaultCodeLost
,
uint8_t
FaultCodevalid
,
uint8_t
FaultCode_hight
,
uint8_t
FaultCode_mid
)
{
/*数字只有两组 历史故障和故障信息纵坐标不同*/
FaultCodevalid_monitor
=
FaultCodevalid
;
if
(
FaultCodeLost
==
1
)
{
if
(
FaultCodevalid
>
0
)
if
(
FaultCodevalid
==
1
)
{
DISPLAY_NUM_ST
DisplayNumPara
;
uint16_t
frontnumber
;
uint16_t
midnumber
;
frontnumber
=
FaultCode_hight
;
midnumber
=
FaultCode_mid
;
if
(
g_u8Display_Mode
==
ModeDAY
)
{
SetPagePicFree
(
GRAPHICS_PAGE_0
,
Pic_0876_639_293
,
610
,
164
);
//当前故障码的P
SetPagePicFree
(
GRAPHICS_PAGE_0
,
Pic_0876_639_293
,
610
,
229
);
//历史故障码的P
/*当前故障码前两位显示*/
DisplayNumPara
.
NumList
=
NumbeList_FaultCode_day
;
DisplayNumPara
.
x
=
639
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
164
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNumPara
.
MinDigits
=
2
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
frontnumber
);
/*当前故障码后两位显示*/
DisplayNumPara
.
NumList
=
NumbeList_FaultCode_day
;
DisplayNumPara
.
x
=
667
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
164
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNumPara
.
MinDigits
=
2
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
midnumber
);
/*历史故障码前两位显示*/
DisplayNumPara
.
NumList
=
NumbeList_FaultCode_day
;
DisplayNumPara
.
x
=
639
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
229
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNumPara
.
MinDigits
=
2
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
frontnumber
);
/*历史故障码后两位显示*/
DisplayNumPara
.
NumList
=
NumbeList_FaultCode_day
;
DisplayNumPara
.
x
=
667
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
229
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNumPara
.
MinDigits
=
2
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
midnumber
);
/*当前故障*/
PackedTransfer_LabelsList
(
0x6009
,(
uint8_t
*
)
TextFaultCodeNum
,
10
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x6009
,
610
,
229
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
/*历史故障*/
PackedTransfer_LabelsList
(
0x6009
,(
uint8_t
*
)
TextFaultCodeNum
,
10
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x6009
,
610
,
164
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
else
if
(
g_u8Display_Mode
==
ModeNIGHT
)
{
SetPagePicFree
(
GRAPHICS_PAGE_0
,
Pic_0912_639_293
,
610
,
164
);
//当前故障码的P
SetPagePicFree
(
GRAPHICS_PAGE_0
,
Pic_0912_639_293
,
610
,
229
);
//历史故障码的P
/*当前故障码前两位显示*/
DisplayNumPara
.
NumList
=
NumbeList_FaultCode_night
;
DisplayNumPara
.
x
=
639
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
164
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNumPara
.
MinDigits
=
2
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
frontnumber
);
/*当前故障码后两位显示*/
DisplayNumPara
.
NumList
=
NumbeList_FaultCode_night
;
DisplayNumPara
.
x
=
667
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
164
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNumPara
.
MinDigits
=
2
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
midnumber
);
/*历史故障码前两位显示*/
DisplayNumPara
.
NumList
=
NumbeList_FaultCode_night
;
DisplayNumPara
.
x
=
639
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
229
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNumPara
.
MinDigits
=
2
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
frontnumber
);
/*历史故障码后两位显示*/
DisplayNumPara
.
NumList
=
NumbeList_FaultCode_night
;
DisplayNumPara
.
x
=
667
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
229
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNumPara
.
MinDigits
=
2
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
midnumber
);
/*当前故障*/
PackedTransfer_LabelsList
(
0x6009
,(
uint8_t
*
)
TextFaultCodeNum
,
10
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x6009
,
610
,
229
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
/*历史故障*/
PackedTransfer_LabelsList
(
0x6009
,(
uint8_t
*
)
TextFaultCodeNum
,
10
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x6009
,
610
,
164
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
else
if
(
FaultCodevalid
==
0
)
{
/*显示P0000*/
if
(
g_u8Display_Mode
==
ModeDAY
)
{
SetPagePicFree
(
GRAPHICS_PAGE_0
,
Pic_0876_639_293
,
610
,
164
);
//当前故障码的P
SetPagePicFree
(
GRAPHICS_PAGE_0
,
Pic_0876_639_293
,
610
,
229
);
//历史故障码的P
DISPLAY_NUM_ST
DisplayNumPara
;
/*当前故障码前两位显示*/
DisplayNumPara
.
NumList
=
NumbeList_FaultCode_day
;
DisplayNumPara
.
x
=
639
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
164
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNumPara
.
MinDigits
=
2
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
0
);
/*当前故障码后两位显示*/
DisplayNumPara
.
NumList
=
NumbeList_FaultCode_day
;
DisplayNumPara
.
x
=
667
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
164
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNumPara
.
MinDigits
=
2
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
0
);
/*历史故障码前两位显示*/
DisplayNumPara
.
NumList
=
NumbeList_FaultCode_day
;
DisplayNumPara
.
x
=
639
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
229
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNumPara
.
MinDigits
=
2
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
0
);
/*历史故障码后两位显示*/
DisplayNumPara
.
NumList
=
NumbeList_FaultCode_day
;
DisplayNumPara
.
x
=
667
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
229
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNumPara
.
MinDigits
=
2
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
0
);
}
else
if
(
g_u8Display_Mode
==
ModeNIGHT
)
{
/*显示P0000(直接贴图方式)*/
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0900_610_164
);
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0901_625_164
);
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0901_639_164
);
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0901_653_164
);
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0901_667_164
);
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0900_610_229
);
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0901_625_229
);
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0901_639_229
);
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0901_653_229
);
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0901_667_229
);
}
else
{
;
}
}
else
{
;
}
}
else
if
(
FaultCodeLost
==
0
)
{
...
...
@@ -671,7 +539,11 @@ static uint16_t Bluetooth_num_night[] = {
void
AMT630H_GUI_Bluetooth_Information
(
uint8_t
Connect_ON
)
{
uint8_t
Contect_totalnumber
;
DISPLAY_NUM_ST
DisplayNumPara
;
uint16_t
connect_personnumber
;
connect_personnumber
=
BlueToothPhoneData
.
PhoneBookTotalCount
;
Contect_totalnumber
=
0
;
if
(
g_u8Display_Mode
==
ModeDAY
)
{
if
(
g_u8Language
==
CH
)
...
...
@@ -762,67 +634,74 @@ void AMT630H_GUI_Bluetooth_Information( uint8_t Connect_ON)
PackedTransfer_LabelsList
(
0x5022
,(
uint8_t
*
)
BlueToothName
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x5022
,
570
,
165
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
/*遍历同步联系人数组*/
if
(
PhoneNumberTotal
[
0
]
==
0
)
{
Contect_totalnumber
=
1
;
}
else
{
for
(
int
i
=
0
;
i
<
20
;
i
++
)
{
if
(
PhoneNumberTotal
[
i
]
!=
0
)
{
Contect_totalnumber
++
;
}
else
if
(
BlueToothPhoneData
.
BlueToothSignalSate
==
BlueTooth_Connection
)
{
break
;
}
}
}
/*同步联系人数字显示(字库版)*/
/*同步联系人数字显示*/
if
(
g_u8Display_Mode
==
ModeDAY
)
{
if
(
Contect_totalnumber
==
1
)
if
((
connect_personnumber
>=
0
)
&&
(
connect_personnumber
<
10
)
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0038_590_287
);
/*【括号】 一位数 */
PackedTransfer_LabelsList
(
0x7000
,(
uint8_t
*
)
PhoneNumberTotal
,
20
)
;
SetPageText
(
GRAPHICS_PAGE_0
,
0x7000
,
605
,
289
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
))
;
DisplayNumPara
.
x
=
605
;
DisplayNumPara
.
MinDigits
=
1
;
}
else
if
(
Contect_totalnumber
==
2
)
else
if
((
connect_personnumber
>=
10
)
&&
(
connect_personnumber
<
100
)
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0039_583_287
);
/*【括号】 两位数 */
PackedTransfer_LabelsList
(
0x7000
,(
uint8_t
*
)
PhoneNumberTotal
,
20
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x7000
,
590
,
285
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
DisplayNumPara
.
x
=
612
;
DisplayNumPara
.
MinDigits
=
2
;
}
else
{
;
}
// else if(Contect_totalnumber == 3)
// {
// SetPagePic(GRAPHICS_PAGE_0, ); /*【括号】 三位数 */
// PackedTransfer_LabelsList( 0x4022,(uint8_t *)PhoneNumberTotal, 40);
// SetPageText(GRAPHICS_PAGE_0, 0x4022, 570 , 165 , 200, ALIGN_LEFT, 0, TEXT_COLOR(0XFF,0XFF,0XFF,0XFF),TEXT_LINE_OFFSET(1,1));
//
// }
DisplayNumPara
.
NumList
=
Bluetooth_num_day
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
GROUP_PIC_USE_PSD_Y_POS
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
connect_personnumber
);
}
else
if
(
g_u8Display_Mode
==
ModeNIGHT
)
{
if
(
Contect_totalnumber
==
1
)
if
((
connect_personnumber
>=
0
)
&&
(
connect_personnumber
<
10
)
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0223_590_287
);
/*【括号】 一位数 */
PackedTransfer_LabelsList
(
0x7000
,(
uint8_t
*
)
PhoneNumberTotal
,
20
)
;
SetPageText
(
GRAPHICS_PAGE_0
,
0x7000
,
605
,
289
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
))
;
DisplayNumPara
.
x
=
605
;
DisplayNumPara
.
MinDigits
=
1
;
}
else
if
(
Contect_totalnumber
==
2
)
else
if
((
connect_personnumber
>=
10
)
&&
(
connect_personnumber
<
100
)
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0224_583_287
);
/*【括号】 两位数 */
PackedTransfer_LabelsList
(
0x7000
,(
uint8_t
*
)
PhoneNumberTotal
,
20
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x7000
,
590
,
285
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
DisplayNumPara
.
x
=
612
;
DisplayNumPara
.
MinDigits
=
2
;
}
else
{
;
}
// else if(Contect_totalnumber == 3)
// {
// SetPagePic(GRAPHICS_PAGE_0, ); /*【括号】 三位数 */
// PackedTransfer_LabelsList( 0x4022,(uint8_t *)PhoneNumberTotal, 40);
// SetPageText(GRAPHICS_PAGE_0, 0x4022, 570 , 165 , 200, ALIGN_LEFT, 0, TEXT_COLOR(0,0,0,0XFF),TEXT_LINE_OFFSET(1,1));
// SetPagePic(GRAPHICS_PAGE_0, ); /*【括号】 三位数 */ /* 同步联系人最大位数未确定*/
//
// }
DisplayNumPara
.
NumList
=
Bluetooth_num_night
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
GROUP_PIC_USE_PSD_Y_POS
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
connect_personnumber
);
}
}
else
/*蓝牙未连接或蓝牙关闭时 同步联系人显示0*/
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0223_590_287
);
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0225_605_289
);
}
}
...
...
@@ -2113,6 +1992,9 @@ static uint16_t Bluetooth_Connect_num_night[] = {
*/
void
AMT630H_GUI_Bluetooth_Connect_Setting
(
Menu_Item_en_t
select
,
uint8_t
Connect_ON
)
{
DISPLAY_NUM_ST
DisplayNumPara
;
uint16_t
connect_personnumber
;
connect_personnumber
=
BlueToothPhoneData
.
PhoneBookTotalCount
;
uint8_t
Contect_totalnumber
;
Contect_totalnumber
=
0
;
if
(
g_u8Display_Mode
==
ModeDAY
)
...
...
@@ -2263,67 +2145,64 @@ void AMT630H_GUI_Bluetooth_Connect_Setting(Menu_Item_en_t select, uint8_t Connec
PackedTransfer_LabelsList
(
0x5022
,(
uint8_t
*
)
BlueToothName
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x5022
,
570
,
165
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
/*遍历同步联系人数组*/
if
(
PhoneNumberTotal
[
0
]
==
0
)
{
Contect_totalnumber
=
1
;
}
else
{
for
(
int
i
=
0
;
i
<
20
;
i
++
)
{
if
(
PhoneNumberTotal
[
i
]
!=
0
)
{
Contect_totalnumber
++
;
}
else
{
break
;
}
}
}
/*同步联系人数字显示(字库版)*/
/*同步联系人数字显示*/
if
(
g_u8Display_Mode
==
ModeDAY
)
{
if
(
Contect_totalnumber
==
1
)
if
(
(
connect_personnumber
>=
0
)
&&
(
connect_personnumber
<
10
)
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0038_590_287
);
/*【括号】 一位数 */
PackedTransfer_LabelsList
(
0x7000
,(
uint8_t
*
)
PhoneNumberTotal
,
20
)
;
SetPageText
(
GRAPHICS_PAGE_0
,
0x7000
,
605
,
289
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
))
;
DisplayNumPara
.
x
=
605
;
DisplayNumPara
.
MinDigits
=
1
;
}
else
if
(
Contect_totalnumber
==
2
)
else
if
(
(
connect_personnumber
>=
10
)
&&
(
connect_personnumber
<
100
)
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0039_583_287
);
/*【括号】 两位数 */
PackedTransfer_LabelsList
(
0x7000
,(
uint8_t
*
)
PhoneNumberTotal
,
20
)
;
SetPageText
(
GRAPHICS_PAGE_0
,
0x7000
,
590
,
285
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
))
;
DisplayNumPara
.
x
=
612
;
DisplayNumPara
.
MinDigits
=
2
;
}
// else if(Contect_totalnumber == 3)
// {
// SetPagePic(GRAPHICS_PAGE_0, ); /*【括号】 三位数 */
// PackedTransfer_LabelsList( 0x4022,(uint8_t *)PhoneNumberTotal, 40);
// SetPageText(GRAPHICS_PAGE_0, 0x4022, 570 , 165 , 200, ALIGN_LEFT, 0, TEXT_COLOR(0XFF,0XFF,0XFF,0XFF),TEXT_LINE_OFFSET(1,1));
//
// }
DisplayNumPara
.
NumList
=
Bluetooth_num_day
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
GROUP_PIC_USE_PSD_Y_POS
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
connect_personnumber
);
}
else
if
(
g_u8Display_Mode
==
ModeNIGHT
)
{
if
(
Contect_totalnumber
==
1
)
if
(
(
connect_personnumber
>=
0
)
&&
(
connect_personnumber
<
10
)
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0223_590_287
);
/*【括号】 一位数 */
PackedTransfer_LabelsList
(
0x7000
,(
uint8_t
*
)
PhoneNumberTotal
,
20
)
;
SetPageText
(
GRAPHICS_PAGE_0
,
0x7000
,
605
,
289
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
))
;
DisplayNumPara
.
x
=
605
;
DisplayNumPara
.
MinDigits
=
1
;
}
else
if
(
Contect_totalnumber
==
2
)
else
if
(
(
connect_personnumber
>=
10
)
&&
(
connect_personnumber
<
100
)
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0224_583_287
);
/*【括号】 两位数 */
PackedTransfer_LabelsList
(
0x7000
,(
uint8_t
*
)
PhoneNumberTotal
,
20
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x7000
,
590
,
285
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
DisplayNumPara
.
x
=
612
;
DisplayNumPara
.
MinDigits
=
2
;
}
else
{
;
}
// else if(Contect_totalnumber == 3)
// {
// SetPagePic(GRAPHICS_PAGE_0, ); /*【括号】 三位数 */
// PackedTransfer_LabelsList( 0x4022,(uint8_t *)PhoneNumberTotal, 40);
// SetPageText(GRAPHICS_PAGE_0, 0x4022, 570 , 165 , 200, ALIGN_LEFT, 0, TEXT_COLOR(0,0,0,0XFF),TEXT_LINE_OFFSET(1,1));
//
// }
DisplayNumPara
.
NumList
=
Bluetooth_num_night
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
GROUP_PIC_USE_PSD_Y_POS
;
DisplayNumPara
.
DecimalNum
=
0
;
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
connect_personnumber
);
}
}
...
...
@@ -2852,7 +2731,7 @@ static const uint16_t NumbeList_PhoneConnect_ESpeed[] ={
Pic_0394_64_554
,
};
static
const
uint16_t
PICList_Fuel
[]
=
{
Pic_05
62
_315_473
,
Pic_05
54
_315_473
,
Pic_0555_366_473
,
Pic_0556_426_473
,
Pic_0557_469_473
,
...
...
@@ -2862,7 +2741,7 @@ static const uint16_t PICList_Fuel[] = {
Pic_0561_623_473
,
};
static
const
uint16_t
PICList_PhoneConnect_Fuel
[]
=
{
Pic_041
4
_76_536
,
Pic_041
5
_76_536
,
Pic_0416_105_536
,
Pic_0417_134_536
,
Pic_0418_163_536
,
...
...
@@ -3019,6 +2898,14 @@ static void AMT630H_GUI_PhoneConnect_Light()
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0468_819_486
);
}
if
(
Get_TelltalesLedSts
(
em_LED_Coolant_Temperature
))
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0436_981_528
);
}
else
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0435_981_528
);
}
}
/*
*NAME : AMT630H_GUI_TIME()
...
...
@@ -3144,8 +3031,8 @@ static void AMT630H_GUI_Telephone()
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x40
09
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
09
,
54
,
499
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
PackedTransfer_LabelsList
(
0x40
22
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
22
,
54
,
463
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
else
if
(
g_u8Display_Mode
==
ModeNIGHT
)
...
...
@@ -3157,8 +3044,8 @@ static void AMT630H_GUI_Telephone()
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x40
09
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
09
,
54
,
499
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
PackedTransfer_LabelsList
(
0x40
22
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
22
,
54
,
463
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
...
...
@@ -3175,8 +3062,8 @@ static void AMT630H_GUI_Telephone()
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x40
09
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
09
,
54
,
499
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
PackedTransfer_LabelsList
(
0x40
22
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
22
,
54
,
463
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
else
if
(
g_u8Display_Mode
==
ModeNIGHT
)
...
...
@@ -3188,8 +3075,8 @@ static void AMT630H_GUI_Telephone()
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x40
09
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
09
,
54
,
499
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
PackedTransfer_LabelsList
(
0x40
22
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
22
,
54
,
463
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
...
...
@@ -3206,8 +3093,8 @@ static void AMT630H_GUI_Telephone()
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x40
09
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
09
,
54
,
499
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
PackedTransfer_LabelsList
(
0x40
22
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
22
,
54
,
463
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
else
if
(
g_u8Display_Mode
==
ModeNIGHT
)
...
...
@@ -3219,8 +3106,8 @@ static void AMT630H_GUI_Telephone()
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x40
09
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
09
,
54
,
499
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
PackedTransfer_LabelsList
(
0x40
22
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
22
,
54
,
463
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
}
...
...
@@ -3247,29 +3134,68 @@ static void AMT630H_GUI_PhoneConnect_Telephone()
{
if
(
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Outgoing
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0451_751_555
);
if
(
TextPara
[
TEXT_NUM_BLUETOOTH_PHONENAME
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4022
,(
uint8_t
*
)
CurBlueToothPhoneName
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4022
,
786
,
561
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x40
09
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
09
,
786
,
561
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
PackedTransfer_LabelsList
(
0x40
22
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
22
,
786
,
561
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
else
if
(
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Talking
)
{
//SetPagePic(GRAPHICS_PAGE_0, Pic_0943_751_555);
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0943_751_555
);
if
(
TextPara
[
TEXT_NUM_BLUETOOTH_PHONENAME
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4022
,(
uint8_t
*
)
CurBlueToothPhoneName
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4022
,
786
,
561
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x40
09
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
09
,
786
,
561
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
PackedTransfer_LabelsList
(
0x40
22
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x40
22
,
786
,
561
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
else
if
(
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Incoming
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0450_751_555
);
if
(
TextPara
[
TEXT_NUM_BLUETOOTH_PHONENAME
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4022
,(
uint8_t
*
)
CurBlueToothPhoneName
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4022
,
786
,
561
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0XFF
,
0XFF
,
0XFF
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
if
(
TextPara
[
TEXT_NUM_PHONE_NUMBER
].
Vaild
==
0X01
)
{
PackedTransfer_LabelsList
(
0x4009
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4009
,
786
,
561
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
PackedTransfer_LabelsList
(
0x4022
,(
uint8_t
*
)
PhoneNumber
,
40
);
SetPageText
(
GRAPHICS_PAGE_0
,
0x4022
,
786
,
561
,
200
,
ALIGN_LEFT
,
0
,
TEXT_COLOR
(
0
,
0
,
0
,
0XFF
),
TEXT_LINE_OFFSET
(
1
,
1
));
}
}
}
else
{
;
}
}
/*
*NAME : AMT630H_GUI_Fuel
*FUNCTION : 燃油显示函数
*PARAMETER : uint8_t Fuel- 燃油格数
*RETURN : NULL
*/
static
void
AMT630H_GUI_PhoneConnect_UPtele
()
{
if
(
BlueToothPhoneData
.
BlueToothSignalSate
==
BlueTooth_Connection
)
{
if
((
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Outgoing
)
||
(
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Talking
)
||
(
BlueToothPhoneData
.
BlueToothPhoneSate
==
Phone_Incoming
))
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0519_648_5
);
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0520_760_50
);
}
else
{
;
}
}
else
...
...
@@ -3296,7 +3222,7 @@ static void AMT630H_GUI_Fuel(uint8_t Fuel)
FuelLevel
=
Fuel
;
if
(
Fuel
==
0
)
{
FuelLevel
=
1
;
FuelLevel
=
1
;
/*格数统一*/
}
else
{
...
...
@@ -3366,6 +3292,11 @@ static void AMT630H_GUI_Fuel(uint8_t Fuel)
}
}
else
{
;
}
/*燃油格数走格*/
if
(
FuelLevel
>
0
)
{
...
...
@@ -3402,6 +3333,14 @@ static void AMT630H_GUI_Fuel(uint8_t Fuel)
{
;
}
if
(
g_u16_GUI_PerFuelLevel
==
1
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0562_315_473
);
}
else
{
;
}
}
uint16_t
g_u16PerFuel_SelfCheck
=
1
;
...
...
@@ -3508,7 +3447,7 @@ static void AMT630H_GUI_PhoneConnect_Fuel(uint8_t Fuel)
s_FuelLowTime
++
;
if
(
s_FuelLowTime
<=
15
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0
552_503
_529
);
/*黄色燃油灯*/
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0
423_26
_529
);
/*黄色燃油灯*/
}
if
(
s_FuelLowTime
>
20
)
{
...
...
@@ -3517,10 +3456,11 @@ static void AMT630H_GUI_PhoneConnect_Fuel(uint8_t Fuel)
}
else
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0
551_503
_529
);
/*黑色燃油灯*/
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0
424_26
_529
);
/*黑色燃油灯*/
s_FuelLowTime
=
0
;
}
/*燃油格数走格*/
if
(
FuelLevel
>
0
)
{
...
...
@@ -3555,7 +3495,15 @@ static void AMT630H_GUI_PhoneConnect_Fuel(uint8_t Fuel)
}
else
{
//SetPagePic(GRAPHICS_PAGE_0, Pic_0414_76_536); /*燃油红区*/
;
}
if
(
g_u16_GUI_PerFuelLevel
==
1
)
/*当变化到1格时 显示为红区*/
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0414_76_536
);
}
else
{
;
}
}
...
...
@@ -4140,7 +4088,7 @@ static void AMT630H_GUI_VSpeed(uint16_t VSpeed)
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
VSpeedNumber
);
}
else
if
((
10
<=
VSpeedNumber
))
else
if
((
10
<=
VSpeedNumber
)
&&
(
VSpeedNumber
<
100
)
)
{
DisplayNumPara
.
x
=
515
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
118
;
...
...
@@ -4150,7 +4098,7 @@ static void AMT630H_GUI_VSpeed(uint16_t VSpeed)
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
VSpeedNumber
);
}
else
if
(
0
<=
VSpeedNumber
)
else
if
(
(
0
<=
VSpeedNumber
)
&&
(
VSpeedNumber
<
10
)
)
{
if
(
VSpeedNumber
==
1
)
{
...
...
@@ -4278,7 +4226,7 @@ static void AMT630H_GUI_PhoneConnect_VSpeed(uint16_t VSpeed)
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
VSpeedNumber
);
}
else
if
((
10
<=
VSpeedNumber
))
else
if
((
10
<=
VSpeedNumber
)
&&
(
VSpeedNumber
<
100
)
)
{
DisplayNumPara
.
x
=
514
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
60
;
...
...
@@ -4288,7 +4236,7 @@ static void AMT630H_GUI_PhoneConnect_VSpeed(uint16_t VSpeed)
DisplayNum
(
GRAPHICS_PAGE_0
,
&
DisplayNumPara
,
VSpeedNumber
);
}
else
if
(
0
<=
VSpeedNumber
)
else
if
(
(
0
<=
VSpeedNumber
)
&&
(
VSpeedNumber
<
10
)
)
{
if
(
VSpeedNumber
==
1
)
{
...
...
@@ -4937,11 +4885,22 @@ void AMT630H_GUI_ReadPosittion_Display(void)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0941_0_470
);
/*下半屏*/
PackedTransfer_DisplayPhoneMirrorQRcode
(
0
,
PicObj
);
AMT630H_GUI_PhoneConnect_UPtele
();
}
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0479_242_313
);
// SetPagePic(GRAPHICS_PAGE_0, Pic_0382_0_0);/*背景图*/
AMT630H_GUI_PhoneConnect_Light
();
AMT630H_GUI_PhoneConnect_TIME
(
Get_Dis_Hour_Time
(),
Get_Dis_Minute_Time
());
if
(
VechileSpeed_time
<
4
)
{
// VechileSpeed_time++;
}
else
{
VechileSpeed_time
=
0
;
VechileSpeed
=
Get_DispVechileSpeed
()
/
10
;
}
AMT630H_GUI_PhoneConnect_VSpeed
(
VechileSpeed
);
AMT630H_GUI_PhoneConnect_ESpeed
(
Get_DispEngineSpeed
());
AMT630H_GUI_PhoneConnect_Fuel
(
Get_CurFuelSetp
());
...
...
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