|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.lddi.fs20.devicemodel.FS20Device
public class FS20Device
One FS20 Device with all additional properties. This device is registered in OSGi framework
Field Summary | |
---|---|
protected org.osgi.service.log.LogService |
logger
|
Constructor Summary | |
---|---|
FS20Device()
empty constructor for factory |
Method Summary | |
---|---|
String |
getDeviceCode()
Get the DeviceCode |
String |
getDeviceDescription()
Get the device description |
String |
getDeviceLocation()
Get the device location |
String |
getDeviceName()
Get the device name |
FS20DeviceTypes |
getDeviceType()
Get the device type |
String |
getDeviceURI()
Get the device URI |
String |
getFunctionDescription()
Get the function description |
String |
getHouseCode()
Get the HouseCode |
protected void |
setConnection(FHZ1000PC connection)
|
void |
setParams(FS20DeviceProperties fs20DeviceProps)
Fill empty device with parameters and set it alive |
void |
setParams(FS20DeviceProperties fs20DeviceProps,
org.osgi.service.log.LogService logger)
Fill empty device with parameters and set it alive |
protected void |
write(String houseCode,
String deviceCode,
Byte button)
Sends a FS20 command to the FS20 bus |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.osgi.service.log.LogService logger
Constructor Detail |
---|
public FS20Device()
Method Detail |
---|
protected void setConnection(FHZ1000PC connection)
public void setParams(FS20DeviceProperties fs20DeviceProps, org.osgi.service.log.LogService logger)
fs20DeviceProps
- = contains all relevant propertiesnetwork
- = the conntected FS20 networklogger
- = logging servicepublic void setParams(FS20DeviceProperties fs20DeviceProps)
fs20DeviceProps
- = contains all relevant propertiesnetwork
- = the conntected FS20 networklogger
- = logging servicepublic String getDeviceLocation()
public String getDeviceURI()
public String getDeviceName()
public String getHouseCode()
public String getDeviceCode()
public String getDeviceDescription()
public String getFunctionDescription()
public FS20DeviceTypes getDeviceType()
protected void write(String houseCode, String deviceCode, Byte button) throws IOException
houseCode
- = the houseCode of the devicedeviceCode
- = the deviceCode of the devicebutton
- = the control function
IOException
- = exception if something went wrong with the communication
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |