Campbell BMP5 Technical Information Seite 74

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 100
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 73
Appendix D. JAVA Example Code
D-4
case '8':
System.out.println("Getting 24 hour data");
GetTable("Data1",24);
SendPb();
break;
case '9':
NameList = "Model\0";
GetCommand();
SendPb();
break;
case 'h':
startscreen();
break;
case 'x':
shouldExit = true;
break;
default:
break;
}
}
}
}
catch ( IOException e ) {
System.err.println(e);
}
System.out.println("System Shutting Down");
try {
stdin.close();
}
catch( IOException e ){
System.err.println(e);
}
}
/**
* Internal - Used to display the console menu.
*/
public static void startscreen()
{
System.out.println(" Press 1 for GetTblDef");
System.out.println(" Press 2 for GetPublicValue");
System.out.println(" Press 3 for GetCommand");
System.out.println(" Press 4 for GetClock");
System.out.println(" Press 5 for SetClock");
System.out.println(" Press 6 for GetPublicTable");
System.out.println(" Press 7 for GetPakBusAddress");
System.out.println(" Press 8 for Get 24 Hour Data");
System.out.println(" Press 9 for GetModel");
System.out.println(" Press h to reprint this menu");
System.out.println(" Press x to exit");
}
Seitenansicht 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 99 100

Kommentare zu diesen Handbüchern

Keine Kommentare