/// <summary> /// play the bad sound /// </summary> /// <param name="duration">time to play sound</param> public void BadSound(int duration) { Intermec.Device.Audio.Tone goodTone = new Intermec.Device.Audio.Tone(500, duration, Intermec.Device.Audio.Tone.VOLUME.VERY_LOUD); goodTone.Play(); }
/// <summary> /// play the good sound /// </summary> /// <param name="duration">time to play sound</param> public void GoodSound(int duration){ Intermec.Device.Audio.Tone badTone = new Intermec.Device.Audio.Tone(1000, duration, Intermec.Device.Audio.Tone.VOLUME.VERY_LOUD); badTone.Play(); }
/// <summary> /// play the good sound /// </summary> /// <param name="duration">time to play sound</param> public void GoodSound(int duration) { Intermec.Device.Audio.Tone badTone = new Intermec.Device.Audio.Tone(1000, duration, Intermec.Device.Audio.Tone.VOLUME.VERY_LOUD); badTone.Play(); }