Campbell BMP5 Informacje Techniczne Strona 73

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 100
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 72
Appendix D. JAVA Example Code
D-3
case (0x9d) : // Response for Upload Command
System.out.println("Response for Upload Command");
ParseTblDefs();
break;
}
}
}
else if(stdin.ready())
{
switch(stdin.read())
{
case '1':
file_offset = 0;
tabledefloop = 0;
TableDefStr = new String();
System.out.println("Getting Table def ");
GetTableDef();
break;
case '2':
GetPublicValue();
SendPb();
break;
case '3':
NameList = "\0";
GetCommand();
SendPb();
break;
case '4':
setclockcnt = 0;
sendseconds = 0;
GetClock();
SendPb();
break;
case '5':
setclockcnt = 1;
sendseconds = 0;
SetClock();
break;
case '6':
GetTable("Public",1);
SendPb();
break;
case '7':
System.out.println("Getting PakBusAddress");
dest_address = 4095;
NameList = "PakBusAddress\0";
GetCommand();
SendPb();
break;
Przeglądanie stron 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 99 100

Komentarze do niniejszej Instrukcji

Brak uwag