Table of Contents

Class CreateEnablePowerPayload

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

Represents an operator that creates a message payload that control the enable of both LEDs' power supply.

public class CreateEnablePowerPayload
Inheritance
CreateEnablePowerPayload
Derived
Inherited Members

Properties

EnablePower

Gets or sets the value that control the enable of both LEDs' power supply.

public LedState EnablePower { get; set; }

Property Value

LedState

Methods

GetMessage(MessageType)

Creates a message that control the enable of both LEDs' power supply.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the EnablePower register.

GetPayload()

Creates a message payload for the EnablePower register.

public LedState GetPayload()

Returns

LedState

The created message payload value.