ZAxisScanModel.cs 705 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Xml.Serialization;
  7. namespace PaintDotNet.Base.SettingModel
  8. {
  9. [XmlRoot("ROOT")]
  10. public class ZAxisScanModel
  11. {
  12. [XmlArrayAttribute("Items")]
  13. public List<Item> items { get; set; }
  14. /// <summary>
  15. /// 图片对应的标尺信息
  16. /// </summary>
  17. [XmlElement("Rule")]
  18. public PicConfigModel.Rule rule { get; set; }
  19. public class Item
  20. {
  21. [XmlElement("fileName")]
  22. public string fileName;
  23. [XmlElement("height")]
  24. public decimal height;
  25. }
  26. }
  27. }