org.opengts.extra.war.report.antx
Class AntxField

java.lang.Object
  extended by org.opengts.extra.war.report.antx.AntxField
Direct Known Subclasses:
AntxChannel

public class AntxField
extends java.lang.Object


Field Summary
static int EVCODE_ACCELERATION
           
static int EVCODE_ACTION_CMD_ERROR
           
static int EVCODE_ACTION_CMD_OK
           
static int EVCODE_COG_HEADING
           
static int EVCODE_CONFIG_CHANGE
           
static int EVCODE_CONFIG_GET_ERROR
           
static int EVCODE_CONFIG_GET_OK
           
static int EVCODE_CONFIG_SET_ERROR
           
static int EVCODE_CONFIG_SET_OK
           
static int EVCODE_DECELERATION
           
static int EVCODE_DEMAND_END_OF_DAY
           
static int EVCODE_DEMAND_STANDARD
           
static int EVCODE_DIAG_CODE_ACTIVE
           
static int EVCODE_DIAG_CODE_NORMAL
           
static int EVCODE_END_OF_DAY
           
static int EVCODE_ENGINE_START
           
static int EVCODE_ENGINE_STOP
           
static int EVCODE_GPS_ANT_NORMAL
           
static int EVCODE_GPS_ANT_OPEN
           
static int EVCODE_GPS_ANT_SHORT
           
static int EVCODE_GPS_ANT_UNAVAIL
           
static int EVCODE_IDLE_EXCEPTION
           
static int EVCODE_IDLE_TO_OFF
           
static int EVCODE_IDLE_TO_WORK
           
static int EVCODE_OFF_TO_IDLE
           
static int EVCODE_OFF_TO_WORK
           
static int EVCODE_OUTPUT_CTL_OFF
           
static int EVCODE_OUTPUT_CTL_ON
           
static int EVCODE_POWER_OFF
           
static int EVCODE_POWER_ON
           
static int EVCODE_RPM
           
static int EVCODE_SOG_SPEED
           
static int EVCODE_STANDARD_REPORT
           
static int EVCODE_WORK_TO_IDLE
           
static int EVCODE_WORK_TO_OFF
           
static int FIELD_ACK
           
static int FIELD_ACTION_COMMAND
           
static int FIELD_ANALOG_BIN_COUNT_DATA
           
static int FIELD_ANALOG_BIN_DURA_DATA
           
static int FIELD_ANALOG_CHAN_DATA
           
static int FIELD_ANALOG_DISTANCE
           
static int FIELD_ANALOG_FUEL
           
static int FIELD_ANALOG_MIN_MAX_VALUE
           
static int FIELD_DIGITAL_BIN_DATA
           
static int FIELD_DIGITAL_CHAN_DATA
           
static int FIELD_GPS_DATA
           
static int FIELD_IDLE_EXCEPTION
           
static int FIELD_J1708_DIAG
           
static int FIELD_J1939_DIAG
           
static int FIELD_OBD2_DIAG
           
static int FIELD_PING
           
static int FIELD_REQUEST_GET_CONFIG
           
static int FIELD_REQUEST_SET_CONFIG
           
static int FIELD_TEXT
           
static int FIELD_VEHICLE_ID
           
static java.util.Map FieldDescription
           
 
Constructor Summary
AntxField(int id, java.lang.String desc)
           
 
Method Summary
static AntxField GetAntxField(int fld)
           
 java.lang.String getDescription()
           
static java.lang.String GetFieldDescription(int fld)
           
 int getID()
           
static int getStatusCodeFromEventCode(int evCode)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EVCODE_DEMAND_END_OF_DAY

public static final int EVCODE_DEMAND_END_OF_DAY
See Also:
Constant Field Values

EVCODE_DEMAND_STANDARD

public static final int EVCODE_DEMAND_STANDARD
See Also:
Constant Field Values

EVCODE_STANDARD_REPORT

public static final int EVCODE_STANDARD_REPORT
See Also:
Constant Field Values

EVCODE_END_OF_DAY

public static final int EVCODE_END_OF_DAY
See Also:
Constant Field Values

EVCODE_COG_HEADING

public static final int EVCODE_COG_HEADING
See Also:
Constant Field Values

EVCODE_SOG_SPEED

public static final int EVCODE_SOG_SPEED
See Also:
Constant Field Values

EVCODE_RPM

public static final int EVCODE_RPM
See Also:
Constant Field Values

EVCODE_POWER_ON

public static final int EVCODE_POWER_ON
See Also:
Constant Field Values

EVCODE_ENGINE_START

public static final int EVCODE_ENGINE_START
See Also:
Constant Field Values

EVCODE_ENGINE_STOP

public static final int EVCODE_ENGINE_STOP
See Also:
Constant Field Values

EVCODE_POWER_OFF

public static final int EVCODE_POWER_OFF
See Also:
Constant Field Values

EVCODE_DECELERATION

public static final int EVCODE_DECELERATION
See Also:
Constant Field Values

EVCODE_ACCELERATION

public static final int EVCODE_ACCELERATION
See Also:
Constant Field Values

EVCODE_OUTPUT_CTL_ON

public static final int EVCODE_OUTPUT_CTL_ON
See Also:
Constant Field Values

EVCODE_OUTPUT_CTL_OFF

public static final int EVCODE_OUTPUT_CTL_OFF
See Also:
Constant Field Values

EVCODE_OFF_TO_IDLE

public static final int EVCODE_OFF_TO_IDLE
See Also:
Constant Field Values

EVCODE_OFF_TO_WORK

