Class CreateSoundIndexDI2Payload
Represents an operator that creates a message payload that specifies the sound index to be played when triggering DI2.
public class CreateSoundIndexDI2Payload
- Inheritance
-
CreateSoundIndexDI2Payload
- Derived
- Inherited Members
Properties
SoundIndexDI2
Gets or sets the value that specifies the sound index to be played when triggering DI2.
public byte SoundIndexDI2 { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that specifies the sound index to be played when triggering DI2.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the SoundIndexDI2 register.
GetPayload()
Creates a message payload for the SoundIndexDI2 register.
public byte GetPayload()
Returns
- byte
The created message payload value.