public class AdcFocusShift extends AbstractValue implements ParameterDepending
Positioning driver, which is useful
if this driver is a filter wheel. This parameter is driver depending and
keeps a reference to Positioning, if this driver has the correct
name in #KEY_FILTERWHEEL. Setting the value is not allowed, on
get, the filter wheel position is returned as an Integer.PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private Parameter |
adc |
private static String |
DEFADC
We have a look-up table linking integer positions to ADCs.
|
static double |
DEFMUFOCUS
Mu for one focus step.
|
static String |
DEFNAME
The default name.
|
static String |
KEY_ADC
The name of the ADC parameter.
|
static String |
KEY_MUFOCUS
An focus offset in mu transformed to appropriate units.
|
KEY_FORMAT, KEY_NAME, KEY_PRESERVE, UNKNOWNKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASSKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME| Constructor and Description |
|---|
AdcFocusShift(Map<String,String> prop)
Constructs a new filter wheel parameter, defaulting its name and
the name of the
Positioning driver. |
| Modifier and Type | Method and Description |
|---|---|
Number |
getValue()
Tries to get the focus shift of the current ADC in steps.
|
void |
registerParameter(Parameter wheel)
A parameter depending command should drain the necessarry information
to get valid out of a parameter value.
|
Number |
setValue(Number to)
Not allowed
|
get, setcreateParameter, delivers, exit, getFormatted, getFormatted, getName, getPreserveFile, getString, getString, init, overrideDefaultName, register, rescanned, setName, toStringclone, 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, waitgetFormatted, getName, getStringdefaultBoolean, 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, stringPropertiesinitpublic static final String KEY_ADC
public static final String KEY_MUFOCUS
public static final String DEFNAME
private static final String DEFADC
public static final double DEFMUFOCUS
private Parameter adc
public AdcFocusShift(Map<String,String> prop)
Positioning driver.public void registerParameter(Parameter wheel)
ParameterDependingregisterParameter in interface ParameterDependingpublic Number getValue()