Table of Contents

Class CreateEnableLedModePayload

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

Represents an operator that creates a message payload that start/stop the LEDs according to the pulse configuration.

public class CreateEnableLedModePayload
Inheritance
CreateEnableLedModePayload
Derived
Inherited Members

Properties

EnableLedMode

Gets or sets the value that start/stop the LEDs according to the pulse configuration.

public LedState EnableLedMode { get; set; }

Property Value

LedState

Methods

GetMessage(MessageType)

Creates a message that start/stop the LEDs according to the pulse configuration.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the EnableLedMode register.

GetPayload()

Creates a message payload for the EnableLedMode register.

public LedState GetPayload()

Returns

LedState

The created message payload value.