Class CreateLed0PowerPayload
Represents an operator that creates a message payload that sets the power to LED0, between 1 and 120 (arbitrary units).
public class CreateLed0PowerPayload
- Inheritance
-
CreateLed0PowerPayload
- Derived
- Inherited Members
Properties
Led0Power
Gets or sets the value that sets the power to LED0, between 1 and 120 (arbitrary units).
[Range(1, 120)]
public byte Led0Power { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that sets the power to LED0, between 1 and 120 (arbitrary units).
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the Led0Power register.
GetPayload()
Creates a message payload for the Led0Power register.
public byte GetPayload()
Returns
- byte
The created message payload value.