|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.db.StatusCodes
public class StatusCodes
Nested Class Summary | |
---|---|
static class |
StatusCodes.Code
|
Constructor Summary | |
---|---|
StatusCodes()
|
Method Summary | |
---|---|
static void |
AddCode(StatusCodes.Code code)
|
static void |
AddCodes(StatusCodes.Code[] codeList)
|
static int |
GetAnalogStatusCode(int ndx,
boolean state)
Returns the Analog status code for the specified index |
static StatusCodes.Code |
GetCode(int code,
BasicPrivateLabel bpl)
|
static StatusCodes.Code |
GetCode(java.lang.String name,
BasicPrivateLabel bpl)
|
static java.lang.String |
GetDesc(int code)
Returns the description of the specified code |
static java.lang.String |
GetDesc(int code,
BasicPrivateLabel bpl)
Returns the description of the specified code |
static java.lang.String |
GetDescription(int code,
BasicPrivateLabel bpl)
Returns the description of the specified code |
static OrderedMap<java.lang.Integer,java.lang.String> |
GetDescriptionMap(java.util.Locale locale)
Creates and returns a new OrderedMap containing StatusCode/Description pairs |
static int |
GetDigitalInputIndex(int code)
Gets the index of the specified DigitalInput status code, or "-1" if the specified value does not represent a DigitalInput status code |
static int |
GetDigitalInputStatusCode(int ndx,
boolean state)
Returns the DigitalInput status code for the specified index and state |
static int |
GetDigitalOutputStatusCode(int ndx,
boolean state)
Returns the DigitalOutput status code for the specified index and state |
static java.lang.String |
GetHex(int code)
Returns the String hex representation of the specified status code |
static java.lang.String |
GetHex(long code)
Returns the String hex representation of the specified status code |
static java.lang.String |
GetIconName(int code,
BasicPrivateLabel pl)
|
static int |
GetImageStatusCode(int ndx,
boolean loc)
Returns the Image status code for the specified index and location state |
static java.lang.String |
GetName(int code,
BasicPrivateLabel bpl)
Returns the name of the specified code |
static OrderedSet<java.lang.Integer> |
GetStatusCodeList()
Creates and returns a new OrderedSet of all defined status codes |
static StatusCodeProvider |
GetStatusCodeProvider(int code,
BasicPrivateLabel bpl)
Returns the StatusCodeProvider of the specified code |
static void |
initStatusCodes(int[] inclCodes)
(Re)Initialize status code descriptions |
static boolean |
IsAcceleration(int code)
Returns true if the status code represents a Acceleration state |
static boolean |
IsAnalog(int code)
Returns true if the status code represents an Analog code |
static boolean |
IsBraking(int code)
Returns true if the status code represents a Braking state |
static boolean |
IsCornering(int code)
Returns true if the status code represents a Cornering state |
static boolean |
IsDeceleration(int code)
Returns true if the status code represents a Deceleration state |
static boolean |
IsDigitalInput(int code,
boolean inclIgn)
Returns true if the status code represents a DigitalInput code |
static boolean |
IsDigitalInputOff(int code,
boolean inclIgn)
Returns true if the status code represents a DigitalInput "off" state |
static boolean |
IsDigitalInputOn(int code,
boolean inclIgn)
Returns true if the status code represents a DigitalInput "on" state |
static boolean |
IsDiscardable(int code)
Returns true if the specified status code can be discarded if another status-code event record has been saved. |
static boolean |
IsEntityConnect(int code)
Returns true if the status code represents a EntityConnect code |
static boolean |
IsEntityDisconnect(int code)
Returns true if the status code represents a EntityDisconnect code |
static boolean |
IsEntityInventory(int code)
Returns true if the status code represents a EntityInventory code |
static boolean |
IsEntityState(int code)
Returns true if the status code represents a EntityState code |
static boolean |
IsGeozoneArrive(int code)
Returns true if the status code represents a GeozoneArrive code |
static boolean |
IsGeozoneDepart(int code)
Returns true if the status code represents a GeozoneDepart code |
static boolean |
IsGeozoneTransition(int code)
Returns true if the status code represents a GeozoneTransition code |
static boolean |
IsHighPriority(int code,
BasicPrivateLabel pl)
Returns true if the specified status code is high-priority |
static boolean |
IsIgnition(int code)
Returns true if the status code represents an Ignition state |
static boolean |
IsImage(int code)
Returns true if the status code represents an image state |
static boolean |
IsLocation(int code)
Returns true if the status code represents a Location code |
static boolean |
IsReserved(int code)
Returns true if the specified status code is reserved, false otherwise |
static boolean |
IsRuleTrigger(int code)
Returns true if the status code represents a RuleTrigger code |
static boolean |
IsSpeeding(int code)
Returns true if the status code represents a Location code |
static boolean |
IsValid(int code,
BasicPrivateLabel pl)
Returns true if the specified status code is valid (defined) |
static void |
main(java.lang.String[] argv)
Main entry point |
static int |
ParseCode(java.lang.String codeStr,
BasicPrivateLabel bpl,
int dftCode)
Parses/returns the integer status code for the specified status code name |
static StatusCodes.Code |
RemoveCode(int sc)
|
static void |
RemoveCodes(int[] cList)
|
static boolean |
SetDescription(int code,
java.lang.String desc)
Sets the description of the specified code |
static boolean |
SetIconName(int code,
java.lang.String iconName)
|
static java.lang.String |
ToString(int code)
Returns the String representation of the specified code |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int IGNITION_INPUT_INDEX
public static final int IGNITION_START_STOP
public static final int STATUS_IGNORE
public static final int STATUS_NONE
public static final int STATUS_1000
public static final int STATUS_CFFF
public static final int STATUS_E000
public static final int STATUS_E0FF
public static final int STATUS_GFMI_CMD_03
public static final int STATUS_GFMI_CMD_04
public static final int STATUS_GFMI_CMD_05
public static final int STATUS_GFMI_CMD_06
public static final int STATUS_GFMI_CMD_08
public static final int STATUS_GFMI_CMD_09
public static final int STATUS_GFMI_LINK_OFF
public static final int STATUS_GFMI_LINK_ON
public static final int STATUS_GFMI_ACK
public static final int STATUS_GFMI_MESSAGE
public static final int STATUS_GFMI_MESSAGE_ACK
public static final int STATUS_GFMI_STOP_STATUS_1
public static final int STATUS_GFMI_STOP_STATUS_2
public static final int STATUS_GFMI_STOP_STATUS_3
public static final int STATUS_GFMI_STOP_STATUS_4
public static final int STATUS_GFMI_ETA
public static final int STATUS_GFMI_DRIVER_ID
public static final int STATUS_GFMI_DRIVER_STATUS
public static final int STATUS_INITIALIZED
public static final int STATUS_LOCATION
public static final int STATUS_LOCATION_1
public static final int STATUS_LOCATION_2
public static final int STATUS_LOCATION_3
public static final int STATUS_LOCATION_4
public static final int STATUS_LAST_LOCATION
public static final int STATUS_CELL_LOCATION
public static final int STATUS_DISTANCE
public static final int STATUS_DISTANCE_1
public static final int STATUS_DISTANCE_2
public static final int STATUS_WAYMARK_0
public static final int STATUS_WAYMARK_1
public static final int STATUS_WAYMARK_2
public static final int STATUS_WAYMARK_3
public static final int STATUS_WAYMARK_4
public static final int STATUS_WAYMARK_5
public static final int STATUS_WAYMARK_6
public static final int STATUS_WAYMARK_7
public static final int STATUS_WAYMARK_8
public static final int STATUS_QUERY
public static final int STATUS_NOTIFY
public static final int STATUS_LOG
public static final int STATUS_SAMPLE_0
public static final int STATUS_SAMPLE_1
public static final int STATUS_SAMPLE_2
public static final int STATUS_HEARTBEAT
public static final int STATUS_GPS_FIRST_FIX
public static final int STATUS_POI_0
public static final int STATUS_POI_1
public static final int STATUS_POI_2
public static final int STATUS_POI_3
public static final int STATUS_POI_4
public static final int STATUS_DATA_MESSAGE_0
public static final int STATUS_DATA_MESSAGE_1
public static final int STATUS_DATA_MESSAGE_2
public static final int STATUS_VOICE
public static final int STATUS_VOICE_OUTGOING
public static final int STATUS_VOICE_INCOMING
public static final int STATUS_RFID_TAG_0
public static final int STATUS_RFID_TAG_1
public static final int STATUS_RFID_TAG_2
public static final int STATUS_MOTION_START
public static final int STATUS_MOTION_IN_MOTION
public static final int STATUS_MOTION_EN_ROUTE
public static final int STATUS_MOTION_STOP
public static final int STATUS_MOTION_DORMANT
public static final int STATUS_MOTION_STOPPED
public static final int STATUS_MOTION_IDLE
public static final int STATUS_MOTION_IDLE_END
public static final int STATUS_MOTION_EXCESS_IDLE
public static final int STATUS_MOTION_EXCESS_SPEED
public static final int STATUS_MOTION_OVER_SPEED_1
public static final int STATUS_MOTION_OVER_SPEED_2
public static final int STATUS_MOTION_MOVING
public static final int STATUS_MOTION_STOP_PENDING
public static final int STATUS_MOTION_CHANGE
public static final int STATUS_MOTION_HEADING
public static final int STATUS_MOTION_ACCELEROMETER
public static final int STATUS_MOTION_ACCELERATION
public static final int STATUS_MOTION_DECELERATION
public static final int STATUS_MOTION_SPEED_RECOVER
public static final int STATUS_ODOM_0
public static final int STATUS_ODOM_1
public static final int STATUS_ODOM_2
public static final int STATUS_ODOM_3
public static final int STATUS_ODOM_4
public static final int STATUS_ODOM_5
public static final int STATUS_ODOM_6
public static final int STATUS_ODOM_7
public static final int STATUS_ODOM_LIMIT_0
public static final int STATUS_ODOM_LIMIT_1
public static final int STATUS_ODOM_LIMIT_2
public static final int STATUS_ODOM_LIMIT_3
public static final int STATUS_ODOM_LIMIT_4
public static final int STATUS_ODOM_LIMIT_5
public static final int STATUS_ODOM_LIMIT_6
public static final int STATUS_ODOM_LIMIT_7
public static final int STATUS_MAINTENANCE_0
public static final int STATUS_MAINTENANCE_1
public static final int STATUS_MAINTENANCE_2
public static final int STATUS_MAINTENANCE_3
public static final int STATUS_MAINTENANCE_4
public static final int STATUS_SPEEDING_BEGIN
public static final int STATUS_SPEEDING_LIMIT_1
public static final int STATUS_SPEEDING_LIMIT_2
public static final int STATUS_SPEEDING_LIMIT_3
public static final int STATUS_SPEEDING_LIMIT_4
public static final int STATUS_SPEEDING_END
public static final int STATUS_TRACK_START
public static final int STATUS_TRACK_LOCATION
public static final int STATUS_TRACK_STOP
public static final int STATUS_JOB_START
public static final int STATUS_JOB_STOP
public static final int STATUS_GEOFENCE_ARRIVE
public static final int STATUS_CORRIDOR_ARRIVE
public static final int STATUS_JOB_ARRIVE
public static final int STATUS_PROXIMITY_ARRIVE
public static final int STATUS_GEOFENCE_DEPART
public static final int STATUS_CORRIDOR_DEPART
public static final int STATUS_JOB_DEPART
public static final int STATUS_PROXIMITY_DEPART
public static final int STATUS_GEOFENCE_VIOLATION
public static final int STATUS_CORRIDOR_VIOLATION
public static final int STATUS_GEOFENCE_ACTIVE
public static final int STATUS_CORRIDOR_ACTIVE
public static final int STATUS_GEOFENCE_INACTIVE
public static final int STATUS_CORRIDOR_INACTIVE
public static final int STATUS_GEOBOUNDS_ENTER
public static final int STATUS_GEOBOUNDS_EXIT
public static final int STATUS_PARKED
public static final int STATUS_EXCESS_PARK
public static final int STATUS_UNPARKED
public static final int STATUS_INPUT_STATE
public static final int STATUS_IGNITION_ON
public static final int STATUS_INPUT_ON
public static final int STATUS_IGNITION_OFF
public static final int STATUS_INPUT_OFF
public static final int STATUS_OUTPUT_STATE
public static final int STATUS_OUTPUT_ON
public static final int STATUS_OUTPUT_OFF
public static final int STATUS_ENGINE_START
public static final int STATUS_ENGINE_STOP
public static final int STATUS_INPUT_ON_00
public static final int STATUS_INPUT_ON_01
public static final int STATUS_INPUT_ON_02
public static final int STATUS_INPUT_ON_03
public static final int STATUS_INPUT_ON_04
public static final int STATUS_INPUT_ON_05
public static final int STATUS_INPUT_ON_06
public static final int STATUS_INPUT_ON_07
public static final int STATUS_INPUT_ON_08
public static final int STATUS_INPUT_ON_09
public static final int STATUS_INPUT_ON_10
public static final int STATUS_INPUT_ON_11
public static final int STATUS_INPUT_ON_12
public static final int STATUS_INPUT_ON_13
public static final int STATUS_INPUT_ON_14
public static final int STATUS_INPUT_ON_15
public static final int STATUS_INPUT_ON_16
public static final int STATUS_INPUT_ON_17
public static final int STATUS_INPUT_ON_18
public static final int STATUS_INPUT_ON_19
public static final int STATUS_DOOR_OPEN_0
public static final int STATUS_DOOR_OPEN_1
public static final int STATUS_DOOR_OPEN_2
public static final int STATUS_SEATBELT_ON_0
public static final int STATUS_SEATBELT_ON_1
public static final int STATUS_INPUT_OFF_00
public static final int STATUS_INPUT_OFF_01
public static final int STATUS_INPUT_OFF_02
public static final int STATUS_INPUT_OFF_03
public static final int STATUS_INPUT_OFF_04
public static final int STATUS_INPUT_OFF_05
public static final int STATUS_INPUT_OFF_06
public static final int STATUS_INPUT_OFF_07
public static final int STATUS_INPUT_OFF_08
public static final int STATUS_INPUT_OFF_09
public static final int STATUS_INPUT_OFF_10
public static final int STATUS_INPUT_OFF_11
public static final int STATUS_INPUT_OFF_12
public static final int STATUS_INPUT_OFF_13
public static final int STATUS_INPUT_OFF_14
public static final int STATUS_INPUT_OFF_15
public static final int STATUS_INPUT_OFF_16
public static final int STATUS_INPUT_OFF_17
public static final int STATUS_INPUT_OFF_18
public static final int STATUS_INPUT_OFF_19
public static final int STATUS_DOOR_CLOSE_0
public static final int STATUS_DOOR_CLOSE_1
public static final int STATUS_DOOR_CLOSE_2
public static final int STATUS_SEATBELT_OFF_0
public static final int STATUS_SEATBELT_OFF_1
public static final int STATUS_OUTPUT_ON_00
public static final int STATUS_OUTPUT_ON_01
public static final int STATUS_OUTPUT_ON_02
public static final int STATUS_OUTPUT_ON_03
public static final int STATUS_OUTPUT_ON_04
public static final int STATUS_OUTPUT_ON_05
public static final int STATUS_OUTPUT_ON_06
public static final int STATUS_OUTPUT_ON_07
public static final int STATUS_OUTPUT_ON_08
public static final int STATUS_OUTPUT_ON_09
public static final int STATUS_OUTPUT_OFF_00
public static final int STATUS_OUTPUT_OFF_01
public static final int STATUS_OUTPUT_OFF_02
public static final int STATUS_OUTPUT_OFF_03
public static final int STATUS_OUTPUT_OFF_04
public static final int STATUS_OUTPUT_OFF_05
public static final int STATUS_OUTPUT_OFF_06
public static final int STATUS_OUTPUT_OFF_07
public static final int STATUS_OUTPUT_OFF_08
public static final int STATUS_OUTPUT_OFF_09
public static final int STATUS_ELAPSED_00
public static final int STATUS_ELAPSED_01
public static final int STATUS_ELAPSED_02
public static final int STATUS_ELAPSED_03
public static final int STATUS_ELAPSED_04
public static final int STATUS_ELAPSED_05
public static final int STATUS_ELAPSED_06
public static final int STATUS_ELAPSED_07
public static final int STATUS_ELAPSED_LIMIT_00
public static final int STATUS_ELAPSED_LIMIT_01
public static final int STATUS_ELAPSED_LIMIT_02
public static final int STATUS_ELAPSED_LIMIT_03
public static final int STATUS_ELAPSED_LIMIT_04
public static final int STATUS_ELAPSED_LIMIT_05
public static final int STATUS_ELAPSED_LIMIT_06
public static final int STATUS_ELAPSED_LIMIT_07
public static final int STATUS_ANALOG_0
public static final int STATUS_ANALOG_1
public static final int STATUS_ANALOG_2
public static final int STATUS_ANALOG_3
public static final int STATUS_ANALOG_4
public static final int STATUS_ANALOG_5
public static final int STATUS_ANALOG_6
public static final int STATUS_ANALOG_7
public static final int STATUS_ANALOG_RANGE_0
public static final int STATUS_ANALOG_RANGE_1
public static final int STATUS_ANALOG_RANGE_2
public static final int STATUS_ANALOG_RANGE_3
public static final int STATUS_ANALOG_RANGE_4
public static final int STATUS_ANALOG_RANGE_5
public static final int STATUS_ANALOG_RANGE_6
public static final int STATUS_ANALOG_RANGE_7
public static final int STATUS_TEMPERATURE_0
public static final int STATUS_TEMPERATURE_1
public static final int STATUS_TEMPERATURE_2
public static final int STATUS_TEMPERATURE_3
public static final int STATUS_TEMPERATURE_4
public static final int STATUS_TEMPERATURE_5
public static final int STATUS_TEMPERATURE_6
public static final int STATUS_TEMPERATURE_7
public static final int STATUS_TEMPERATURE_RANGE_0
public static final int STATUS_TEMPERATURE_RANGE_1
public static final int STATUS_TEMPERATURE_RANGE_2
public static final int STATUS_TEMPERATURE_RANGE_3
public static final int STATUS_TEMPERATURE_RANGE_4
public static final int STATUS_TEMPERATURE_RANGE_5
public static final int STATUS_TEMPERATURE_RANGE_6
public static final int STATUS_TEMPERATURE_RANGE_7
public static final int STATUS_TEMPERATURE_LOW_0
public static final int STATUS_TEMPERATURE_HIGH_0
public static final int STATUS_TEMPERATURE_OK
public static final int STATUS_TEMPERATURE
public static final int STATUS_LOGIN
public static final int STATUS_LOGOUT
public static final int STATUS_ARMED
public static final int STATUS_DISARMED
public static final int STATUS_TAG_BATTERY_LOW
public static final int STATUS_ENTITY_STATE
public static final int STATUS_ENTITY_CONNECT
public static final int STATUS_ENTITY_DISCONNECT
public static final int STATUS_ENTITY_INVENTORY
public static final int STATUS_TRAILER_STATE
public static final int STATUS_TRAILER_HOOK
public static final int STATUS_TRAILER_UNHOOK
public static final int STATUS_TRAILER_INVENTORY
public static final int STATUS_RFID_STATE
public static final int STATUS_RFID_CONNECT
public static final int STATUS_RFID_DISCONNECT
public static final int STATUS_RFID_INVENTORY
public static final int STATUS_PERSON_ENTER
public static final int STATUS_PERSON_EXIT
public static final int STATUS_PERSON_INVENTORY
public static final int STATUS_PERSON_STATE
public static final int STATUS_ACK
public static final int STATUS_NAK
public static final int STATUS_COMMAND_ACK
public static final int STATUS_COMMAND_NAK
public static final int STATUS_DUTY_ON
public static final int STATUS_DUTY_OFF
public static final int STATUS_PANIC_ON
public static final int STATUS_PANIC_OFF
public static final int STATUS_ALARM_ON
public static final int STATUS_ALARM_OFF
public static final int STATUS_ASSIST_ON
public static final int STATUS_ASSIST_OFF
public static final int STATUS_MANDOWN_ON
public static final int STATUS_MANDOWN_OFF
public static final int STATUS_MEDICAL_ON
public static final int STATUS_MEDICAL_OFF
public static final int STATUS_DRIVER_AUTHORIZED
public static final int STATUS_DRIVER_UNAUTHORIZED
public static final int STATUS_DRIVER_FATIGUE
public static final int STATUS_DRIVER_SLEEP
public static final int STATUS_DRIVER_WAKE
public static final int STATUS_TOWING_START
public static final int STATUS_TOWING_STOP
public static final int STATUS_TOWING_ENROUTE
public static final int STATUS_INTRUSION_ON
public static final int STATUS_INTRUSION_OFF
public static final int STATUS_TAMPER_ON
public static final int STATUS_TAMPER_OFF
public static final int STATUS_BREACH_ON
public static final int STATUS_BREACH_OFF
public static final int STATUS_VIBRATION_ON
public static final int STATUS_VIBRATION_OFF
public static final int STATUS_DOOR_LOCK
public static final int STATUS_DOOR_UNLOCK
public static final int STATUS_PTO_ON
public static final int STATUS_PTO_OFF
public static final int STATUS_ONLINE
public static final int STATUS_OFFLINE
public static final int STATUS_LIGHTING_CHANGED
public static final int STATUS_LIGHTING_BRIGHTER
public static final int STATUS_LIGHTING_DARKER
public static final int STATUS_CARJACK_DISABLED
public static final int STATUS_CARJACK_ENABLED
public static final int STATUS_CARJACK_STANDBY
public static final int STATUS_CARJACK_ARMED
public static final int STATUS_CARJACK_TRIGGERED
public static final int STATUS_CARJACK_CANCELLED
public static final int STATUS_VEHICLE_DISABLED
public static final int STATUS_VEHICLE_ENABLED
public static final int STATUS_OBD_INFO_0
public static final int STATUS_OBD_INFO_1
public static final int STATUS_OBD_INFO_2
public static final int STATUS_OBD_INFO_3
public static final int STATUS_OBD_INFO_4
public static final int STATUS_OBD_INFO_5
public static final int STATUS_OBD_INFO_6
public static final int STATUS_OBD_INFO_7
public static final int STATUS_OBD_CONNECT
public static final int STATUS_OBD_DISCONNECT
public static final int STATUS_OBD_FAULT
public static final int STATUS_CHECK_ENGINE
public static final int STATUS_CHECK_ENGINE_ON
public static final int STATUS_CHECK_ENGINE_OFF
public static final int STATUS_OBD_RANGE
public static final int STATUS_OBD_RPM_RANGE
public static final int STATUS_OBD_RPM_OK
public static final int STATUS_OBD_FUEL_RANGE
public static final int STATUS_OBD_OIL_RANGE
public static final int STATUS_OBD_TEMP_RANGE
public static final int STATUS_OBD_LOAD_RANGE
public static final int STATUS_OBD_COOLANT_RANGE
public static final int STATUS_OBD_COOLANT_OK
public static final int STATUS_HARSH_BEHAVIOR
public static final int STATUS_EXCESS_BRAKING
public static final int STATUS_EXCESS_BRAKING_2
public static final int STATUS_EXCESS_BRAKING_3
public static final int STATUS_EXCESS_BRAKING_4
public static final int STATUS_EXCESS_CORNERING
public static final int STATUS_EXCESS_CORNERING_2
public static final int STATUS_EXCESS_CORNERING_3
public static final int STATUS_EXCESS_CORNERING_4
public static final int STATUS_IMPACT
public static final int STATUS_IMPACT_DATA_1
public static final int STATUS_IMPACT_DATA_2
public static final int STATUS_IMPACT_DATA_3
public static final int STATUS_FREEFALL
public static final int STATUS_FUEL_REFILL
public static final int STATUS_FUEL_THEFT
public static final int STATUS_LOW_FUEL
public static final int STATUS_FUEL_DIRTY
public static final int STATUS_FUEL_SENSOR
public static final int STATUS_EXCESS_ACCEL
public static final int STATUS_EXCESS_ACCEL_2
public static final int STATUS_EXCESS_ACCEL_3
public static final int STATUS_DAY_SUMMARY
public static final int STATUS_TRIP_SUMMARY
public static final int STATUS_TIRE_TEMP_RANGE
public static final int STATUS_TIRE_PRESSURE_RANGE
public static final int STATUS_TIRE_PRESSURE_LOW
public static final int STATUS_TIRE_BATTERY_LOW
public static final int STATUS_IP_ADDRESS
public static final int STATUS_SIM_CARD
public static final int STATUS_BATTERY_VOLTS
public static final int STATUS_BACKUP_VOLTS
public static final int STATUS_BATT_CHARGE_ON
public static final int STATUS_BATT_CHARGE_OFF
public static final int STATUS_LOW_BATTERY
public static final int STATUS_BATTERY_LEVEL
public static final int STATUS_POWER_FAILURE
public static final int STATUS_POWER_ALARM
public static final int STATUS_POWER_RESTORED
public static final int STATUS_POWER_OFF
public static final int STATUS_POWER_ON
public static final int STATUS_LOW_POWER_MODE
public static final int STATUS_FULL_POWER_MODE
public static final int STATUS_GPS_OFF
public static final int STATUS_GPS_ON
public static final int STATUS_GPS_EXPIRED
public static final int STATUS_GPS_FAILURE
public static final int STATUS_GPS_ANTENNA_OPEN
public static final int STATUS_GPS_ANTENNA_SHORT
public static final int STATUS_GPS_JAMMING
public static final int STATUS_GPS_RESTORED
public static final int STATUS_GPS_LOST
public static final int STATUS_CALIBRATION_START
public static final int STATUS_CALIBRATION_END
public static final int STATUS_CALIBRATION_FAILED
public static final int STATUS_DIAGNOSTIC
public static final int STATUS_CONNECTION_FAILURE
public static final int STATUS_CONNECTION_RESTORED
public static final int STATUS_MODEM_FAILURE
public static final int STATUS_INTERNAL_FAILURE
public static final int STATUS_MODEM_JAMMING
public static final int STATUS_MODEM_RESTORED
public static final int STATUS_CONFIG_RESET
public static final int STATUS_CONFIG_START
public static final int STATUS_CONFIG_COMPLETE
public static final int STATUS_CONFIG_FAILED
public static final int STATUS_SHUTDOWN
public static final int STATUS_SHUTDOWN_CANCELLED
public static final int STATUS_SUSPEND
public static final int STATUS_RESUME
public static final int STATUS_ROAMING_ON
public static final int STATUS_ROAMING_OFF
public static final int STATUS_ROAMING_UNKNOWN
public static final int STATUS_IMAGE_0
public static final int STATUS_IMAGE_1
public static final int STATUS_IMAGE_2
public static final int STATUS_IMAGE_3
public static final int STATUS_IMAGE_4
public static final int STATUS_IMAGE_LOC_0
public static final int STATUS_IMAGE_LOC_1
public static final int STATUS_IMAGE_LOC_2
public static final int STATUS_IMAGE_LOC_3
public static final int STATUS_IMAGE_LOC_4
public static final int STATUS_RULE_TRIGGER_0
public static final int STATUS_RULE_TRIGGER_1
public static final int STATUS_RULE_TRIGGER_2
public static final int STATUS_RULE_TRIGGER_3
public static final int STATUS_RULE_TRIGGER_4
public static final int STATUS_RULE_TRIGGER_5
public static final int STATUS_RULE_TRIGGER_6
public static final int STATUS_RULE_TRIGGER_7
public static final int[] InputStatusCodes_ON
public static final int[] InputStatusCodes_OFF
public static final int[] OutputStatusCodes_ON
public static final int[] OutputStatusCodes_OFF
public static final int[] GFMI_StopStatus
Constructor Detail |
---|
public StatusCodes()
Method Detail |
---|
public static void initStatusCodes(int[] inclCodes)
inclCodes
- An array of codes to include in the status code list, null to include all codespublic static void AddCode(StatusCodes.Code code)
public static void AddCodes(StatusCodes.Code[] codeList)
public static StatusCodes.Code RemoveCode(int sc)
public static void RemoveCodes(int[] cList)
public static OrderedSet<java.lang.Integer> GetStatusCodeList()
public static OrderedMap<java.lang.Integer,java.lang.String> GetDescriptionMap(java.util.Locale locale)
locale
- The Locale
public static StatusCodes.Code GetCode(int code, BasicPrivateLabel bpl)
public static StatusCodes.Code GetCode(java.lang.String name, BasicPrivateLabel bpl)
public static int ParseCode(java.lang.String codeStr, BasicPrivateLabel bpl, int dftCode)
codeStr
- The status code namebpl
- The BasicPrivateLabel instancedftCode
- The default status code value to return if the "codeStr" cannot be parsed
public static java.lang.String GetName(int code, BasicPrivateLabel bpl)
code
- The status codebpl
- The BasicPrivateLabel instance
public static StatusCodeProvider GetStatusCodeProvider(int code, BasicPrivateLabel bpl)
code
- The status codebpl
- The BasicPrivateLabel instance
public static boolean SetDescription(int code, java.lang.String desc)
code
- The status codedesc
- The status code description
public static java.lang.String GetDescription(int code, BasicPrivateLabel bpl)
code
- The status codebpl
- The BasicPrivateLabel instance
public static java.lang.String GetDesc(int code, BasicPrivateLabel bpl)
code
- The status codebpl
- The BasicPrivateLabel instance
public static java.lang.String GetDesc(int code)
code
- The status code
public static java.lang.String ToString(int code)
code
- The status code
public static boolean SetIconName(int code, java.lang.String iconName)
public static java.lang.String GetIconName(int code, BasicPrivateLabel pl)
public static java.lang.String GetHex(int code)
code
- The status code
public static java.lang.String GetHex(long code)
code
- The status code
public static boolean IsReserved(int code)
code
- The status code
public static boolean IsValid(int code, BasicPrivateLabel pl)
code
- The status codepl
- The BasicPrivateLabel instance
public static boolean IsHighPriority(int code, BasicPrivateLabel pl)
code
- The status codepl
- The BasicPrivateLabel instance
public static int GetDigitalInputIndex(int code)
code
- The status code
public static boolean IsIgnition(int code)
code
- The status code
public static boolean IsDigitalInputOn(int code, boolean inclIgn)
code
- The status code
public static boolean IsDigitalInputOff(int code, boolean inclIgn)
code
- The status code
public static boolean IsDigitalInput(int code, boolean inclIgn)
code
- The status codeinclIgn
- True to include ignition state
public static int GetDigitalInputStatusCode(int ndx, boolean state)
ndx
- The DigitalInput indexstate
- The DigitalInput state (true="on", false="off")
public static int GetDigitalOutputStatusCode(int ndx, boolean state)
ndx
- The DigitalOutput indexstate
- The DigitalOutput state (true="on", false="off")
public static boolean IsAnalog(int code)
code
- The status code
public static int GetAnalogStatusCode(int ndx, boolean state)
ndx
- The Analog index
public static boolean IsRuleTrigger(int code)
code
- The status code
public static boolean IsLocation(int code)
code
- The status code
public static boolean IsDiscardable(int code)
code
- The status code
public static boolean IsSpeeding(int code)
code
- The status code
public static boolean IsGeozoneTransition(int code)
code
- The status code
public static boolean IsGeozoneArrive(int code)
code
- The status code
public static boolean IsGeozoneDepart(int code)
code
- The status code
public static boolean IsEntityState(int code)
code
- The status code
public static boolean IsEntityConnect(int code)
code
- The status code
public static boolean IsEntityDisconnect(int code)
code
- The status code
public static boolean IsEntityInventory(int code)
code
- The status code
public static boolean IsAcceleration(int code)
code
- The status code
public static boolean IsDeceleration(int code)
code
- The status code
public static boolean IsBraking(int code)
code
- The status code
public static boolean IsCornering(int code)
code
- The status code
public static boolean IsImage(int code)
code
- The status code
public static int GetImageStatusCode(int ndx, boolean loc)
ndx
- The Image indexloc
- The Image location state (true="Location", false="Non-Location")
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |