aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Weather/WeatherStatus.cs
blob: 36f27b6312810a9e70735d520a637d5d3bab56af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
namespace MediaBrowser.Model.Weather
{
    /// <summary>
    /// Represents the current weather status
    /// </summary>
    public class WeatherStatus
    {
        /// <summary>
        /// Gets or sets the temperature fahrenheit.
        /// </summary>
        /// <value>The temperature fahrenheit.</value>
        public int TemperatureFahrenheit { get; set; }

        /// <summary>
        /// Gets or sets the temperature celsius.
        /// </summary>
        /// <value>The temperature celsius.</value>
        public int TemperatureCelsius { get; set; }

        /// <summary>
        /// Gets or sets the humidity.
        /// </summary>
        /// <value>The humidity.</value>
        public int Humidity { get; set; }

        /// <summary>
        /// Gets or sets the condition.
        /// </summary>
        /// <value>The condition.</value>
        public WeatherConditions Condition { get; set; }
    }

    /// <summary>
    /// Enum WeatherConditions
    /// </summary>
    public enum WeatherConditions
    {
        /// <summary>
        /// The sunny
        /// </summary>
        Sunny,
        /// <summary>
        /// The partly cloudy
        /// </summary>
        PartlyCloudy,
        /// <summary>
        /// The cloudy
        /// </summary>
        Cloudy,
        /// <summary>
        /// The overcast
        /// </summary>
        Overcast,
        /// <summary>
        /// The mist
        /// </summary>
        Mist,
        /// <summary>
        /// The snow
        /// </summary>
        Snow,
        /// <summary>
        /// The rain
        /// </summary>
        Rain,
        /// <summary>
        /// The sleet
        /// </summary>
        Sleet,
        /// <summary>
        /// The fog
        /// </summary>
        Fog,
        /// <summary>
        /// The blizzard
        /// </summary>
        Blizzard,
        /// <summary>
        /// The thunderstorm
        /// </summary>
        Thunderstorm
    }
}