Table of Contents

Class CreateRgbAllPayload

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

Represents an operator that creates a message payload that specifies the state of all RGB LED channels.

public class CreateRgbAllPayload
Inheritance
CreateRgbAllPayload
Derived
Inherited Members

Properties

Blue0

Gets or sets a value that the intensity of the blue channel in the RGB0 LED.

public byte Blue0 { get; set; }

Property Value

byte

Blue1

Gets or sets a value that the intensity of the blue channel in the RGB1 LED.

public byte Blue1 { get; set; }

Property Value

byte

Green0

Gets or sets a value that the intensity of the green channel in the RGB0 LED.

public byte Green0 { get; set; }

Property Value

byte

Green1

Gets or sets a value that the intensity of the green channel in the RGB1 LED.

public byte Green1 { get; set; }

Property Value

byte

Red0

Gets or sets a value that the intensity of the red channel in the RGB0 LED.

public byte Red0 { get; set; }

Property Value

byte

Red1

Gets or sets a value that the intensity of the red channel in the RGB1 LED.

public byte Red1 { get; set; }

Property Value

byte

Methods

GetMessage(MessageType)

Creates a message that specifies the state of all RGB LED channels.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the RgbAll register.

GetPayload()

Creates a message payload for the RgbAll register.

public RgbAllPayload GetPayload()

Returns

RgbAllPayload

The created message payload value.