Commit 0ed24376 authored by 王佳伟's avatar 王佳伟

feat:车速转速水温表最大,E灯HEV灯TCS关闭指示灯亮

parent c3640259
...@@ -34,7 +34,7 @@ void APP_Test_Init(void){ ...@@ -34,7 +34,7 @@ void APP_Test_Init(void){
EOLStep = 0; EOLStep = 0;
EOLError = 0; EOLError = 0;
} }
unsigned int count_flag_a =0; unsigned int count_flag_a =1;
unsigned int speed_value = 0; unsigned int speed_value = 0;
void APP_Button_Proc(void){ void APP_Button_Proc(void){
/*if(Key.PushTime_1 > T_3s){ /*if(Key.PushTime_1 > T_3s){
...@@ -85,30 +85,20 @@ unsigned int CAN_lost_flag = 0; ...@@ -85,30 +85,20 @@ unsigned int CAN_lost_flag = 0;
unsigned int water_value = 0; unsigned int water_value = 0;
void APP_ICM_Proc(void) /*zh321*/ /*FS04*/ void APP_ICM_Proc(void) /*zh321*/ /*FS04*/
{ {
// if(CAN_init_flag==1)
// {
// Api_CAN_Init();
// CAN_init_flag=0;
// } //if(count_flag_a==1)
// if(CAN_lost_flag ==1)
// {
// Disable_CAN_Tx();
// CAN_lost_flag = 0;
// }
if(count_flag_a==1)
{ {
{ {
//CurValueStr[ENUM_VSpeed ].val = 0;// CurValueStr[ENUM_VSpeed ].val = 199;//
CurValueStr[ENUM_RSpeed ].val = 0;//ת CurValueStr[ENUM_RSpeed ].val = 12000;//ת
CurValueStr[ENUM_WaterTemp ].val = 0;//ˮ CurValueStr[ENUM_WaterTemp ].val = 122;//ˮ
CurValueStr[ISG_Ready ].val = 0; CurValueStr[ISG_Ready ].val = 1;
CurValueStr[ISG_Power ].val = 0; CurValueStr[ISG_Power ].val = 1;
CurValueStr[ISG_Power_Enable ].val = 0; CurValueStr[ISG_Power_Enable ].val = 1;
CurValueStr[TCS_Warning_Lamp ].val = 0; CurValueStr[TCS_Warning_Lamp ].val = 1;
CurValueStr[TCS_Work_Mode ].val = 0; CurValueStr[TCS_Work_Mode ].val = 1;
#if 0
switch(Key.CAN_Step) switch(Key.CAN_Step)
{ {
case 1: case 1:
...@@ -352,6 +342,7 @@ void APP_ICM_Proc(void) /*zh321*/ /*FS04*/ ...@@ -352,6 +342,7 @@ void APP_ICM_Proc(void) /*zh321*/ /*FS04*/
} }
}break; }break;
} }
#endif
} }
} }
} }
......
...@@ -40,7 +40,7 @@ typedef struct{ ...@@ -40,7 +40,7 @@ typedef struct{
enum enum
{ {
ENUM_VSpeed = 0,//���� ENUM_VSpeed = 0,//����
ENUM_RSpeed ,//锟??锟?? ENUM_RSpeed ,//�??�??
ENUM_WaterTemp ,// 温度 ENUM_WaterTemp ,// 温度
TCS_Warning_Lamp ,//前轮胎压 TCS_Warning_Lamp ,//前轮胎压
TCS_Work_Mode ,//后轮胎压 TCS_Work_Mode ,//后轮胎压
......
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