Initial commit

This commit is contained in:
2014-05-01 16:41:24 -04:00
commit e566c6ebef
247 changed files with 133367 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
using System.Runtime.Serialization;
using WeatherService.Common.Formatting;
using WeatherService.Devices;
namespace WeatherService.Values
{
[DataContract]
public class WindDirectionReading : ReadingBase
{
public WindDirectionReading(WeatherValueType valueType) : base(valueType)
{
}
[DataMember]
public WindDirection WindDirectionValue
{
get { return (WindDirection) Value; }
set { Value = (double) value; }
}
[DataMember]
public string WindDirectionString
{
get { return Format.GetShortDirectionString(WindDirectionValue); }
set { }
}
}
}