Table of Contents

Class CreateRgb0Payload

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

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

public class CreateRgb0Payload
Inheritance
CreateRgb0Payload
Derived
Inherited Members

Properties

Blue

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

public byte Blue { get; set; }

Property Value

byte

Green

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

public byte Green { get; set; }

Property Value

byte

Red

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

public byte Red { get; set; }

Property Value

byte

Methods

GetMessage(MessageType)

Creates a message that specifies the state of the RGB0 LED channels.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Rgb0 register.

GetPayload()

Creates a message payload for the Rgb0 register.

public RgbPayload GetPayload()

Returns

RgbPayload

The created message payload value.