public class D2A extends TaggedDevice implements TaggedActuator
branchVector, channel, clusterName, DeviceContainer, DeviceType, init, label, max, min, state
Constructor and Description |
---|
D2A()
Creates an object for the device.
|
D2A(DSPortAdapter adapter,
java.lang.String netAddress)
Creates an object for the device with the supplied address connected
to the supplied port adapter.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getSelections()
Get the possible selection states of this actuator
|
void |
initActuator()
Initializes the actuator
|
void |
setSelection(java.lang.String selection)
Set the selection of this actuator
|
equals, getBranches, getChannel, getChannelAsString, getClusterName, getDeviceContainer, getDeviceType, getInit, getLabel, getMax, getMin, getOWPath, hashCode, setBranches, setChannel, setChannelFromString, setClusterName, setDeviceContainer, setDeviceType, setInit, setLabel, setOWPath, setOWPath, toString
public D2A()
public D2A(DSPortAdapter adapter, java.lang.String netAddress)
adapter
- The adapter serving the actuator.netAddress
- The 1-Wire network address of the actuator.public java.util.Vector getSelections()
getSelections
in interface TaggedActuator
public void setSelection(java.lang.String selection) throws OneWireException
setSelection
in interface TaggedActuator
The
- selection string.OneWireException
OneWireIOException
- on a 1-Wire communication error such as
reading an incorrect CRC from a 1-Wire device. This could be
caused by a physical interruption in the 1-Wire Network due to
shorts or a newly arriving 1-Wire device issuing a 'presence pulse'.public void initActuator() throws OneWireException
initActuator
in interface TaggedActuator
Init
- The initialization string.OneWireException
OneWireIOException
- on a 1-Wire communication error such as
reading an incorrect CRC from a 1-Wire device. This could be
caused by a physical interruption in the 1-Wire Network due to
shorts or a newly arriving 1-Wire device issuing a 'presence pulse'.Copyright © 1999-2012 Maxim Integrated Products. All Rights Reserved.