[Airbag\Volkswagen\VW5 TRW 24C08]

Size(280,200); // ширина и высота

Form
{
    Group("Информация",10,15,170,40)
    {
        Label(msg," ",0,17);
    }

    Group("Описание",5,60,270,85) 
    {
        Label(lb4,"Калькулятор для SRS Volkswagen VW5.",0,15);
        Label(lb5,"TRW. ЕЕПРОМ 24C08",0,30);
        Label(lb2,"Чтобы стереть CRASH и ошибки",0,45);
       
        Label(lb3,"нажмите кнопку <Применить>.",0,60);
    }
  Picture(Logo,"Vw.bmp",200,8,0,0); 
}
OnShow
    {
     
     var0 = 0;Var1 =0; Var2 =0xff;
     if(@0x370 != 0x54) {Var0 = Var0 + 1;}
     if(@0x371 != 0x52) {Var0 = Var0 + 1;}
     if(Var0 != 0) 
       {
        msg.Color = 0x0000FF;
	msg.Bold = 1;
	msg = "Неверный дамп!";
       }
     else
       {
        if(@0x0d != var2) {Var1 = Var1 + 1;}
        if(@0x12 != var2) {Var1 = Var1 + 1;}
        if(@0x17 != var2) {Var1 = Var1 + 1;}
        if(@0x1c != var2) {Var1 = Var1 + 1;}
        if(@0x21 != var2) {Var1 = Var1 + 1;}
        if(@0x26 != var2) {Var1 = Var1 + 1;}
        if(@0x2b != var2) {Var1 = Var1 + 1;}
        if(@0x30 != var2) {Var1 = Var1 + 1;}
        if(@0x281 != var2) {Var1 = Var1 + 1;}
        if(@0x2b7 != var2) {Var1 = Var1 + 1;}
        if(@0x2ed != var2) {Var1 = Var1 + 1;}
        if(@0x323 != var2) {Var1 = Var1 + 1;}

        if(var1 != 0x00) 
         {
          msg.Color = 0x0000FF;
	  msg.Bold = 1;
	  msg = "ОШИБКИ!";
         }
         else
         {
          msg.Color = 0xff0000;
	  msg.Bold = 1;
	  msg = "дамп чистый!";
         }
       }  
    }
OnApply
    {
      Var10 = 0x0a;
      while(Var10 != 0x32)
      {
       @Var10 = 0x00; Var10 = Var10 + 1;
      }
      Var10 = 0x24b;
      while(Var10 != 0x359)
      {
       @Var10 = 0x00; Var10 = Var10 + 1;
      }
      @0x0d = 0xff; @0x12 = 0xff; @0x17 = 0xff; @0x1c = 0xff; @0x21 = 0xff; @0x26 = 0xff; @0x2b = 0xff; @0x30 = 0xff;
      @0x281 = 0xff; @0x2b7 = 0xff; @0x2ed = 0xff; @0x323 = 0xff;
      msg.Color = 0xff00ff;
      msg.Bold = 1;
      msg = "Ошибки стерты!";
    }