public abstract class FocussingUnit extends AdapterUnit
AdapterUnit that can handle auto
focussing. It is irrelevant whether this is done via the telescope or
some other means, the unit task must deliver an instrument in optimal
focus. This is the behaviour, if the adapter receives an
AUTO_FOCUS_ADAPTER. For absolute values of the focus received
with FOCUS_ADAPTER, or relative with FOCUS_OFFSET_ADAPTER,
the behaviour is similar to the FOCUS_TELESCOPE
command. Here, the setFocus(double) method directly sets the
focus value, if in an allowed range.
If the master has knowledge of transperency deficiancies, the focus
unit supports setting an increase factor. If the focus value is not
accessible directly in the unit, it may ask the adapter master during
the registering process for a Value carrying thisd information.
PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
protected double |
increase
A value set from the outside signaling increased exposure time.
|
ACQUIRETYPE, GUIDERTYPE, PYRAMIDTYPEKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOMECONFIG, KEY_CLASS| Modifier | Constructor and Description |
|---|---|
protected |
FocussingUnit(Map<String,String> prop)
No default settings.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
setFocus(double mm)
Sets the focus to the specified value, in system-depending units.
|
protected abstract boolean |
setFocusOffset(double mm)
Offsets the focus to the specified value, in system-depending units.
|
protected void |
setIncrease(double afteracquire)
Sets the increase value.
|
doUnitTask, getGuider, getMaster, getTelescope, getUnitType, init, isManual, isValid, resetUnit, setGuider, setManual, setMaster, setTelescopeclone, 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, rescanned, setObject, setProperties, setProperty, stringProperties, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefaultBoolean, 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, stringPropertiesprotected double increase
protected void setIncrease(double afteracquire)
protected abstract boolean setFocus(double mm)
protected abstract boolean setFocusOffset(double mm)