-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
27 lines (19 loc) · 1.16 KB
/
Copy pathProgram.cs
File metadata and controls
27 lines (19 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/// sounds are thanks to http://soundbible.com/2218-Service-Bell-Help.html, http://soundbible.com/2205-Bells-Tibetan-Large.html, http://soundbible.com/2190-Front-Desk-Bell.html, http://soundbible.com/2185-Old-School-Bell.html
using System;
using System.Threading;
using System.Collections.Generic;
namespace ClassBreakAlarmClock
{
class Program
{
static void Main()
{
List<string> breakSounds = new List<string>() { @"music\bells-tibetan-daniel_simon.wav", @"music\old-fashioned-school-bell-daniel_simon.wav" };
List<string> warningSounds = new List<string>() { @"music\front-desk-bells-daniel_simon.wav", @"music\service-bell_daniel_simion.wav" };
string breaksTest = "00:00"; string warningsTest = "00:00";
List<string> breaks = new List<string>() { "It is now break time!","9:30", "11:30", "14:15", "16:00", breaksTest };
List<string> warnings =new List<string>() { "This is a five minute warning!","9:25", "11:25", "14:10", "15:55", warningsTest };
Alarm.alarm(breaks, breakSounds, ConsoleColor.Green ,warnings,warningSounds,ConsoleColor.Red);
}
}
}