2017-12-25 11:23:48 +01:00
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using WatchFace.Parser.Attributes;
|
2017-11-25 15:42:48 +01:00
|
|
|
|
using WatchFace.Parser.Elements.BasicElements;
|
2017-11-21 17:33:44 +01:00
|
|
|
|
|
2017-11-23 13:49:48 +01:00
|
|
|
|
namespace WatchFace.Parser.Elements.WeatherElements
|
2017-11-21 17:33:44 +01:00
|
|
|
|
{
|
2017-11-21 20:32:49 +01:00
|
|
|
|
public class WeatherIcon
|
2017-11-21 17:33:44 +01:00
|
|
|
|
{
|
2017-11-25 11:10:44 +01:00
|
|
|
|
[ParameterId(1)]
|
2017-11-21 20:32:49 +01:00
|
|
|
|
public Coordinates Coordinates { get; set; }
|
2017-11-21 17:33:44 +01:00
|
|
|
|
|
2018-01-13 16:43:09 +01:00
|
|
|
|
[ParameterId(2)]
|
|
|
|
|
public CustomWeatherIcon CustomIcon { get; set; }
|
2017-11-25 11:10:44 +01:00
|
|
|
|
|
|
|
|
|
[ParameterId(3)]
|
2017-12-25 11:23:48 +01:00
|
|
|
|
public Coordinates CoordinatesAlt { get; set; }
|
2017-11-21 17:33:44 +01:00
|
|
|
|
|
2017-11-25 11:10:44 +01:00
|
|
|
|
[ParameterId(4)]
|
2017-11-23 03:23:43 +01:00
|
|
|
|
public Coordinates Unknown4 { get; set; }
|
2017-12-25 11:23:48 +01:00
|
|
|
|
|
|
|
|
|
// For compatibility with "Unknown3" JSON attribute
|
|
|
|
|
[JsonProperty("Unknown3")]
|
|
|
|
|
private Coordinates Unknown3
|
|
|
|
|
{
|
2018-01-10 09:27:13 +01:00
|
|
|
|
set { CoordinatesAlt = value; }
|
2017-12-25 11:23:48 +01:00
|
|
|
|
}
|
2017-11-21 17:33:44 +01:00
|
|
|
|
}
|
|
|
|
|
}
|