|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsafehome.device.DeviceAbstractSensor
safehome.device.DeviceWinDoorSensor
public class DeviceWinDoorSensor
Field Summary |
---|
Fields inherited from class safehome.device.DeviceAbstractSensor |
---|
head_MotionDetector, head_WinDoorSensor, newIdSequence_MotionDetector, newIdSequence_WinDoorSensor, next, safeHomeSensorTest, sensorID |
Constructor Summary | |
---|---|
DeviceWinDoorSensor()
|
Method Summary | |
---|---|
void |
disable()
Disables the sensor. |
void |
enable()
Enables the sensor to detect intrusion. |
int |
getID()
Returns a sensor ID. |
void |
intrude()
Note: This method is public as a virtual device implementation side effect. |
boolean |
isEnabled()
Tests the sensor is enabled or not. |
boolean |
read()
Reads the status of the sensor. |
void |
release()
Note: This method is public as a virtual device implementation side effect. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeviceWinDoorSensor()
Method Detail |
---|
public void intrude()
DeviceAbstractSensor
intrude
in class DeviceAbstractSensor
public void release()
DeviceAbstractSensor
release
in class DeviceAbstractSensor
public int getID()
interfaceSensor
getID
in interface interfaceSensor
public boolean read()
interfaceSensor
read
in interface interfaceSensor
public void enable()
interfaceSensor
enable
in interface interfaceSensor
public void disable()
interfaceSensor
disable
in interface interfaceSensor
public boolean isEnabled()
interfaceSensor
isEnabled
in interface interfaceSensor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |