JSON: {"__type":"RecurringTask:#BbsbWebService.Tasks",
"Id":"b0cb2c8a-ef91-41cf-8dc9-135e996ebcd1",
"Name":"Wake Up",
"Disabled":true, // optional parameter
"ItemId":"f7414ee0-9239-4c9b-91e1-632ed307af07",
"NextAlarm":"\/Date(1282802401000+0100)\/",
"PowerOption":0, // PowerOption enum
"Frequency":1, // RecurringFrequency enum
"Magnitude":1
}
 
C#:
    public class RecurringTask
    {
        public int Magnitude { get; set; }

        public RecurringFrequency Frequency { 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 4:36 PM by evorgevol, version 1

Comments

No comments yet.