Table of Contents

Class CreateCommandsPayload

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

Represents an operator that creates a message payload that send commands to PIC32 micro-controller.

public class CreateCommandsPayload
Inheritance
CreateCommandsPayload
Derived
Inherited Members

Properties

Commands

Gets or sets the value that send commands to PIC32 micro-controller.

public ControllerCommand Commands { get; set; }

Property Value

ControllerCommand

Methods

GetMessage(MessageType)

Creates a message that send commands to PIC32 micro-controller.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Commands register.

GetPayload()

Creates a message payload for the Commands register.

public ControllerCommand GetPayload()

Returns

ControllerCommand

The created message payload value.