ServerInfo.cs 609 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Runtime.Serialization;
  6. namespace WindowsPhone.Recipes.Push.Server.Models
  7. {
  8. /// <summary>
  9. /// Server status data contract.
  10. /// </summary>
  11. [DataContract]
  12. public class ServerInfo
  13. {
  14. /// <summary>
  15. /// Current push pattern.
  16. /// </summary>
  17. [DataMember]
  18. public string PushPattern { get; set; }
  19. /// <summary>
  20. /// Current tile counter value.
  21. /// </summary>
  22. [DataMember]
  23. public int Counter { get; set; }
  24. }
  25. }