public class ZwaveDryContact extends ZwaveDevice implements ej.basedriver.DryContact
node
Constructor and Description |
---|
ZwaveDryContact(ZwaveNode node) |
Modifier and Type | Method and Description |
---|---|
int |
getLastKnownState() |
void |
setState(int newBinaryState)
Update the last known state of the switch.
|
getDescriptor, getName, getParent
public ZwaveDryContact(ZwaveNode node)
public void setState(int newBinaryState)
newBinaryState
- the new state of the switchpublic int getLastKnownState()
getLastKnownState
in interface ej.basedriver.DryContact