amazfitbiptools/WatchFace.Parser/Elements/Time.cs

26 lines
633 B
C#
Raw Normal View History

using Newtonsoft.Json;
using WatchFace.Parser.Attributes;
2017-11-25 15:42:48 +01:00
using WatchFace.Parser.Elements.TimeElements;
using WatchFace.Parser.JsonConverters;
2017-11-23 13:49:48 +01:00
namespace WatchFace.Parser.Elements
{
public class Time
{
[ParameterId(1)]
public TwoDigits Hours { get; set; }
[ParameterId(2)]
public TwoDigits Minutes { get; set; }
[ParameterId(3)]
public TwoDigits Seconds { get; set; }
[ParameterId(4)]
public AmPm AmPm { get; set; }
[JsonConverter(typeof(DrawingOrderJsonConverter))]
[ParameterId(5)]
public long DrawingOrder { get; set; }
}
}