Class CreateRgb0Payload
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
Green
Gets or sets a value that the intensity of the green channel in the RGB LED.
public byte Green { get; set; }
Property Value
Red
Gets or sets a value that the intensity of the red channel in the RGB LED.
public byte Red { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that specifies the state of the RGB0 LED channels.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies 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.