Table of Contents

Class CreateFrequencyDI2Payload

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

Represents an operator that creates a message payload that specifies the sound frequency to be played when triggering DI2.

public class CreateFrequencyDI2Payload
Inheritance
CreateFrequencyDI2Payload
Derived
Inherited Members

Properties

FrequencyDI2

Gets or sets the value that specifies the sound frequency to be played when triggering DI2.

public ushort FrequencyDI2 { get; set; }

Property Value

ushort

Methods

GetMessage(MessageType)

Creates a message that specifies the sound frequency to be played when triggering DI2.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the FrequencyDI2 register.

GetPayload()

Creates a message payload for the FrequencyDI2 register.

public ushort GetPayload()

Returns

ushort

The created message payload value.