public class FS20DeviceProperties extends Object
Constructor and Description |
---|
FS20DeviceProperties(String URI,
String name,
String housecode,
String devicecode,
FS20DeviceTypes type)
Constructor of an incomplete described FS20 Device
|
FS20DeviceProperties(String URI,
String name,
String housecode,
String devicecode,
FS20DeviceTypes type,
String value,
String description,
String functiondescription,
String location)
Constructor of a complete described FS20 Device
|
Modifier and Type | Method and Description |
---|---|
String |
getDevicecode()
Returns the devicecode of the FS20 device
|
String |
getDeviceDescription()
Returns a longer description of the FS20 device
|
FS20DeviceTypes |
getDeviceType()
Returns the device type of the FS20 device
|
String |
getFunctionDesciption()
Returns a longer description of the functionality of the FS20 device
|
String |
getHousecode()
Returns the housecode of the FS20 device
|
String |
getLocation()
Returns the name of the location where the FS20 device is located
|
String |
getMeasurementValue()
Returns the last measured value of the FS20 device
|
String |
getName()
Returns the name of the FS20 device
|
String |
getURI()
Returns the unique device ID of the FS20 device
|
String |
toString()
Returns all properties as a string
|
public FS20DeviceProperties(String URI, String name, String housecode, String devicecode, FS20DeviceTypes type)
URI
- = the unique idname
- = the name of the device, e.g. motiondetector livingroomhousecode
- = the housecode, e.g. 12345678devicecode
- = the devicecode, e.g. 1234type
- = the type of the device, e.g. motionsensor, display, FMS,
gongpublic FS20DeviceProperties(String URI, String name, String housecode, String devicecode, FS20DeviceTypes type, String value, String description, String functiondescription, String location)
URI
- = the unique idname
- = the name of the device, e.g. motiondetector livingroomhousecode
- = the housecode, e.g. 12345678devicecode
- = the devicecode, e.g. 1234type
- = the type of the device, e.g. motionsensor, display, FMS,
gongvalue
- = the last measurement valuedescription
- = a longer description of the device, e.g. where it is or
which pictures it can showfunctiondescription
- = a description of it's function, e.g. measures current of
coffee machinelocation
- = the location of the device, e.g. livingroompublic String getName()
public String getURI()
public String getHousecode()
public String getDevicecode()
public FS20DeviceTypes getDeviceType()
public String getMeasurementValue()
public String getDeviceDescription()
public String getFunctionDesciption()
public String getLocation()
Copyright © 2018 universAAL Consortium. All rights reserved.