public class ZwaveMultilevelSensor extends ZwaveDevice implements ej.basedriver.MultilevelSensor, SendDataListener
RequestFrameListener.RequestFrameError
node
Constructor and Description |
---|
ZwaveMultilevelSensor(ZwaveNode node) |
Modifier and Type | Method and Description |
---|---|
void |
callbackComplete(byte[] bytes,
int commandClassIndex) |
double |
getLastKnownValue() |
ZwaveNode |
getNode() |
void |
notifyComplete() |
void |
notifyError(RequestFrameListener.RequestFrameError error) |
void |
requestUpdate() |
void |
setValue(double value)
Sets the value.
|
getDescriptor, getName, getParent
public ZwaveMultilevelSensor(ZwaveNode node)
node
- public void setValue(double value)
value
- the value to set.public double getLastKnownValue()
getLastKnownValue
in interface ej.basedriver.MultilevelSensor
public void requestUpdate() throws java.io.IOException
requestUpdate
in interface ej.basedriver.MultilevelSensor
java.io.IOException
public void notifyComplete()
notifyComplete
in interface RequestFrameListener
public void notifyError(RequestFrameListener.RequestFrameError error)
notifyError
in interface RequestFrameListener
public ZwaveNode getNode()
getNode
in interface SendDataListener
public void callbackComplete(byte[] bytes, int commandClassIndex)
callbackComplete
in interface SendDataListener