Class CreateEnablePowerPayload
Represents an operator that creates a message payload that control the enable of both LEDs' power supply.
public class CreateEnablePowerPayload
- Inheritance
-
CreateEnablePowerPayload
- Derived
- Inherited Members
Properties
EnablePower
Gets or sets the value that control the enable of both LEDs' power supply.
public LedState EnablePower { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that control the enable of both LEDs' power supply.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the EnablePower register.
GetPayload()
Creates a message payload for the EnablePower register.
public LedState GetPayload()
Returns
- LedState
The created message payload value.