using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace HTEXScan.Models { /**模板快**/ public class TemplateCell { /**x**/ [JsonProperty(PropertyName = "x")] public int X { get; set; } /**y**/ [JsonProperty(PropertyName = "y")] public int Y { get; set; } /**w**/ [JsonProperty(PropertyName = "w")] public int W { get; set; } /**h**/ [JsonProperty(PropertyName = "h")] public int H { get; set; } /**text**/ [JsonProperty(PropertyName = "text")] public char Text { get; set; } /**type**/ [JsonProperty(PropertyName = "type")] public int Type { get; set; } /**text**/ [JsonProperty(PropertyName = "col")] public int Col { get; set; } } /**模板**/ public class Template { /**rw**/ [JsonProperty(PropertyName = "rw")] public int Rw { get; set; } /**rh**/ [JsonProperty(PropertyName = "rh")] public int Rh { get; set; } /**w**/ [JsonProperty(PropertyName = "w")] public int W { get; set; } /**h**/ [JsonProperty(PropertyName = "h")] public int H { get; set; } /**bw**/ [JsonProperty(PropertyName = "bw")] public int Bw { get; set; } /**bh**/ [JsonProperty(PropertyName = "bh")] public int Bh { get; set; } /**bx**/ [JsonProperty(PropertyName = "bx")] public int Bx { get; set; } /**by**/ [JsonProperty(PropertyName = "by")] public int By { get; set; } /**cell**/ [JsonProperty(PropertyName = "cell")] public List Cell { get; set; } } }