This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Crestron.SimplSharp; | |
using Crestron.SimplSharp.Scheduler; | |
namespace APES.SSharp.Light | |
{ | |
public static partial class LightService | |
{ | |
static ScheduledEventGroup _schedule = new ScheduledEventGroup("LightService"); | |
static void ScheduleDuskOn(DateTime date) | |
{ | |
string eventName = string.Format("dusk-{0}-{1}-{2}", date.Date, date.Month, date.Year); |
NewerOlder