should work? test 1?
This commit is contained in:
parent
f7fdc4c886
commit
de9fafe348
34
Program.cs
34
Program.cs
@ -96,24 +96,24 @@ namespace director
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Console.WriteLine("calendars checked");
|
Console.WriteLine("calendars checked");
|
||||||
#if (DEBUG)
|
// #if (DEBUG)
|
||||||
//if(true)
|
// //if(true)
|
||||||
{
|
// {
|
||||||
Console.WriteLine("debug test");
|
// Console.WriteLine("debug test");
|
||||||
|
|
||||||
var psuedo = new schedulable.Scheduled();
|
// var psuedo = new schedulable.Scheduled();
|
||||||
psuedo.Showtime = DateTime.Now + TimeSpan.FromMinutes(30);
|
// psuedo.Showtime = DateTime.Now + TimeSpan.FromMinutes(30);
|
||||||
// foreach(var a in scratch.agenda){
|
// // foreach(var a in scratch.agenda){
|
||||||
// Console.WriteLine(a.Occurrence._event.Summary);
|
// // Console.WriteLine(a.Occurrence._event.Summary);
|
||||||
// }
|
// // }
|
||||||
var partiallyCopiable = scratch.agenda?.First(a => a.Occurrence._event.Summary == "Good Morning, Phyrexia (in the morning)!");
|
// var partiallyCopiable = scratch.agenda?.First(a => a.Occurrence._event.Summary == "Good Morning, Phyrexia (in the morning)!");
|
||||||
psuedo.Occurrence = partiallyCopiable.Occurrence;
|
// psuedo.Occurrence = partiallyCopiable.Occurrence;
|
||||||
psuedo.Occurrence.OccurrenceStart = psuedo.Showtime;
|
// psuedo.Occurrence.OccurrenceStart = psuedo.Showtime;
|
||||||
psuedo.Occurrence.OccurrenceEnd = psuedo.Showtime;
|
// psuedo.Occurrence.OccurrenceEnd = psuedo.Showtime;
|
||||||
workQueue.Enqueue(psuedo);
|
// workQueue.Enqueue(psuedo);
|
||||||
_signal.Set();
|
// _signal.Set();
|
||||||
}
|
// }
|
||||||
#endif
|
// #endif
|
||||||
}
|
}
|
||||||
|
|
||||||
private static async Task checkCalendar(string calendarUri)
|
private static async Task checkCalendar(string calendarUri)
|
||||||
|
Loading…
Reference in New Issue
Block a user