WeatherStatus.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. 
  2. namespace MediaBrowser.Model.Weather
  3. {
  4. /// <summary>
  5. /// Represents the current weather status
  6. /// </summary>
  7. public class WeatherStatus
  8. {
  9. /// <summary>
  10. /// Gets or sets the temperature fahrenheit.
  11. /// </summary>
  12. /// <value>The temperature fahrenheit.</value>
  13. public int TemperatureFahrenheit { get; set; }
  14. /// <summary>
  15. /// Gets or sets the temperature celsius.
  16. /// </summary>
  17. /// <value>The temperature celsius.</value>
  18. public int TemperatureCelsius { get; set; }
  19. /// <summary>
  20. /// Gets or sets the humidity.
  21. /// </summary>
  22. /// <value>The humidity.</value>
  23. public int Humidity { get; set; }
  24. /// <summary>
  25. /// Gets or sets the condition.
  26. /// </summary>
  27. /// <value>The condition.</value>
  28. public WeatherConditions Condition { get; set; }
  29. }
  30. /// <summary>
  31. /// Enum WeatherConditions
  32. /// </summary>
  33. public enum WeatherConditions
  34. {
  35. /// <summary>
  36. /// The sunny
  37. /// </summary>
  38. Sunny,
  39. /// <summary>
  40. /// The partly cloudy
  41. /// </summary>
  42. PartlyCloudy,
  43. /// <summary>
  44. /// The cloudy
  45. /// </summary>
  46. Cloudy,
  47. /// <summary>
  48. /// The overcast
  49. /// </summary>
  50. Overcast,
  51. /// <summary>
  52. /// The mist
  53. /// </summary>
  54. Mist,
  55. /// <summary>
  56. /// The snow
  57. /// </summary>
  58. Snow,
  59. /// <summary>
  60. /// The rain
  61. /// </summary>
  62. Rain,
  63. /// <summary>
  64. /// The sleet
  65. /// </summary>
  66. Sleet,
  67. /// <summary>
  68. /// The fog
  69. /// </summary>
  70. Fog,
  71. /// <summary>
  72. /// The blizzard
  73. /// </summary>
  74. Blizzard,
  75. /// <summary>
  76. /// The thunderstorm
  77. /// </summary>
  78. Thunderstorm
  79. }
  80. }