gui_Alarm.c 47.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016
/*
* gui_Alarm.c
*
*  Created on: Aug 11, 2014
*      Author: QTC
*/


#define  GLOBALS_GUI_Alarm
#include "defines.h"
#include "g_includes.h"

/*-------------------------------------------------------------------------
* Function Name  : Gui_AlarmEnter                                  报警界面
* Description    :                                      
* Input          :                              
* Output         : None                            
* Return         : None
* onther         :
--------------------------------------------------------------------------*/
void Gui_AlarmEnter(void)
{
    //如果进入报警界面之前,是菜单界面
    if(bOldMenuIDX > _MN_DSP_ALARM)
    {
        Time_Updeta;
        Api_ClearIcon(6, 236, 5, 38);//清标题
        Api_ClearIcon(3, 238, 43, 255);//清中间
    }
    else
    {
      Api_ClearIcon(3, 238, 43, 255);//清中间(large)
    }
    
    //Enter 报警时使能清门开
    if((wDS_LcdQueue[bCurDsPos]) == (PicDoorOpen))
    {
      g_CanSwith.ClrScreenDoor = 1;
    }
    else
    {
      g_CanSwith.ClrScreenDoor = 0;
    }

}
/*-------------------------------------------------------------------------
* Function Name  : Gui_AlarmDo                    
* Description    :                                      
* Input          :                              
* Output         : None                            
* Return         : None
* onther         :
--------------------------------------------------------------------------*/
void Gui_AlarmDo(void)
{
    if(SetMeuMsg.Language == Spanish)
    {
        Gui_FaultSpanish_Disp();
    }
    else
    {
        Gui_Fault_Disp();
    }
    Gui_ODO_Disp();
    Gui_Tirp_Disp();
    Gui_Time_Disp();
    Gui_Gears_disp();
}
/*-------------------------------------------------------------------------
* Function Name  : Gui_Fault_Disp
* Description    :
* Input          : None
* Output         : None
* Return         : None
* onther         :
--------------------------------------------------------------------------*/
void Gui_Fault_Disp(void)
{
    if((bLcdDsCnt > 0)&&(bCurDsPos != 255))
    {
        if((bDSUpdateFlag == 1))
        {
            if(wDS_LcdQueue[bCurDsPos] != PicCruise)
            {
               g_ClearCruise = 1;
            }
            //                
            if(((wDS_LcdQueue[bCurDsPos]) == (PicDoorOpen)) && ((bDSTable[PicDoorOpen]&DS0_MASK) == 1))
            {
                if(g_CanSwith.ClrScreenDoor)
                {
                    g_CanSwith.ClrScreenDoor = 0;
                    
                    //故障信息界面-清范围
                    if(bCurMenuIDX == _MN_SHOW_ERRINFO)
                    {
                        Api_ClearIcon(3, 238, 60, 235);
                     
                        Api_DrawImg2Icon(109,44,jiantoushang);//箭头上
                        Api_DrawImg2Icon(109,236,jiantouxia);//箭头下
                    }
                    else
                    {
                        Api_ClearIcon(3, 238, 43, 255);
                    }
                    //车门未关
                    Api_DrawImgIcon(94, 78+5, chetishang);
                    Api_DrawImgIcon(88, 150+5, chetixia);
                }
                
                //左前门
                if(g_CanSwith.DrDoorStae)
                {
                    Api_DrawImgIcon(68, 94+5, zuoqianmen);
                }
                else
                {
                    Api_DrawImgIcon(68, 94+5, clr_qianmen);
                }
                //右前门
                if(g_CanSwith.PssDoorStae)
                {
                    Api_DrawImgIcon(146, 94+5, youqianchemen);
                }
                else
                {
                    Api_DrawImgIcon(146, 94+5, clr_qianmen);
                }
                //左后门
                if(g_CanSwith.RLDoorStae)
                {
                    Api_DrawImgIcon(69, 126+5, zuohoumen);
                }
                else
                {
                    Api_DrawImgIcon(69, 126+5, clr_houmen);
                }
                //右后门
                if(g_CanSwith.RRDoorStae)
                {
                    Api_DrawImgIcon(146, 126+5, youhoumen);
                }
                else
                {
                    Api_DrawImgIcon(146, 126+5, clr_houmen);
                }
                if(SetMeuMsg.Language == Chinese)
                    Api_DrawIcon(27, 50+10, door_open_text); //江淮轻卡,开门大吉
                
            }   
            else
            {
                //不是门开--置位
                if(g_CanSwith.ClrScreenDoor==0)
                {
                  g_CanSwith.ClrScreenDoor = 1;
                  if(bCurMenuIDX == _MN_SHOW_ERRINFO)
                  {

                    Api_ClearIcon(3, 238, 60, 235);

                  }
                  else
                  {
                    Api_ClearIcon(3, 238, 43, 255);
                  } 

                }
                
                if(bCurMenuIDX == _MN_SHOW_ERRINFO)
                {

                    Api_DrawImg2Icon(109,44,jiantoushang);
                    Api_DrawImg2Icon(109,236,jiantouxia);
                }
                else
                {
                   Api_DrawImgIcon(109,236,dangweijiantouClr); 
                   Api_DrawImgIcon(109,44,dangweijiantouClr);
                }
                switch(wDS_LcdQueue[bCurDsPos])
                {
                case PicOverSpeed:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--您已超速,请减速
                        Api_ConverData(2,234,32,alab_ninyichaosu);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingjiansu);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //您已超速,请减速  You've been speeding   Please slow down
                        Api_DrawLetterLongIcon("You+++++++++++been++speeding",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Please++slow++down",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                        Api_DrawImg2Icon(69, 89, xiaoxie2hao_pieve);
                    }
                    else
                    {
                        //您已超速,请减速
                        Api_ConverData(2,234,24,ninyichaosu);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,24,qingjiansu);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]);
                    }
                    Api_ConverData(2,100,72,qingjiansutubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]); 
                    break;
                case PicFuelErr:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        Api_ConverData(2,234,32,alab_ranyouxitongguzhang);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingjainchaweixiu);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    else  if(SetMeuMsg.Language == English)
                    {
                        //燃油系统故障,请检查维修  Fuel system failure   Please check and repair                       
                        Api_DrawLetterLongIcon("Fuel++sy]stem++failure",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Please++check++and++repair",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //燃油系统故障,请检查维修
                        Api_ConverData(2,234,24,ranyouxitongguzhang);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,24,qingjainchaweixiu);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]);
                    }
                    Api_ConverData(1,100,72,ranyouguzhangtubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]); 
                    break;
                case PicFuelLow:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--剩余燃油不足,请补充燃油
                        Api_ConverData(2,234,32,alab_shengyuranyoubuzu);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingbuchongranyou);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]);
                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //剩余燃油不足,请补充燃油   Residual fuel shortage  Please refuel                       
                        Api_DrawLetterLongIcon("Residual++fuel++shor]tage",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Please++refuel",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //剩余燃油不足,请补充燃油
                        Api_ConverData(2,234,24,shengyuranyoubuzu);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,24,qingbuchongranyou);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]);
                        
                    }
                    Api_ConverData(1,100,72,ranyoubuzutubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]); 
                    break;
                case PicGasLow:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--制动气压异常,请注意
                        Api_ConverData(2,234,32,alab_zhidongqiyayichang);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 

                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //制动气压异常,请注意  Brake pressure anomaly  Attention
                        Api_DrawLetterLongIcon("Br]ake++pressure++anomaly",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }

                    else
                    {
                        //制动气压异常,请注意
                        Api_ConverData(1,234,24,zhidongqiyayichang);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(2,100,72,zhidongqiyayichangtubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]); 
                    break;
                case PicAirFilter:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--空气滤清器堵塞,请注意
                        Api_ConverData(2,234,32,alab_kongqilvqizusai);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 

                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //空气滤清器堵塞,请注意    Air filter clogging  Attention
                        Api_DrawLetterLongIcon("A]ir++f]ilter++clogging",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //空气滤清器堵塞,请注意
                        Api_ConverData(2,234,24,kongqilvqizusai);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(2,100,72,kongqilvqizusaitubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]); 
                    break;
                case PicWIF:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--油滤含水过多,请注意
                        Api_ConverData(2,234,32,alab_youlvhanshuiguoduo);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi2);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 

                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //油滤含水过多,请注意     Oil Filter with much water Attention
                        Api_DrawLetterLongIcon("Oil++Filter++with++much++water",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //油滤含水过多,请注意
                        Api_ConverData(2,234,24,youlvhanshuiguoduo);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(1,100,72,youlvhanshuiguoduotubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;
                case PicTempHigh:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--发动机水温过高,请注意
                        Api_ConverData(2,234,32,alab_fadongjishuiwenguogao);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi2);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 

                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //发动机水温过高,请注意   High Engine Temperature  Attention
                        Api_DrawLetterLongIcon("High++Engine++Temperature",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //发动机水温过高,请注意
                        Api_ConverData(2,234,24,fadongjishuiwenguogao);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(1,100,72,fadongjishuiwenguogaotubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]); 
                    break;

                case PicCoolWaterL:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--发动机冷却液位低,请注意
                        Api_ConverData(2,234,32,alab_lengqueyeweidi);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 

                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //发动机冷却液位低,请注意   Low Engine Coolant Level  Attention
                        Api_DrawLetterLongIcon("Low++Engine++Coolant++Level",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //发动机冷却液位低,请注意
                        Api_ConverData(2,234,24,lengqueyeweidi);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(1,100,72,lengqueyeweiditubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]); 
                    break;
                case PicAirBagErr:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--安全气囊故障,请注意
                        Api_ConverData(2,234,32,alab_anquanqinangguzhang);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 

                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //安全气囊故障,请注意   Attention Airbag failure
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("A]irbag++failure",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //安全气囊故障,请注意
                        Api_ConverData(2,234,24,anquanqinangguzhang);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(2,100,72,anquanqinangguzhangtubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;
                case PicAdblueLow:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--剩余尿素不足,请补充
                        Api_ConverData(2,234,32,alab_shengyuniaosubuzu);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingbuchongniaosu);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 

                    }

                    else if(SetMeuMsg.Language == English)
                    {
                        //剩余尿素不足,请补充  Residual urea deficiency   Please add urea
                        Api_DrawLetterLongIcon("Residual++urea++def]iciency",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Please++add++urea",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //剩余尿素不足,请补充
                        Api_ConverData(2,234,24,shengyuniaosubuzu);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,24,qingbuchongniaosu);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(1,100,72,tianlanyebuzutubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;
                case PicOilLow:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--12_发动机机油压力低,请注意
                        Api_ConverData(2,234,32,alab_jiyouyalidi);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 

                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //12_发动机机油压力低,请注意   Low engine oil pressure  Attention
                        Api_DrawLetterLongIcon("Low++engine++oil++pressure",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //_发动机机油压力低,请注意
                        Api_ConverData(2,234,24,jiyouyalidi);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }

                    Api_ConverData(1,100,72,jiyouyaliditubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;
                case PicDrSafeBelt:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--13_请系上安全带
                        Api_ConverData(2,234,32,alab_jishanganquandai);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,32,White_14_null);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]);

                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //13_请系上安全带    Please fasten your seatbelt
                        Api_DrawLetterLongIcon("Please++fasten++your++seatbelt",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("++",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //_请系上安全带
                        Api_ConverData(1,234,24,jishanganquandai);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]);
                        
                        //系着安全与幸福
                        Api_ConverData(1,234,24,jizheanquanyuxingfu);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]);                        
                         
                        //Api_ConverData(1,234,24,White_14_null);
                        //Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(2,100,72,jishanganquandaitubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]); 
                    break;
                case PicDrCabNLock:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--14_驾驶室翻转机构未锁止,请注意
                        Api_ConverData(2,234,32,alab_jiashishiweisuozhi);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,32,White_14_null);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //14_驾驶室翻转机构未锁止,请注意  Cab turnover mechanism's unlocked                   
                        Api_DrawLetterLongIcon("Cab++tur]nover",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("mechanism++++++unlocked",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                        Api_DrawImgIcon(124, 128, xiaoxie2hao_pies);
                    }
                    else
                    {
                        //_驾驶室翻转机构未锁止,请注意
                        Api_ConverData(2,234,24,jiashishiweisuozhi);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(2,100,72,jiashishiweisuozhitubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;
                case PicPowerTakeoff:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--15_取力器已打开,请注意
                        Api_ConverData(2,234,32,alab_quliqiyidakai);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //15_取力器已打开,请注意  PTO's been activated   Attention                        
                        Api_DrawLetterLongIcon("PTO++++++been++activated",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                        Api_DrawImgIcon(79, 89, xiaoxie2hao_pies);
                    }
                    else
                    {
                        //_取力器已打开,请注意
                        Api_ConverData(1,234,24,quliqiyidakai);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(1,100,72,quliqiyidakaitubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]); 
                    break;
                case PicExHaustBrake:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--16_排辅开关已打开,请注意
                        Api_ConverData(2,234,32,alab_paifukaiguan);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi2xiaohao);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //16_排辅开关已打开,请注意   Auxiliary switch is on   Attention
                        Api_DrawLetterLongIcon("Auxil]iar]y++switch++is++on",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //_排辅开关已打开,请注意
                        Api_ConverData(1,234,24,paifukaiguan);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(1,100,72,paifukaiguantubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;
                case PicEPC:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--17_发动机系统故障,请检查维修
                        Api_ConverData(2,234,32,alab_fadongjiguzhang);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingjainchaweixiu);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 

                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //17_发动机系统故障,请检查维修    Engine system failure   Please check and repair
                        Api_DrawLetterLongIcon("Engine++sy]stem++failure",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Please++check++and++repair",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //_发动机系统故障,请检查维修
                        Api_ConverData(2,234,24,fadongjiguzhang);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,24,qingjainchaweixiu);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(1,100,72,fadongjiguzhangtubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;

                case PicOBD:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--18_发动机排放系统故障,请检查维修
                        Api_ConverData(2,234,32,alab_fadongjipaifangguzhang);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingjainchaweixiu);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //18_发动机排放系统故障,请检查维修    Engine emission system failure   Please check and repair                      
                        Api_DrawLetterLongIcon("Engine++emission++sy]stem++failure",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Please++check++and++repair",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //_发动机排放系统故障,请检查维修
                        Api_ConverData(2,234,24,fadongjipaifangguzhang);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,24,qingjainchaweixiu);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(1,100,72,fadongjipaifangguzhangtubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;

                case PicBrakePiece:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--19_制动摩擦蹄片已磨损,请检查维修
                        Api_ConverData(2,234,32,alab_zhidongmocatipianyimosun);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingjainchaweixiuxiaohao);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 

                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //19_制动摩擦蹄片已磨损,请检查维修     Brake pads completely worn    Please check and repair
                        Api_DrawLetterLongIcon("Brake++pads++completely++wor]n",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Please++check++and++repair",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //_制动摩擦蹄片已磨损,请检查维修
                        Api_ConverData(2,234,24,zhidongmocatipianyimosun);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,24,qingjainchaweixiu);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(2,100,72,zhidongmocatipianyimosuntubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;
                case PicABS:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--20_ABS系统故障,请注意
                        Api_ConverData(2,234,32,alab_ABSxitongguzhang);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //20_ABS系统故障,请注意     ABS system failure    Attention
                        Api_DrawLetterLongIcon("ABS++sy]stem++failure",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //_ABS系统故障,请注意
                        Api_ConverData(2,234,24,ABSxitongguzhang);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(2,100,72,ABSxitongguzhangtubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;
                case PicLDWSFault: //--预留
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--21_车道偏离系统故障,请注意
                        Api_ConverData(2,234,32,alab_chedaopianlixitong);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }

                    else if(SetMeuMsg.Language == English)
                    {
                        //21_车道偏离系统故障,请注意   LDW system fault    Attention
                        Api_DrawLetterLongIcon("LDW++sy]stem++fault",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //_车道偏离系统故障,请注意
                        Api_ConverDataPiece(0x06,chedaopianlixitong ,Alarm_word1_GZ,White_14_null,White_14_null,2);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(1,100,72,chedaopianlixitongtubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;
                case PicLDWSLeft:  //--预留
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--22_车辆偏离左车道
                        Api_ConverData(2,234,32,alab_cheliangpianlizuochedao);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //22_车辆偏离左车道   Off the Left Lane    Attention
                        Api_DrawLetterLongIcon("Off++the++Lef]t++Lane",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //_车辆偏离左车道
                        Api_ConverData(2,234,24,cheliangpianlizuochedao);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(2,100,72,cheliangpianlizuochedaotubiao);                    
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;
                case PicLDWSRight: //--预留
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--23_车辆偏离右车道
                        Api_ConverData(2,234,32,alab_cheliangpianliyouce);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 

                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //23_车辆偏离右车道   Off the Right Lane    Attention
                         Api_DrawLetterLongIcon("Off++the++Right++Lane",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //_车辆偏离右车道
                        Api_ConverData(2,234,24,cheliangpianliyouce);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(2,100,72,cheliangpianliyoucetubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;                                        
                case PicLDWSClose: //--预留
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--24_车道偏离系统已关闭
                        Api_ConverData(2,234,32,alab_chedaopianlixitongyiguanbi);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 

                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //24_车道偏离系统已关闭  LDW  system's been deactivated    Attention
                         Api_DrawLetterLongIcon("++++",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                        Api_DrawImg2Icon(10, 89, yingwen_chedaopianliyiguanbi);
                    }
                    else
                    {
                        //_车道偏离系统已关闭
                        Api_ConverDataPiece(0x06,chedaopianlixitong ,yiguanbi,White_14_null,White_14_01,2);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
     
                    }
                    Api_ConverData(1,100,72,chedaopianlixitongtubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;
                case PicLDWSOpen: //--预留
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--25_车道偏离系统已开启
                        Api_ConverData(2,234,32,alab_chedaopianlixitongyikaiqi);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(2,234,32,alab_qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //24_车道偏离系统已开启
                        Api_DrawLetterLongIcon("LDW++sy]stem+++++++been++activated",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]); 
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                        Api_DrawImgIcon(108, 89, xiaoxie2hao_pies);
                    }
                    else
                    {
                        //车道偏离系统已开启
                        Api_ConverDataPiece(0x06,chedaopianlixitong ,yikaiqi,White_14_null,White_14_01,2);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(1,100,72,chedaopianlixitongtubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;
                case PicPressLow: 
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯文--轮胎胎压不足,请注意
                        Api_ConverData(2,234,32,alab_taiyabuzu);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]);                          
                        Api_ConverData(2,234,32,alab_qingzhuyi2xiaohao);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //英文--轮胎胎压不足,请注意
                        Api_DrawLetterLongIcon("I]nsuff]icient++tire++pressure",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]);                        
                        Api_DrawLetterLongIcon("Attention",CharLetter2);
                        Api_DrawIcon( 3,  128,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //轮胎胎压不足,请注意
                        Api_ConverData(2,234,24,taiyabuzu);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]);                         
                        Api_ConverData(1,234,24,qingzhuyi);
                        Api_DrawIcon( 3,  119,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Api_ConverData(2,100,72,qianlunqiyaguogaotubaio);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;
                case PicCruise:
                    if(SetMeuMsg.Language == Arabic)
                    {
                        //阿拉伯--定速巡航设置
                        Api_ConverData(2,234,32,alab_dingsuxunhang);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]);                         
                    }
                    else if(SetMeuMsg.Language == English)
                    {
                        //英文--定速巡航设置
                        Api_DrawLetterLongIcon("Cruise++speed++set++to",CharLetter2);
                        Api_DrawIcon( 3,  89,(INT8U *)&m_UnComBuf[0]);
                    }
                    else
                    {
                        //定速巡航设置
                        Api_ConverData(2,234,24,dingsuxunhang);
                        Api_DrawIcon( 3,  79,(INT8U *)&m_UnComBuf[0]); 
                    }
                    Cruise_Speed_Disp(); 
                    Api_ConverData(2,100,72,dingsuxunhangtubiao);
                    Api_DrawIcon( 70,  162,(INT8U *)&m_UnComBuf[0]);
                    break;                    
                    
                default:
                    ;
                }
            }
            bDSUpdateFlag = 0;
        }
        bFaultFree=1;
    }
    else
    {  
        if((bDSTable[PicDoorOpen]&DS0_MASK) == 0) 
        {     
            g_CanSwith.ClrScreenDoor=1;    
            if((g_curkeyinput == KeyON))
            {
                if(bCurDsPos == 255)
                {
                   //如果是报警界面执行的显示,则无故障时退出当前7
                   if(bCurMenuIDX != _MN_SHOW_ERRINFO)
                   {  
                      //报警退出时,如果进入报警界面之前,是菜单界面
                      if(bOldMenuIDX > _MN_DSP_ALARM)
                      {
                         NextMenu(bOldMenuIDX);
                      }
                      //如果进入报警界面之前,是主界面
                      else
                      {
                        NextMenu(bMainMenuIDX);
                      } 
                   }
                }
                
                //故障信息查询界面,没有故障时显示""
                if(bCurMenuIDX == _MN_SHOW_ERRINFO)
                {
                   if(bFaultFree==1)
                   {
                      bFaultFree=0;
                      Api_ClearIcon(3, 238, 43, 235);
                      Api_DrawImgIcon(109,236,dangweijiantouClr); 
                      Api_DrawImgIcon(109,44,dangweijiantouClr);
                     
                   }
                }    
            }
        }
    }
    
}
/*-------------------------------------------------------------------------
* Function Name  : Gui_AlarmExit                     
* Description    :                                      
* Input          :                              
* Output         : None                            
* Return         : None
* onther         :
--------------------------------------------------------------------------*/
void Gui_AlarmExit(void)
{
    Api_ClearIcon(1, 240, 43, 255);//清中间(large)
    
    //no use
    if((bCurMenuIDX > _MN_DSP_ALARM)||(bOldMenuIDX > _MN_DSP_ALARM))
        Api_ClearIcon(6, 236, 5, 38);//清标题
    
    g_SetMenuState = 0;
    
 
    Time_Updeta;
    InstFuel_Updeta;
    Time_Updeta;
    AveFuel_Updeta;
    Adblue_Updeta;
    Gas2_Updeta;
    Gas1_Updeta;
    Time_Updeta;
    bUpDataFlag = 1;
}