共用方式為


RemoteOrderDisplay.VideoSound(DeviceUnits, Int32, Int32, Int32, Int32) Method

Definition

Sounds the video enunciator for the specified units.

public abstract void VideoSound (Microsoft.PointOfService.DeviceUnits units, int frequency, int duration, int numberOfCycles, int interSoundWait);
abstract member VideoSound : Microsoft.PointOfService.DeviceUnits * int * int * int * int -> unit
Public MustOverride Sub VideoSound (units As DeviceUnits, frequency As Integer, duration As Integer, numberOfCycles As Integer, interSoundWait As Integer)

Parameters

units
DeviceUnits

The unit(s) to operate on.

frequency
Int32

Tone frequency in Hertz.

duration
Int32

Tone duration in milliseconds.

numberOfCycles
Int32

If WaitForever, then start tone sounding and, repeat continuously. Otherwise, perform the specified number of cycles.

interSoundWait
Int32

When numberOfCycles is not 1, then pause for interSoundWait milliseconds before repeating the tone cycle (that is, before playing the tone again).

Applies to