LocationModel.cs 566 B

12345678910111213141516171819202122232425262728
  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 LocationModel
  11. {
  12. [XmlArrayAttribute("Items")]
  13. public List<Item> items { get; set; }
  14. public class Item
  15. {
  16. [XmlElement("X")]
  17. public float x;
  18. [XmlElement("Y")]
  19. public float y;
  20. [XmlElement("Z")]
  21. public long z;
  22. }
  23. }
  24. }