2017-12-25 11:23:48 +01:00
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using WatchFace.Parser.Attributes;
|
2017-11-25 15:42:48 +01:00
|
|
|
|
using WatchFace.Parser.Elements.TimeElements;
|
2017-12-25 11:23:48 +01:00
|
|
|
|
using WatchFace.Parser.JsonConverters;
|
2017-11-21 17:33:44 +01:00
|
|
|
|
|
2017-11-23 13:49:48 +01:00
|
|
|
|
namespace WatchFace.Parser.Elements
|
2017-11-20 08:11:33 +01:00
|
|
|
|
{
|
|
|
|
|
public class Time
|
|
|
|
|
{
|
2017-11-25 11:10:44 +01:00
|
|
|
|
[ParameterId(1)]
|
2017-11-21 17:33:44 +01:00
|
|
|
|
public TwoDigits Hours { get; set; }
|
2017-11-23 03:23:43 +01:00
|
|
|
|
|
2017-11-25 11:10:44 +01:00
|
|
|
|
[ParameterId(2)]
|
2017-11-21 17:33:44 +01:00
|
|
|
|
public TwoDigits Minutes { get; set; }
|
2017-11-20 08:11:33 +01:00
|
|
|
|
|
2017-11-25 11:10:44 +01:00
|
|
|
|
[ParameterId(3)]
|
2017-11-23 03:23:43 +01:00
|
|
|
|
public TwoDigits Seconds { 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 AmPm AmPm { get; set; }
|
2017-12-25 11:23:48 +01:00
|
|
|
|
|
|
|
|
|
[JsonConverter(typeof(DrawingOrderJsonConverter))]
|
|
|
|
|
[ParameterId(5)]
|
2017-12-25 18:58:21 +01:00
|
|
|
|
public long? DrawingOrder { get; set; }
|
2019-02-02 22:22:00 +01:00
|
|
|
|
|
|
|
|
|
[ParameterId(9)]
|
|
|
|
|
public long? Unknown9 { get; set; }
|
2017-11-20 08:11:33 +01:00
|
|
|
|
}
|
|
|
|
|
}
|