public class GasAlarmSystemApplication extends EmptyDeviceListener
| Modifier and Type | Field and Description |
|---|---|
Boolean |
co2LevelTooHigh |
static double |
SEUIL_CO2_CRITIC |
| Constructor and Description |
|---|
GasAlarmSystemApplication() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindBinaryLight(BinaryLight binaryLight,
Map properties)
Bind Method for null dependency
|
void |
bindCarbonDioxydeSensor(CarbonDioxydeSensor carbonDioxydeSensor,
Map properties)
Bind Method for null dependency
|
void |
deviceAdded(GenericDevice arg0)
Callback notifying the addition of a device to the platform.
|
void |
devicePropertyAdded(GenericDevice arg0,
String arg1)
Callback notifying the addition of a property on the device listened.
|
void |
devicePropertyModified(GenericDevice device,
String propertyName,
Object oldValue,
Object newValue)
Callback notifying the modification of a property on the device listened.
|
void |
devicePropertyRemoved(GenericDevice arg0,
String arg1)
Callback notifying the elimination of a property on the device listened.
|
void |
deviceRemoved(GenericDevice arg0)
Callback notifying the elimination of a device to the platform.
|
void |
start()
Component Lifecycle Method
|
void |
stop()
Component Lifecycle Method
|
void |
unbindBinaryLight(BinaryLight binaryLight,
Map properties)
Unbind Method for null dependency
|
void |
unbindCarbonDioxydeSensor(CarbonDioxydeSensor carbonDioxydeSensor,
Map properties)
Unbind Method for null dependency
|
deviceEventpublic static double SEUIL_CO2_CRITIC
public Boolean co2LevelTooHigh
public void bindBinaryLight(BinaryLight binaryLight, Map properties)
public void unbindBinaryLight(BinaryLight binaryLight, Map properties)
public void bindCarbonDioxydeSensor(CarbonDioxydeSensor carbonDioxydeSensor, Map properties)
public void unbindCarbonDioxydeSensor(CarbonDioxydeSensor carbonDioxydeSensor, Map properties)
public void deviceAdded(GenericDevice arg0)
DeviceListenerdeviceAdded in interface DeviceListenerdeviceAdded in class EmptyDeviceListenerarg0 - The device added.public void devicePropertyAdded(GenericDevice arg0, String arg1)
DeviceListenerdevicePropertyAdded in interface DeviceListenerdevicePropertyAdded in class EmptyDeviceListenerarg0 - The devicearg1 - The name of the added propertypublic void devicePropertyModified(GenericDevice device, String propertyName, Object oldValue, Object newValue)
DeviceListenerdevicePropertyModified in interface DeviceListenerdevicePropertyModified in class EmptyDeviceListenerdevice - The devicepropertyName - The name of the modified propertyoldValue - The previous value of the propertynewValue - The new value of the propertypublic void devicePropertyRemoved(GenericDevice arg0, String arg1)
DeviceListenerdevicePropertyRemoved in interface DeviceListenerdevicePropertyRemoved in class EmptyDeviceListenerarg0 - The devicearg1 - The name of the removed propertypublic void deviceRemoved(GenericDevice arg0)
DeviceListenerdeviceRemoved in interface DeviceListenerdeviceRemoved in class EmptyDeviceListenerarg0 - The device removed.public void stop()
public void start()
Copyright © 2012-2013 ADELE Research Group. All Rights Reserved.