JSON: {"__type":"ScheduledTask:#BbsbWebService.Tasks",
"Id":"d8a7db75-eb9d-4235-80d6-a814ce31633f",
"Name":"scheduledTask1",
"ItemId":"f7414ee0-9239-4c9b-91e1-632ed307af07",
"NextAlarm":"\/Date(1282948547000+0100)\/",
"PowerOption":0, // PowerOption enum
"Days":18 // WeekDay flags enum
}
 
C#:
    public class ScheduledTask
    {
        public WeekDay Days { get; set; }
        
        public PowerOption PowerOption { get; set; }

        public Guid ItemId { get; set; }

        public bool Disabled { get; set; }  // optional parameter

        public DateTime? NextAlarm { get; set; }
    }        

Last edited Aug 25, 2010 at 5:36 PM by evorgevol, version 1

Comments

No comments yet.