Commit f8a5fa84 authored by 梁百峰's avatar 梁百峰

feat:修改C047 G254检测版本号

parent e1aba751
...@@ -3709,7 +3709,7 @@ void Display_Version_Info(uint32_t ON_OFF) ...@@ -3709,7 +3709,7 @@ void Display_Version_Info(uint32_t ON_OFF)
if(R485_ID4Dh.Sig.MaterialCode08 == 0x32) if(R485_ID4Dh.Sig.MaterialCode08 == 0x32)
{ {
nowbanbenhao = 1; nowbanbenhao = 1;
nowbanbenhaohoumian = 21; nowbanbenhaohoumian = 22;
} }
else if(R485_ID4Dh.Sig.MaterialCode08 == 0x33) else if(R485_ID4Dh.Sig.MaterialCode08 == 0x33)
{ {
...@@ -3729,7 +3729,7 @@ void Display_Version_Info(uint32_t ON_OFF) ...@@ -3729,7 +3729,7 @@ void Display_Version_Info(uint32_t ON_OFF)
if(R485_ID4Dh.Sig.MaterialCode13 == 0x32) if(R485_ID4Dh.Sig.MaterialCode13 == 0x32)
{ {
nowbanbenhao = 2; nowbanbenhao = 2;
nowbanbenhaohoumian = 32; nowbanbenhaohoumian = 33;
} }
else if(R485_ID4Dh.Sig.MaterialCode13 == 0x35) else if(R485_ID4Dh.Sig.MaterialCode13 == 0x35)
{ {
...@@ -3826,7 +3826,7 @@ void Display_Version_Info(uint32_t ON_OFF) ...@@ -3826,7 +3826,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,2,1,6,0xff}; uint8_t mbuff [7] = {2,5,1,2,1,9,0xff};
General_Number_Disp(mbuff, 160, 290); General_Number_Disp(mbuff, 160, 290);
} }
......
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