diff options
Diffstat (limited to 'MediaBrowser.Model/Weather/WeatherStatus.cs')
| -rw-r--r-- | MediaBrowser.Model/Weather/WeatherStatus.cs | 128 |
1 files changed, 90 insertions, 38 deletions
diff --git a/MediaBrowser.Model/Weather/WeatherStatus.cs b/MediaBrowser.Model/Weather/WeatherStatus.cs index 7019d319b..1e4eb1077 100644 --- a/MediaBrowser.Model/Weather/WeatherStatus.cs +++ b/MediaBrowser.Model/Weather/WeatherStatus.cs @@ -1,38 +1,90 @@ -using ProtoBuf;
-
-namespace MediaBrowser.Model.Weather
-{
- /// <summary>
- /// Represents the current weather status
- /// </summary>
- [ProtoContract]
- public class WeatherStatus
- {
- [ProtoMember(1)]
- public int TemperatureFahrenheit { get; set; }
-
- [ProtoMember(2)]
- public int TemperatureCelsius { get; set; }
-
- [ProtoMember(3)]
- public int Humidity { get; set; }
-
- [ProtoMember(4)]
- public WeatherConditions Condition { get; set; }
- }
-
- public enum WeatherConditions
- {
- Sunny,
- PartlyCloudy,
- Cloudy,
- Overcast,
- Mist,
- Snow,
- Rain,
- Sleet,
- Fog,
- Blizzard,
- Thunderstorm
- }
-}
+using ProtoBuf; + +namespace MediaBrowser.Model.Weather +{ + /// <summary> + /// Represents the current weather status + /// </summary> + [ProtoContract] + public class WeatherStatus + { + /// <summary> + /// Gets or sets the temperature fahrenheit. + /// </summary> + /// <value>The temperature fahrenheit.</value> + [ProtoMember(1)] + public int TemperatureFahrenheit { get; set; } + + /// <summary> + /// Gets or sets the temperature celsius. + /// </summary> + /// <value>The temperature celsius.</value> + [ProtoMember(2)] + public int TemperatureCelsius { get; set; } + + /// <summary> + /// Gets or sets the humidity. + /// </summary> + /// <value>The humidity.</value> + [ProtoMember(3)] + public int Humidity { get; set; } + + /// <summary> + /// Gets or sets the condition. + /// </summary> + /// <value>The condition.</value> + [ProtoMember(4)] + 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 + } +} |
