Class GenericLevelStatus
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.GenericLevelStatus
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
ConstructorsConstructorDescriptionGenericLevelStatus
(AccessMessage message) Constructs GenericLevelStatus message -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the opCode of this messagefinal int
Returns the present level of the GenericOnOffModelfinal Integer
Returns the target level of the GenericOnOffModelint
Returns the transition resolution.int
Returns the transition steps.Methods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.GenericStatusMessage
getAid, getAkf, getParameters, getSrcAddress
Methods inherited from class org.openremote.agent.protocol.bluetooth.mesh.transport.MeshMessage
getAszmic, getDst, getMessage, getMessageTtl, getSrc, setMessageTtl
-
Field Details
-
LOG
-
-
Constructor Details
-
GenericLevelStatus
Constructs GenericLevelStatus message- Parameters:
message
- access message
-
-
Method Details
-
getOpCode
public int getOpCode()Description copied from class:MeshMessage
Returns the opCode of this message- Specified by:
getOpCode
in classMeshMessage
- Returns:
- opcode
-
getPresentLevel
public final int getPresentLevel()Returns the present level of the GenericOnOffModel- Returns:
- present level
-
getTargetLevel
Returns the target level of the GenericOnOffModel- Returns:
- target level
-
getTransitionSteps
public int getTransitionSteps()Returns the transition steps.- Returns:
- transition steps
-
getTransitionResolution
public int getTransitionResolution()Returns the transition resolution.- Returns:
- transition resolution
-