Class LightHslStatus
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.GenericStatusMessage
org.openremote.agent.protocol.bluetooth.mesh.transport.LightHslStatus
To be used as a wrapper class to create generic level status message.
-
Field Summary
FieldsFields inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
messageTtl, mMessage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the opCode of this messagefinal intReturns the present level of the GenericOnOffModelfinal intReturns the present level of the GenericOnOffModelfinal intReturns the present level of the GenericOnOffModelintReturns the transition resolution.intReturns the transition steps.Methods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.GenericStatusMessage
getAid, getAkf, getParameters, getSrcAddressMethods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
getAszmic, getDst, getMessage, getMessageTtl, getSrc, setMessageTtl
-
Field Details
-
LOG
-
-
Constructor Details
-
LightHslStatus
Constructs LightHslStatus message- Parameters:
message- access message
-
-
Method Details
-
getOpCode
public int getOpCode()Description copied from class:MeshMessageReturns the opCode of this message- Specified by:
getOpCodein classMeshMessage- Returns:
- opcode
-
getPresentLightness
public final int getPresentLightness()Returns the present level of the GenericOnOffModel- Returns:
- present level
-
getPresentSaturation
public final int getPresentSaturation()Returns the present level of the GenericOnOffModel- Returns:
- present level
-
getPresentHue
public final int getPresentHue()Returns the present level of the GenericOnOffModel- Returns:
- present level
-
getTransitionSteps
public int getTransitionSteps()Returns the transition steps.- Returns:
- transition steps
-
getTransitionResolution
public int getTransitionResolution()Returns the transition resolution.- Returns:
- transition resolution
-