public static final int EVCODE_OFF_TO_WORK
See Also:
Constant Field Values

EVCODE_IDLE_TO_OFF

public static final int EVCODE_IDLE_TO_OFF
See Also:
Constant Field Values

EVCODE_IDLE_TO_WORK

public static final int EVCODE_IDLE_TO_WORK
See Also:
Constant Field Values

EVCODE_WORK_TO_OFF

public static final int EVCODE_WORK_TO_OFF
See Also:
Constant Field Values

EVCODE_WORK_TO_IDLE

public static final int EVCODE_WORK_TO_IDLE
See Also:
Constant Field Values

EVCODE_CONFIG_SET_OK

public static final int EVCODE_CONFIG_SET_OK
See Also:
Constant Field Values

EVCODE_CONFIG_SET_ERROR

public static final int EVCODE_CONFIG_SET_ERROR
See Also:
Constant Field Values

EVCODE_CONFIG_GET_OK

public static final int EVCODE_CONFIG_GET_OK
See Also:
Constant Field Values

EVCODE_CONFIG_GET_ERROR

public static final int EVCODE_CONFIG_GET_ERROR
See Also:
Constant Field Values

EVCODE_ACTION_CMD_OK

public static final int EVCODE_ACTION_CMD_OK
See Also:
Constant Field Values

EVCODE_ACTION_CMD_ERROR

public static final int EVCODE_ACTION_CMD_ERROR
See Also:
Constant Field Values

EVCODE_CONFIG_CHANGE

public static final int EVCODE_CONFIG_CHANGE
See Also:
Constant Field Values

EVCODE_GPS_ANT_UNAVAIL

public static final int EVCODE_GPS_ANT_UNAVAIL
See Also:
Constant Field Values

EVCODE_GPS_ANT_NORMAL

public static final int EVCODE_GPS_ANT_NORMAL
See Also:
Constant Field Values

EVCODE_GPS_ANT_OPEN

public static final int EVCODE_GPS_ANT_OPEN
See Also:
Constant Field Values

EVCODE_GPS_ANT_SHORT

public static final int EVCODE_GPS_ANT_SHORT
See Also:
Constant Field Values

EVCODE_DIAG_CODE_ACTIVE

public static final int EVCODE_DIAG_CODE_ACTIVE
See Also:
Constant Field Values

EVCODE_DIAG_CODE_NORMAL

public static final int EVCODE_DIAG_CODE_NORMAL
See Also:
Constant Field Values

EVCODE_IDLE_EXCEPTION

public static final int EVCODE_IDLE_EXCEPTION
See Also:
Constant Field Values

FIELD_VEHICLE_ID

public static final int FIELD_VEHICLE_ID
See Also:
Constant Field Values

FIELD_ACK

public static final int FIELD_ACK
See Also:
Constant Field Values

FIELD_PING

public static final int FIELD_PING
See Also:
Constant Field Values

FIELD_GPS_DATA

public static final int FIELD_GPS_DATA
See Also:
Constant Field Values

FIELD_TEXT

public static final int FIELD_TEXT
See Also:
Constant Field Values

FIELD_DIGITAL_CHAN_DATA

public static final int FIELD_DIGITAL_CHAN_DATA
See Also:
Constant Field Values

FIELD_DIGITAL_BIN_DATA

public static final int FIELD_DIGITAL_BIN_DATA
See Also:
Constant Field Values

FIELD_ANALOG_CHAN_DATA

public static final int FIELD_ANALOG_CHAN_DATA
See Also:
Constant Field Values

FIELD_ANALOG_BIN_COUNT_DATA

public static final int FIELD_ANALOG_BIN_COUNT_DATA
See Also:
Constant Field Values

FIELD_ANALOG_BIN_DURA_DATA

public static final int FIELD_ANALOG_BIN_DURA_DATA
See Also:
Constant Field Values

FIELD_ANALOG_MIN_MAX_VALUE

public static final int FIELD_ANALOG_MIN_MAX_VALUE
See Also:
Constant Field Values

FIELD_ANALOG_DISTANCE

public static final int FIELD_ANALOG_DISTANCE
See Also:
Constant Field Values

FIELD_ANALOG_FUEL

public static final int FIELD_ANALOG_FUEL
See Also:
Constant Field Values

FIELD_J1939_DIAG

public static final int FIELD_J1939_DIAG
See Also:
Constant Field Values

FIELD_J1708_DIAG

public static final int FIELD_J1708_DIAG
See Also:
Constant Field Values

FIELD_OBD2_DIAG

public static final int FIELD_OBD2_DIAG
See Also:
Constant Field Values

FIELD_IDLE_EXCEPTION

public static final int FIELD_IDLE_EXCEPTION
See Also:
Constant Field Values

FIELD_REQUEST_GET_CONFIG

public static final int FIELD_REQUEST_GET_CONFIG
See Also:
Constant Field Values

FIELD_REQUEST_SET_CONFIG

public static final int FIELD_REQUEST_SET_CONFIG
See Also:
Constant Field Values

FIELD_ACTION_COMMAND

public static final int FIELD_ACTION_COMMAND
See Also:
Constant Field Values

FieldDescription

public static final java.util.Map FieldDescription
Constructor Detail

AntxField

public AntxField(int id,
                 java.lang.String desc)
Method Detail

getStatusCodeFromEventCode

public static int getStatusCodeFromEventCode(int evCode)

GetAntxField

public static AntxField GetAntxField(int fld)

GetFieldDescription

public static java.lang.String GetFieldDescription(int fld)

getID

public int getID()

getDescription

public java.lang.String getDescription()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object