public class SceneProfileAttributes
extends java.lang.Object
SceneProfileAttributes
is a crude representation of
Scene properties for a device (UDNode
)Modifier and Type | Field and Description |
---|---|
java.lang.String |
cleanupRetries
The number of cleanup message retries
|
java.lang.String |
controllerNode
If this object describes the scene attributes for a controller/responder
scenario, then "controllerNode" attribute is the address of the controlling
node.
|
java.lang.String |
coolSetpoint
The cool setpoint for a Thermostat
|
java.lang.String |
energyMode
The energy mode for a TempLinc Thermostat
|
java.lang.String |
fanState
The fan state for a Thermostat
|
java.lang.String |
heatSetpoint
The cool setpoint for a Thermostat
|
java.lang.String |
node
The
UDNode 's address for which we have
the onLevel and rampRate defined based on a "scene" or a
"controllerNode" such as KeypadLinc (when plays the role of master
in the scene) |
java.lang.String |
onLevel
The on level for the scene
|
java.lang.String |
rampRate
The ramp rate for the scene
|
java.lang.String |
scene
The scene to which this node belongs to.
|
java.lang.String |
thermostatMode
The mode for a Thermostat
|
Constructor and Description |
---|
SceneProfileAttributes() |
Modifier and Type | Method and Description |
---|---|
static java.util.Hashtable<java.lang.String,SceneProfileAttributes> |
getSceneAttributes(UDProxyDevice device,
java.lang.String scene_id,
java.lang.String node)
Returns a
Hashtable of SceneProfileAttributes for a given
scene or controller |
static java.util.Hashtable<java.lang.String,SceneProfileAttributes> |
getSceneCtlAttributes(UDProxyDevice device,
java.lang.String ctlAddress) |
boolean |
hasAdvanced() |
void |
setDefaults()
Sets defaults for all values
|
void |
setHasAdvanced(boolean v) |
public java.lang.String node
UDNode
's address for which we have
the onLevel and rampRate defined based on a "scene" or a
"controllerNode" such as KeypadLinc (when plays the role of master
in the scene)public java.lang.String onLevel
public java.lang.String rampRate
public java.lang.String fanState
public java.lang.String thermostatMode
public java.lang.String heatSetpoint
public java.lang.String coolSetpoint
public java.lang.String energyMode
public java.lang.String cleanupRetries
public java.lang.String scene
public java.lang.String controllerNode
public boolean hasAdvanced()
public void setHasAdvanced(boolean v)
public void setDefaults()
public static java.util.Hashtable<java.lang.String,SceneProfileAttributes> getSceneAttributes(UDProxyDevice device, java.lang.String scene_id, java.lang.String node)
Hashtable
of SceneProfileAttributes
for a given
scene or controllerdevice
- - the UDProxyDevice
to which the "node" belongs toscene_id
- - the address of the scene or controller depending on what we are
afternode
- - the controller (in case we are after a controller) or equals to scene_idHashtable
of SceneProfileAttributes
The format of the DIML/XML is as follows
public static java.util.Hashtable<java.lang.String,SceneProfileAttributes> getSceneCtlAttributes(UDProxyDevice device, java.lang.String ctlAddress)