using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PaintDotNet.Base.XmlSaveModel { public class XmlSaveModel { public Rule rule { get; set; } public Hardware hardware { get; set; } public class Rule { /// /// 标尺名称 /// public string ruler_name { get; set; } /// /// 放大倍数 /// public decimal gain_multiple { get; set; } /// /// 像素长度 /// public float pixel_length { get; set; } /// /// 物理长度 /// public decimal physical_length { get; set; } /// /// 测量单位 /// public int ruler_units { get; set; } } public class Hardware { /// /// 显微镜 /// public string microscope { get; set; } /// /// 物镜 /// public string objective { get; set; } /// /// 变倍器 /// public string magnificationChanger { get; set; } /// /// 曝光时间 /// public string exposureTime { get; set; } } } }