com.pentec.aserver.nvlensd.weaponsights
Class DN300Focusd

java.lang.Object
  extended by java.lang.Thread
      extended by com.pentec.aserver.AServerPlugin
          extended by com.pentec.aserver.NetworkPlugin
              extended by com.pentec.aserver.SingleUserNetworkPlugin
                  extended by com.pentec.aserver.nvlensd.NVLensModule
                      extended by com.pentec.aserver.nvlensd.NVEZA2FocusModule
                          extended by com.pentec.aserver.nvlensd.weaponsights.DN300Focusd
All Implemented Interfaces:
java.lang.Runnable

public class DN300Focusd
extends NVEZA2FocusModule

Author:
Pender Technology

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private static int A2_ENCODER_ADDRESS
           
private static int EZ_STEPPER_ADDRESS
           
private static int MAX_MOVEMENT_ATTEMPTS
           
private static java.lang.String NAME
           
private static int RESET_OFFSET
           
private static int START_LOCATION
           
static int TCP_PORT
           
private static int TOP_SPEED_IN_POSITION_MODE
           
private static java.lang.String VERSION
           
 
Fields inherited from class com.pentec.aserver.nvlensd.NVEZA2FocusModule
a2EncoderComm, a2EncoderComPort, ezStepperComm, ezStepperComPort, iA2EncoderAddress, iEZStepperAddress, iMaxMovementAttempts, iResetOffset, isInUse, iStartLocation, iTopSpeedInPositionMode
 
Fields inherited from class com.pentec.aserver.NetworkPlugin
iTcpPort, serverSocket
 
Fields inherited from class com.pentec.aserver.AServerPlugin
isOkToRun, SIG_INIT_FAILED, SIG_INITIALIZING, SIG_QUITTING, SIG_RUNNING, STATE_INIT_FAILED, STATE_INITIALIZING, STATE_QUITTING, STATE_RUNNING, STATE_STARTING, STATE_WAITING_TO_START, vPlugins
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DN300Focusd(javax.comm.SerialPort ezStepperComPort, javax.comm.SerialPort a2EncoderComPort)
           
 
Method Summary
 
Methods inherited from class com.pentec.aserver.nvlensd.NVEZA2FocusModule
close, getPosition, open, resetToOrigin, setPosition, waitOnMovement
 
Methods inherited from class com.pentec.aserver.nvlensd.NVLensModule
getSingleUserConnectionHandler, initialize, isInUse, setIsInUse, shutdown
 
Methods inherited from class com.pentec.aserver.SingleUserNetworkPlugin
getConnectionHandler
 
Methods inherited from class com.pentec.aserver.NetworkPlugin
isOkToRun, run
 
Methods inherited from class com.pentec.aserver.AServerPlugin
getFullyQualifiedPluginName, getNumPlugins, getPluginInstanceIdentifier, getPluginName, getPluginState, getPluginStateByName, getPluginVersion, setPluginInstanceIdentifier, signalInitFailed, signalInitializing, signalQuitting, signalRunning, startPlugin, stopPlugin, toString, writeLog, writeLog
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

A2_ENCODER_ADDRESS

private static final int A2_ENCODER_ADDRESS
See Also:
Constant Field Values

EZ_STEPPER_ADDRESS

private static final int EZ_STEPPER_ADDRESS
See Also:
Constant Field Values

MAX_MOVEMENT_ATTEMPTS

private static final int MAX_MOVEMENT_ATTEMPTS
See Also:
Constant Field Values

NAME

private static final java.lang.String NAME
See Also:
Constant Field Values

RESET_OFFSET

private static final int RESET_OFFSET
See Also:
Constant Field Values

START_LOCATION

private static final int START_LOCATION
See Also:
Constant Field Values

TCP_PORT

public static final int TCP_PORT
See Also:
Constant Field Values

TOP_SPEED_IN_POSITION_MODE

private static final int TOP_SPEED_IN_POSITION_MODE
See Also:
Constant Field Values

VERSION

private static final java.lang.String VERSION
See Also:
Constant Field Values
Constructor Detail

DN300Focusd

public DN300Focusd(javax.comm.SerialPort ezStepperComPort,
                   javax.comm.SerialPort a2EncoderComPort)