28 lines
728 B
C#
28 lines
728 B
C#
using System.Runtime.Serialization;
|
|
using Newtonsoft.Json;
|
|
using WatchFace.Parser.Attributes;
|
|
using WatchFace.Parser.Elements.BasicElements;
|
|
|
|
namespace WatchFace.Parser.Elements.WeatherElements
|
|
{
|
|
public class WeatherIcon
|
|
{
|
|
[ParameterId(1)]
|
|
public Coordinates Coordinates { get; set; }
|
|
|
|
// TODO: Looks like here should be Id 2 also
|
|
|
|
[ParameterId(3)]
|
|
public Coordinates CoordinatesAlt { get; set; }
|
|
|
|
[ParameterId(4)]
|
|
public Coordinates Unknown4 { get; set; }
|
|
|
|
// For compatibility with "Unknown3" JSON attribute
|
|
[JsonProperty("Unknown3")]
|
|
private Coordinates Unknown3
|
|
{
|
|
set { CoordinatesAlt = value; }
|
|
}
|
|
}
|
|
} |