com.ionetrics.lib.annotatorcomm
Enum GenericSynchronousCommands

java.lang.Object
  extended by java.lang.Enum<GenericSynchronousCommands>
      extended by com.ionetrics.lib.annotatorcomm.GenericSynchronousCommands
All Implemented Interfaces:
CommandId, java.io.Serializable, java.lang.Comparable<GenericSynchronousCommands>

public enum GenericSynchronousCommands
extends java.lang.Enum<GenericSynchronousCommands>
implements CommandId

Generic Synchronous Commands


Enum Constant Summary
CMDID_GET_CURRENT_TIME
           
CMDID_GET_CURRENT_TIME_SOURCE
           
CMDID_GET_DEVICE_ID
           
CMDID_GET_DEVICE_NAME
           
CMDID_GET_FIRMWARE_TIMESTAMP
           
CMDID_GET_FIRMWARE_VERSION
           
CMDID_GET_SERIAL_NUMBER
           
CMDID_GET_SUPPORTED_TIME_SOURCES
           
CMDID_GET_TIME_SOURCE_LOCK_STATUS
           
CMDID_GET_TIME_SOURCE_TIMESTAMP_MODE
           
CMDID_NOOP
           
CMDID_SAVE_OPTIONS
           
CMDID_SET_CURRENT_TIME
           
CMDID_SET_CURRENT_TIME_SOURCE
           
CMDID_SET_DEVICE_NAME
           
CMDID_SET_SERIAL_NUMBER
           
CMDID_SET_TIME_SOURCE_TIMESTAMP_MODE
           
 
Method Summary
 short getCmdId()
           
static GenericSynchronousCommands valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GenericSynchronousCommands[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CMDID_NOOP

public static final GenericSynchronousCommands CMDID_NOOP

CMDID_GET_DEVICE_ID

public static final GenericSynchronousCommands CMDID_GET_DEVICE_ID

CMDID_GET_SERIAL_NUMBER

public static final GenericSynchronousCommands CMDID_GET_SERIAL_NUMBER

CMDID_SET_SERIAL_NUMBER

public static final GenericSynchronousCommands CMDID_SET_SERIAL_NUMBER

CMDID_GET_FIRMWARE_VERSION

public static final GenericSynchronousCommands CMDID_GET_FIRMWARE_VERSION

CMDID_GET_FIRMWARE_TIMESTAMP

public static final GenericSynchronousCommands CMDID_GET_FIRMWARE_TIMESTAMP

CMDID_GET_DEVICE_NAME

public static final GenericSynchronousCommands CMDID_GET_DEVICE_NAME

CMDID_SET_DEVICE_NAME

public static final GenericSynchronousCommands CMDID_SET_DEVICE_NAME

CMDID_GET_SUPPORTED_TIME_SOURCES

public static final GenericSynchronousCommands CMDID_GET_SUPPORTED_TIME_SOURCES

CMDID_GET_CURRENT_TIME_SOURCE

public static final GenericSynchronousCommands CMDID_GET_CURRENT_TIME_SOURCE

CMDID_SET_CURRENT_TIME_SOURCE

public static final GenericSynchronousCommands CMDID_SET_CURRENT_TIME_SOURCE

CMDID_GET_CURRENT_TIME

public static final GenericSynchronousCommands CMDID_GET_CURRENT_TIME

CMDID_SET_CURRENT_TIME

public static final GenericSynchronousCommands CMDID_SET_CURRENT_TIME

CMDID_GET_TIME_SOURCE_LOCK_STATUS

public static final GenericSynchronousCommands CMDID_GET_TIME_SOURCE_LOCK_STATUS

CMDID_GET_TIME_SOURCE_TIMESTAMP_MODE

public static final GenericSynchronousCommands CMDID_GET_TIME_SOURCE_TIMESTAMP_MODE

CMDID_SET_TIME_SOURCE_TIMESTAMP_MODE

public static final GenericSynchronousCommands CMDID_SET_TIME_SOURCE_TIMESTAMP_MODE

CMDID_SAVE_OPTIONS

public static final GenericSynchronousCommands CMDID_SAVE_OPTIONS
Method Detail

values

public static final GenericSynchronousCommands[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(GenericSynchronousCommands c : GenericSynchronousCommands.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static GenericSynchronousCommands valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getCmdId

public short getCmdId()
Specified by:
getCmdId in interface CommandId


Copyright © 2006 Ionetrics Corp. All Rights Reserved.