[Airbag\Honda\All\77960-S30-G81  (24С01)]

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

Form
{  
    Group("Информация",10,15,170,40)
    {
        Label(msg," ",0,18);
    }
    Group("Описание",5,60,270,85) 
    {
        Label(lb4,"Калькулятор для Honda\77960-S30-G81",0,20);
        Label(lb5,"Eeprom 24С01",0,35);
        Label(lb2,"Чтобы стереть CRASH",0,55);
        Label(lb3,"нажмите кнопку <Применить>.",0,70);
    }
  Picture(Logo,"Honda.bmp",200,8,0,0); 
   }
OnShow
    {
     
     var0 = 0;Var1 =0; Var2 =0x00;
     if(@0x00 = 0xff) {Var0 = Var0 + 1;}
     if(@0x03 = 0xff) {Var0 = Var0 + 1;}
     if(Var0 != 0) 
       {
        msg.Color = 0x0000FF;
	msg.Bold = 1;
	msg = "Неверный дамп!";
       }
     else
       {
        Var1 =0x1C; 
        while(Var1 !=0x1F)
        {
         Var2 =Var2 | @Var1; Var1 = var1 + 1;
        }
        
        if(var2 != 0xFF) 
         {
          msg.Color = 0x0000FF;
	  msg.Bold = 1;
	  msg = "Обнаружен CRASH!";
         }
         else
         {
          msg.Color = 0xff0000;
	  msg.Bold = 1;
	  msg = "Дамп чистый!";
         }
       }  
    }
OnApply
      {
        
        
           Var1 = 0x13;
      while(Var1 != 0x1A)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      }
      Var1 = 0x1A;
      while(Var1 != 0x2A)
      {
       @Var1 = 0xFF; Var1 = Var1 + 1;
      }
            msg.Color = 0xFF0000;
            msg.Bold = 1;
            msg  = "Crash data cleared.";
          }
}
