Table of Contents

Class CreateLed1PowerPayload

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

Represents an operator that creates a message payload that sets the power to LED1, between 1 and 120 (arbitrary units).

public class CreateLed1PowerPayload
Inheritance
CreateLed1PowerPayload
Derived
Inherited Members

Properties

Led1Power

Gets or sets the value that sets the power to LED1, between 1 and 120 (arbitrary units).

[Range(1, 120)]
public byte Led1Power { get; set; }

Property Value

byte

Methods

GetMessage(MessageType)

Creates a message that sets the power to LED1, between 1 and 120 (arbitrary units).

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Led1Power register.

GetPayload()

Creates a message payload for the Led1Power register.

public byte GetPayload()

Returns

byte

The created message payload value.