Commit 768639af authored by 王雅楠's avatar 王雅楠

feat:新增故障码ECU_0x402信号掉线判断

parent a4f3b9c3
#include "FaultCode.h" #include "FaultCode.h"
#include "CAN_CH0_CAN_Communication_Matrix.h"
static _st_Init FaultCodeInit; static _st_Init FaultCodeInit;
static uint16_t u16FaultCodeDtcCount = 0; static uint16_t u16FaultCodeDtcCount = 0;
static uint16_t u16FaultCodeDtcCountBack = 0; static uint16_t u16FaultCodeDtcCountBack = 0;
...@@ -395,3 +396,21 @@ uint8_t Get_FaultCode_Valid(void) ...@@ -395,3 +396,21 @@ uint8_t Get_FaultCode_Valid(void)
{ {
return u8FaultCodeValid; return u8FaultCodeValid;
} }
/*
*NAME : Get_FaultCode_Lost()
*FUNCTION : 获取发送故障码的CAN是否掉线
*RETURN : 0-LOST 1-ONLINE
*/
uint8_t Get_FaultCode_Lost(void)
{
uint8_t u8FaultCodeLost = 0;
if(CAN_MSG_Status(&CAN_CH0_CanMsgOp, CAN_CH0_ID_CH0_402_Msg_Count) == CAN_SIG_LOST)
{
u8FaultCodeLost = 0;
}
else
{
u8FaultCodeLost = 1;
}
return u8FaultCodeLost;
}
...@@ -29,7 +29,7 @@ void AMT630H_GUI_SETTING(void); ...@@ -29,7 +29,7 @@ void AMT630H_GUI_SETTING(void);
void AMT630H_GUI_Quit(void); void AMT630H_GUI_Quit(void);
void AMT630H_GUI_Phone_Connect(void); void AMT630H_GUI_Phone_Connect(void);
void AMT630H_GUI_Fault_Information(void); void AMT630H_GUI_Fault_Information(void);
void AMT630H_GUI_FaultCode(uint8_t FaultCodevalid,uint8_t FaultCode_hight,uint8_t FaultCode_mid); void AMT630H_GUI_FaultCode(uint8_t FaultCodeLost,uint8_t FaultCodevalid,uint8_t FaultCode_hight,uint8_t FaultCode_mid);
void AMT630H_GUI_Language_Information(void); void AMT630H_GUI_Language_Information(void);
void AMT630H_GUI_Unit_Information(void); void AMT630H_GUI_Unit_Information(void);
void AMT630H_GUI_Display_Mode_Information(void); void AMT630H_GUI_Display_Mode_Information(void);
...@@ -88,7 +88,7 @@ void AMT630H_GUI_Fault_Information(void) ...@@ -88,7 +88,7 @@ void AMT630H_GUI_Fault_Information(void)
SetPagePic(GRAPHICS_PAGE_0, Pic_0168_350_290); SetPagePic(GRAPHICS_PAGE_0, Pic_0168_350_290);
SetPagePic(GRAPHICS_PAGE_0, Pic_0169_353_227);/*历史故障*/ SetPagePic(GRAPHICS_PAGE_0, Pic_0169_353_227);/*历史故障*/
SetPagePic(GRAPHICS_PAGE_0, Pic_0170_354_162);/*当前故障*/ SetPagePic(GRAPHICS_PAGE_0, Pic_0170_354_162);/*当前故障*/
AMT630H_GUI_FaultCode(Get_FaultCode_Valid(),Get_Current_Hight_FaultCode(),Get_Current_Mid_FaultCode()); AMT630H_GUI_FaultCode(Get_FaultCode_Lost(),Get_FaultCode_Valid(),Get_Current_Hight_FaultCode(),Get_Current_Mid_FaultCode());
} }
else if(g_u8Language == EN) else if(g_u8Language == EN)
{ {
...@@ -105,7 +105,7 @@ void AMT630H_GUI_Fault_Information(void) ...@@ -105,7 +105,7 @@ void AMT630H_GUI_Fault_Information(void)
SetPagePic(GRAPHICS_PAGE_0, Pic_0096_338_228);/*Fault history*/ SetPagePic(GRAPHICS_PAGE_0, Pic_0096_338_228);/*Fault history*/
SetPagePic(GRAPHICS_PAGE_0, Pic_0097_334_163);/*current fault*/ SetPagePic(GRAPHICS_PAGE_0, Pic_0097_334_163);/*current fault*/
AMT630H_GUI_FaultCode(Get_FaultCode_Valid(),Get_Current_Hight_FaultCode(),Get_Current_Mid_FaultCode()); AMT630H_GUI_FaultCode(Get_FaultCode_Lost(),Get_FaultCode_Valid(),Get_Current_Hight_FaultCode(),Get_Current_Mid_FaultCode());
} }
} }
else if(g_u8Display_Mode == ModeNIGHT) else if(g_u8Display_Mode == ModeNIGHT)
...@@ -125,7 +125,7 @@ void AMT630H_GUI_Fault_Information(void) ...@@ -125,7 +125,7 @@ void AMT630H_GUI_Fault_Information(void)
SetPagePic(GRAPHICS_PAGE_0, Pic_0356_353_227);/*历史故障*/ SetPagePic(GRAPHICS_PAGE_0, Pic_0356_353_227);/*历史故障*/
SetPagePic(GRAPHICS_PAGE_0, Pic_0357_354_162);/*当前故障*/ SetPagePic(GRAPHICS_PAGE_0, Pic_0357_354_162);/*当前故障*/
AMT630H_GUI_FaultCode(Get_FaultCode_Valid(),Get_Current_Hight_FaultCode(),Get_Current_Mid_FaultCode()); AMT630H_GUI_FaultCode(Get_FaultCode_Lost(),Get_FaultCode_Valid(),Get_Current_Hight_FaultCode(),Get_Current_Mid_FaultCode());
} }
else if(g_u8Language == EN) else if(g_u8Language == EN)
{ {
...@@ -142,7 +142,7 @@ void AMT630H_GUI_Fault_Information(void) ...@@ -142,7 +142,7 @@ void AMT630H_GUI_Fault_Information(void)
SetPagePic(GRAPHICS_PAGE_0, Pic_0284_338_228); SetPagePic(GRAPHICS_PAGE_0, Pic_0284_338_228);
SetPagePic(GRAPHICS_PAGE_0, Pic_0285_334_163);/*current fault*/ SetPagePic(GRAPHICS_PAGE_0, Pic_0285_334_163);/*current fault*/
AMT630H_GUI_FaultCode(Get_FaultCode_Valid(),Get_Current_Hight_FaultCode(),Get_Current_Mid_FaultCode()); AMT630H_GUI_FaultCode(Get_FaultCode_Lost(),Get_FaultCode_Valid(),Get_Current_Hight_FaultCode(),Get_Current_Mid_FaultCode());
} }
} }
} }
...@@ -175,95 +175,164 @@ static uint16_t NumbeList_FaultCode_night[]={ ...@@ -175,95 +175,164 @@ static uint16_t NumbeList_FaultCode_night[]={
uint8_t FaultCodevalid_monitor = 2; uint8_t FaultCodevalid_monitor = 2;
/*故障码显示函数*/ /*故障码显示函数*/
static void AMT630H_GUI_FaultCode(uint8_t FaultCodevalid,uint8_t FaultCode_hight,uint8_t FaultCode_mid) static void AMT630H_GUI_FaultCode(uint8_t FaultCodeLost,uint8_t FaultCodevalid,uint8_t FaultCode_hight,uint8_t FaultCode_mid)
{ {
/*数字只有两组 历史故障和故障信息纵坐标不同*/ /*数字只有两组 历史故障和故障信息纵坐标不同*/
FaultCodevalid_monitor = FaultCodevalid; FaultCodevalid_monitor = FaultCodevalid;
if(FaultCodevalid == 1) if(FaultCodeLost == 1)
{ {
DISPLAY_NUM_ST DisplayNumPara; if(FaultCodevalid > 0)
uint16_t frontnumber; {
uint16_t midnumber; DISPLAY_NUM_ST DisplayNumPara;
frontnumber = FaultCode_hight; uint16_t frontnumber;
midnumber = FaultCode_mid; uint16_t midnumber;
frontnumber = FaultCode_hight;
midnumber = FaultCode_mid;
if(g_u8Display_Mode == ModeDAY) 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, frontnumber);
}
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);
}
}
else if(FaultCodevalid == 0)
{ {
SetPagePicFree(GRAPHICS_PAGE_0, Pic_0876_639_293, 610, 164);//当前故障码的P /*显示P0000*/
SetPagePicFree(GRAPHICS_PAGE_0, Pic_0876_639_293, 610, 229);//历史故障码的P if(g_u8Display_Mode == ModeDAY)
/*当前故障码前两位显示*/ {
DisplayNumPara.NumList = NumbeList_FaultCode_day; SetPagePicFree(GRAPHICS_PAGE_0, Pic_0876_639_293, 610, 164);//当前故障码的P
DisplayNumPara.x = 639; SetPagePicFree(GRAPHICS_PAGE_0, Pic_0876_639_293, 610, 229);//历史故障码的P
DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 14; DISPLAY_NUM_ST DisplayNumPara;
DisplayNumPara.y = 164; /*当前故障码前两位显示*/
DisplayNumPara.DecimalNum = 0; DisplayNumPara.NumList = NumbeList_FaultCode_day;
DisplayNumPara.MinDigits = 2; DisplayNumPara.x = 639;
DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, frontnumber); DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 14;
/*当前故障码后两位显示*/ DisplayNumPara.y = 164;
DisplayNumPara.NumList = NumbeList_FaultCode_day; DisplayNumPara.DecimalNum = 0;
DisplayNumPara.x = 667; DisplayNumPara.MinDigits = 2;
DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 14; DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, 0);
DisplayNumPara.y = 164; /*当前故障码后两位显示*/
DisplayNumPara.DecimalNum = 0; DisplayNumPara.NumList = NumbeList_FaultCode_day;
DisplayNumPara.MinDigits = 2; DisplayNumPara.x = 667;
DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, midnumber); DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 14;
/*历史故障码前两位显示*/ DisplayNumPara.y = 164;
DisplayNumPara.NumList = NumbeList_FaultCode_day; DisplayNumPara.DecimalNum = 0;
DisplayNumPara.x = 639; DisplayNumPara.MinDigits = 2;
DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 14; DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, 0);
DisplayNumPara.y = 229; /*历史故障码前两位显示*/
DisplayNumPara.DecimalNum = 0; DisplayNumPara.NumList = NumbeList_FaultCode_day;
DisplayNumPara.MinDigits = 2; DisplayNumPara.x = 639;
DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, frontnumber); DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 14;
/*历史故障码后两位显示*/ DisplayNumPara.y = 229;
DisplayNumPara.NumList = NumbeList_FaultCode_day; DisplayNumPara.DecimalNum = 0;
DisplayNumPara.x = 667; DisplayNumPara.MinDigits = 2;
DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT | 14; DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, 0);
DisplayNumPara.y = 229; /*历史故障码后两位显示*/
DisplayNumPara.DecimalNum = 0; DisplayNumPara.NumList = NumbeList_FaultCode_day;
DisplayNumPara.MinDigits = 2; DisplayNumPara.x = 667;
DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara, frontnumber); 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 if(g_u8Display_Mode == ModeNIGHT) else
{ {
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);
} }
} }
else if(FaultCodevalid == 0) else if(FaultCodeLost == 0)
{ {
if(g_u8Display_Mode == ModeDAY) if(g_u8Display_Mode == ModeDAY)
{ {
...@@ -2950,59 +3019,40 @@ static void AMT630H_GUI_TIME(uint16_t Hour, uint16_t Minute) ...@@ -2950,59 +3019,40 @@ static void AMT630H_GUI_TIME(uint16_t Hour, uint16_t Minute)
} }
/* /*
*NAME : AMT630H_GUI_Telephone *NAME : AMT630H_GUI_Telephone
*PARAMETER : Tele_State-手机通话状态 _BlueToothPhoneData.BlueToothPhoneSate == Phone_Outgoing/Phone_Incoming/Phone_Talking *SCOPE : 主界面
* Telephone-手机号 *PARAMETER : Tele_State-手机通话状态
* Instrument_State 仪表目前状态(主界面/投屏状态)g_u8Cursor_Posittion * Instrument_State-仪表目前状态(主界面/投屏状态)
* Connectperson_Name 联系人名称 *RETURN : NULL
*RETURN : NULL
*/ */
//uint16_t Telephone[] = {1,2,3,4,5,6,7,8,9,1,1}; static void AMT630H_GUI_Telephone()
// static void AMT630H_GUI_Telephone(uint8_t Instrument_State,uint8_t Tele_State,uint16_t Telephone,uint16_t Connectperson_Name) {
// { if(BlueToothPhoneData.BlueToothPhoneSate == Phone_Outgoing)
// // /*Instrument_State 仪表目前状态(主界面/投屏状态)g_u8Cursor_Posittion*/ {
// // if(Instrument_State == MENU_ITEM_MAIN_ITEM) //SetPagePic(GRAPHICS_PAGE_0, );
// // { }
else if(BlueToothPhoneData.BlueToothPhoneSate == Phone_Talking)
// // } {
// // else //SetPagePic(GRAPHICS_PAGE_0, );
// // { }
else if(BlueToothPhoneData.BlueToothPhoneSate == Phone_Incoming)
// // } {
// if(Tele_State == Phone_Outgoing) SetPagePic(GRAPHICS_PAGE_0, Pic_0548_62_401);
// { }
// //SetPagePic(GRAPHICS_PAGE_0, ); else
// } {
// else if(Tele_State == Phone_Talking) ;
// { }
// //SetPagePic(GRAPHICS_PAGE_0, );
// } uint8_t *BLUETOOTH_PHONENAME = (uint8_t *)TEXT_NUM_BLUETOOTH_PHONENAME;
// else if(Tele_State == Phone_Incoming) uint8_t *PHONE_NUMBER = (uint8_t *)TEXT_NUM_PHONE_NUMBER;
// { /*联系人*/
// SetPagePic(GRAPHICS_PAGE_0, Pic_0548_62_401); PackedTransfer_LabelsList( 0x4007, BLUETOOTH_PHONENAME , 22);
// } SetPageText(GRAPHICS_PAGE_0, 0x4007, 200, 200, 200, ALIGN_LEFT, 0, TEXT_COLOR(0XFF,0XFF,0XFF,0XFF),TEXT_LINE_OFFSET(1,1));
// else /*手机号码*/
// { PackedTransfer_LabelsList(0x4009, PHONE_NUMBER, 22);
// ; SetPageText(GRAPHICS_PAGE_0, 0x4009, 200, 200, 200, ALIGN_LEFT, 0, TEXT_COLOR(0XFF,0XFF,0XFF,0XFF),TEXT_LINE_OFFSET(1,1));
// } }
// PackedTransfer_LabelsList(10000, TEXT_NUM_BLUETOOTH_PHONENAME, 22);
// SetPageText(GRAPHICS_PAGE_0, 10000, int16_t 200, int16_t 200, int16_t 200, ALIGN_LEFT, 0, TEXT_COLOR(0XFF,0XFF,0XFF,0XFF));
// // DISPLAY_NUM_ST DisplayNumPara;
// // SetPagePic(GRAPHICS_PAGE_0, Pic_0548_62_401); /*电话图标*/
// // /*预留来电人显示*/
// // for(int i=0;i<11;i++)
// // {
// // DisplayNumPara.NumList = NumbeList_Telephone;
// // DisplayNumPara.x = XList_Telephone[i];
// // DisplayNumPara.NumInterval = GROUP_PIC_DIR_LEFT |0;
// // DisplayNumPara.y = GROUP_PIC_USE_PSD_Y_POS;
// // DisplayNumPara.DecimalNum = 0;
// // DisplayNumPara.MinDigits = 1;
// // DisplayNum(GRAPHICS_PAGE_0, &DisplayNumPara,Telephone[i]);
// // }
// }
/*燃油显示函数*/ /*燃油显示函数*/
uint8_t g_u16_GUI_PerFuelLevel = 1; uint8_t g_u16_GUI_PerFuelLevel = 1;
...@@ -3918,10 +3968,10 @@ void AMT630H_GUI_BACKGRAND() ...@@ -3918,10 +3968,10 @@ void AMT630H_GUI_BACKGRAND()
} }
} }
/*主界面函数*/
AMT630H_GUI_Light(); AMT630H_GUI_Light();
AMT630H_GUI_TIME(Get_Dis_Hour_Time(), Get_Dis_Minute_Time()); AMT630H_GUI_TIME(Get_Dis_Hour_Time(), Get_Dis_Minute_Time());
// AMT630H_GUI_Telephone(Telephone); AMT630H_GUI_Telephone();
/*燃油*/ /*燃油*/
if (Get_Fuel_Sensor_State() == FuelSensorNormal) if (Get_Fuel_Sensor_State() == FuelSensorNormal)
{ {
...@@ -4026,7 +4076,7 @@ void AMT630H_GUI_BACKGRAND_SelfCheck() ...@@ -4026,7 +4076,7 @@ void AMT630H_GUI_BACKGRAND_SelfCheck()
SetPagePic(GRAPHICS_PAGE_0, Pic_0740_682_21);/*蓝牙*/ SetPagePic(GRAPHICS_PAGE_0, Pic_0740_682_21);/*蓝牙*/
SetPagePic(GRAPHICS_PAGE_0, Pic_0748_194_26);/*E*/ SetPagePic(GRAPHICS_PAGE_0, Pic_0748_194_26);/*E*/
//AMT630H_GUI_Telephone(Telephone); AMT630H_GUI_Telephone();
AMT630H_GUI_TIME(Get_Dis_Hour_Time(), Get_Dis_Minute_Time()); AMT630H_GUI_TIME(Get_Dis_Hour_Time(), Get_Dis_Minute_Time());
if(KL30_VOLTAGE_time < 10) if(KL30_VOLTAGE_time < 10)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment