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 TypeMethodDescriptionintReturns the opCode of this messagefinal intReturns the present level of the GenericOnOffModelfinal IntegerReturns the target 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
-
GenericLevelStatus
Constructs GenericLevelStatus 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
-
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
-