29 lines
704 B
C#
29 lines
704 B
C#
using Newtonsoft.Json;
|
|
using WatchFace.Parser.Attributes;
|
|
using WatchFace.Parser.Elements.TimeElements;
|
|
using WatchFace.Parser.JsonConverters;
|
|
|
|
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; }
|
|
|
|
[ParameterId(9)]
|
|
public long? Unknown9 { get; set; }
|
|
}
|
|
} |