Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jflight.vario
Class BrVario  view BrVario download BrVario.java

java.lang.Object
  extended byjflight.vario.Vario
      extended byjflight.vario.BrVario

public class BrVario
extends Vario

Support for the Braeuniger Vario-devices.

Since:
JDK1.1.x

Field Summary
private  int bufSize
           
static int IO_NOT_INITIALIZED
           
private  byte[] msg
           
static int NOT_AVAILABLE
           
private  int pid
           
static int RX_ERROR
           
private  int RX_TIMEOUT
           
static int SUCCESS
           
private  java.util.Date today
           
private  int varioCnt
           
 
Fields inherited from class jflight.vario.Vario
APPEND, BAD_CRC, baroCont, ioInit, is, os, REPLACE
 
Constructor Summary
BrVario()
           
 
Method Summary
 int getBarogram(int flightNumber)
          Get a single barogram.
 int getFlightBook()
          Get the flightbook from the vario
 
Methods inherited from class jflight.vario.Vario
deinitIOStreams, delay, initIOStreams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pid

private int pid

bufSize

private int bufSize

varioCnt

private int varioCnt

today

private java.util.Date today

msg

private byte[] msg

RX_TIMEOUT

private final int RX_TIMEOUT
See Also:
Constant Field Values

SUCCESS

public static final int SUCCESS
See Also:
Constant Field Values

RX_ERROR

public static final int RX_ERROR
See Also:
Constant Field Values

IO_NOT_INITIALIZED

public static final int IO_NOT_INITIALIZED
See Also:
Constant Field Values

NOT_AVAILABLE

public static final int NOT_AVAILABLE
See Also:
Constant Field Values
Constructor Detail

BrVario

public BrVario()
Method Detail

getBarogram

public int getBarogram(int flightNumber)
                throws java.io.IOException
Description copied from class: Vario
Get a single barogram. The flight may be specified by a number, if the Vario supports this. Otherwise it is ignored. Bufer 0 is used.
tbd: add mode-flag for append-mode

Specified by:
getBarogram in class Vario

getFlightBook

public int getFlightBook()
Description copied from class: Vario
Get the flightbook from the vario

Specified by:
getFlightBook in class Vario