stella.telescope
Class CabinetSwitch
java.lang.Object
util.PropertyContainer
util.PropertyResources
util.PropertyBundles
stella.parameter.AbstractParameter
stella.parameter.AbstractTrigger
stella.parameter.SimpleTrigger
stella.parameter.AbstractSwitch
stella.parameter.RS485Switch
stella.telescope.CabinetSwitch
- All Implemented Interfaces:
- DriverDepending, Cloneable, Parameter, Switch, Trigger, ExitCleaning, Initializable, LocalizedSupplying, PropertySupplying, Reloadable, ResourceSupplying
public class CabinetSwitch
- extends RS485Switch
A switch to turn the power in the switch cabinet of the telescope on and
off. It defaults to an RS485-relay with address 35. Its state on means
that the cabinet is without power.
|
Constructor Summary |
CabinetSwitch(Map prop)
Constructs a new living reference of a cabinet switch. |
| Methods inherited from class stella.parameter.AbstractParameter |
createParameter, delivers, exit, getFormatted, getFormatted, getName, getPreserveFile, getString, getString, register, setName, toString |
| Methods inherited from class util.PropertyResources |
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
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, reload, removeProperty, setObject, setProperties, setProperty, stringProperties |
| Methods inherited from interface util.PropertySupplying |
defaultBoolean, 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, stringProperties |
DEFNAME
public static final String DEFNAME
- The default parameter name.
- See Also:
- Constant Field Values
DEFSERIAL
private static final String DEFSERIAL
- The default serial driver name.
- See Also:
- Constant Field Values
DEFSWITCHON
private static final String DEFSWITCHON
- The default serial command to switch on the light.
- See Also:
- Constant Field Values
DEFSWITCHOFF
private static final String DEFSWITCHOFF
- The default serial command to switch on the light.
- See Also:
- Constant Field Values
CabinetSwitch
public CabinetSwitch(Map prop)
- Constructs a new living reference of a cabinet switch.