using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace SmartCoalApplication.Base.SettingModel { /// /// 标尺标定 - 标尺文件 /// 因为标尺可以修改,所以需要保存图片和点信息 /// [XmlRoot("ROOT")] public class RulerFileModel { #region 样式设置 /// /// 线条颜色 /// public int lineColor { get; set; } /// /// 线条宽度 /// public decimal lineWidth { get; set; } /// /// 起点x /// public int startPointX { get; set; } /// /// 起点y /// public int startPointY { get; set; } /// /// 终点x /// public int endPointX { get; set; } /// /// 终点y /// public int endPointY { get; set; } /// /// 图片base64数据 /// this.Image1.ImageUrl = "data:image/png;base64," + base64Img; /// public string picBase64 { get; set; } /// /// 字号大小 /// public decimal textSize { get; set; } #endregion } }