Class GenericOnOffStatus


public final class GenericOnOffStatus extends GenericStatusMessage
To be used as a wrapper class for when creating the GenericOnOffStatus Message.
  • Field Details

    • LOG

      public static final Logger LOG
  • Constructor Details

    • GenericOnOffStatus

      public GenericOnOffStatus(AccessMessage message)
      Constructs the GenericOnOffStatus mMessage.
      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 class MeshMessage
      Returns:
      opcode
    • getPresentState

      public final boolean getPresentState()
      Returns the present state of the GenericOnOffModel
      Returns:
      true if on and false other wise
    • getTargetState

      public final Boolean getTargetState()
      Returns the target state of the GenericOnOffModel
      Returns:
      true if on and false other wise
    • getTransitionSteps

      public int getTransitionSteps()
      Returns the transition steps.
      Returns:
      transition steps
    • getTransitionResolution

      public int getTransitionResolution()
      Returns the transition resolution.
      Returns:
      transition resolution