Commit ee9e0b77 authored by 何锐's avatar 何锐

feat:增加静态电流检测限制

parent 8e00d7fe
...@@ -4609,21 +4609,21 @@ void Get_static_Current(void) ...@@ -4609,21 +4609,21 @@ void Get_static_Current(void)
{ {
TFT_LCD_Draw_Bmp(190, 60, ( uint8_t * )gImage_Number_15_white_PiontX0_Y0); TFT_LCD_Draw_Bmp(190, 60, ( uint8_t * )gImage_Number_15_white_PiontX0_Y0);
GUI_General_Digit_Display(loc_ret1, Num_15, 3, 0, CurrentDigitNum09PosX, 60); GUI_General_Digit_Display(loc_ret1, Num_15, 3, 0, CurrentDigitNum09PosX, 60);
// if(loc_ret1 > 10) if(loc_ret1 > 10)
// { {
// MENU_CHECK_STEP = 13; MENU_CHECK_STEP = 1;
// CurrentWrong = 1; CurrentWrong = 1;
// } }
// else else
// { {
// CurrentWrong = 0; CurrentWrong = 0;
// } }
loc_ret1 = 0; loc_ret1 = 0;
} }
else else
{ {
MENU_CHECK_STEP = 1; MENU_CHECK_STEP = 1;
// CurrentWrong = 1; CurrentWrong = 1;
} }
} }
...@@ -4902,7 +4902,7 @@ void Display_Version_Info(uint32_t ON_OFF) ...@@ -4902,7 +4902,7 @@ void Display_Version_Info(uint32_t ON_OFF)
// TFT_LCD_Draw_Bmp(3, 160, ( uint8_t * )gImage_Alarm_12_WordX6_Y165); //24脚输出占空比 // TFT_LCD_Draw_Bmp(3, 160, ( uint8_t * )gImage_Alarm_12_WordX6_Y165); //24脚输出占空比
// TFT_LCD_Draw_Bmp(210, 160, ( uint8_t * )gImage_Alarm_13_ImageX222_Y166); //% // 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 ); //检测台版本号 TFT_LCD_Draw_Bmp(3, 290, ( uint8_t * )gImage_gImage_checkVX6_Y165 ); //检测台版本号
uint8_t mbuff [7] = {2,5,1,1,1,2,0xff}; uint8_t mbuff [7] = {2,5,1,1,1,9,0xff};
General_Number_Disp(mbuff, 160, 290); General_Number_Disp(mbuff, 160, 290);
} }
...@@ -5357,14 +5357,14 @@ void Display_Send_Vspead(uint8_t menu) ...@@ -5357,14 +5357,14 @@ void Display_Send_Vspead(uint8_t menu)
// if(CurrentWrong == 1) if(CurrentWrong == 1)
// { {
// MENU_CHECK_STEP = 13; MENU_CHECK_STEP = 1;
// } }
// else else
// { {
// ; ;
// } }
switch (menu) switch (menu)
{ {
case 1: case 1:
......
...@@ -558,6 +558,7 @@ uint32_t R485_Send_0xD3(void) ...@@ -558,6 +558,7 @@ uint32_t R485_Send_0xD3(void)
else else
{ {
R485_IDD3h.Sig.PasswordUnlockCommand = 0x01; //密码解锁 R485_IDD3h.Sig.PasswordUnlockCommand = 0x01; //密码解锁
R485_IDD3h.Sig.PasswordCanbeEnter = 0x03;
} }
break; break;
......
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