Class CreateRgb1Payload
Represents an operator that creates a message payload that specifies the state of the RGB1 LED channels.
public class CreateRgb1Payload
- Inheritance
-
CreateRgb1Payload
- 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 RGB1 LED channels.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the Rgb1 register.
GetPayload()
Creates a message payload for the Rgb1 register.
public RgbPayload GetPayload()
Returns
- RgbPayload
The created message payload value.