public class WifsipTelescopeCaster extends TelescopeSubsidiaryCaster implements Focusable
TelescopeCaster.TestPropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private static double |
DEFMAXIMUMFOCUS
Soft limit for minimum focus (hard at 89.).
|
private static double |
DEFMINIMUMFOCUS
Soft limit for minimum focus (hard at 0.).
|
static String |
KEY_MAXIMUMFOCUS
The minimum focus we allow with this method.
|
static String |
KEY_MINIMUMFOCUS
The minimum focus we allow with this method.
|
KEY_ACKNOWLEDGECASTER, KEY_ACKNOWLEDGETIMEOUT, KEY_ALARMGROUP, KEY_BIND, KEY_DONECASTERKEY_ALIVE, KEY_EXPORTPORT, KEY_INIT, KEY_LISTENERNAME, KEY_RETRY, KEY_RETRYSLEEP, KEY_SHUTDOWNDELAYKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORNAMING_EXTENSIONCONFIG, KEY_CLASSKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME| Constructor and Description |
|---|
WifsipTelescopeCaster(Map<String,String> prop)
Export of object is already done in the caster torso constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getMaximumFocus()
Returns the maximum focus step this unit can reach, which is
less than 80 something.
|
double |
getMinimumFocus()
Returns the minimum focus step this unit can reach, which is > 0.
|
long |
getTimeoutFor(TelescopeCommand tc)
For focus telescope commands we return an appropriate time.
|
boolean |
setFocus(double mm)
To set a focus offset, we cast an offset command and wait.
|
boolean |
setFocusOffset(double mm)
To set a focus offset, we cast an offset command and wait.
|
castCommandAndWait, castCommandAndWait, castCommandNoWait, clearAll, getActiveCommands, getShutdownCommand, handles, initgetExitCommandaddRmiCommandListener, announceInterest, castCommand, deregisterAtCaster, exit, getAcknowledgeTimeOut, getAlarmGroup, getClientName, isReady, recastCommand, registerAtCaster, registerReplySubscriber, removeRmiCommandListener, rmiGotAcknowledge, rmiGotDone, setOff, toStringaddErrorListener, addRmiErrorListener, bindToRegistry, getBindName, isValid, notifyErrorListener, removeErrorListener, removeRmiErrorListener, sendError, sendError, sendError, sendStatus, sendStatus, sendStatus, unbindFromRegistryallBound, blockBinding, blockBinding, disconnect, getIP, getListenerName, isConnected, listenerName, releaseBinding, releaseBinding, rescanned, startBinding, startBindingcontainsRemoteProperty, getRemoteProperties, getRemoteProperty, setRemotePropertyclone, createFrom, createFrom, createFrom, createInstance, getApplet, getAsResources, getLocate, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, hasLocalURLs, initProperties, keyCreate, keyCreate, reload, setAppletaugment, augment, augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, parseObject, reload, removeProperty, requires, setObject, setProperties, setProperty, stringPropertiesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetListenerNamedisconnect, isConnectedbindToRegistry, isValid, unbindFromRegistryaddErrorListener, removeErrorListenerdefaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringPropertiespublic static final String KEY_MINIMUMFOCUS
public static final String KEY_MAXIMUMFOCUS
private static final double DEFMAXIMUMFOCUS
private static final double DEFMINIMUMFOCUS
public WifsipTelescopeCaster(Map<String,String> prop) throws RemoteException
RemoteExceptionpublic double getMinimumFocus()
getMinimumFocus in interface Focusablepublic double getMaximumFocus()
getMaximumFocus in interface Focusablepublic long getTimeoutFor(TelescopeCommand tc)
getTimeoutFor in class TelescopeSubsidiaryCasterpublic boolean setFocusOffset(double mm)
setFocusOffset in interface Focusable