ArtworkModel.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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 ArtworkModel
  11. {
  12. [XmlArrayAttribute("Items")]
  13. public List<Item> items { get; set; }
  14. public class Item
  15. {
  16. [XmlElement("artworkName")]
  17. public string artworkName;
  18. [XmlElement("thumbnail")]
  19. public string thumbnail;
  20. [XmlElement("pic")]
  21. public string pic;
  22. [XmlElement("originalPic")]
  23. public string originalPic;
  24. [XmlElement("side")]
  25. public int side;
  26. [XmlElement("lineWidth")]
  27. public int lineWidth;
  28. [XmlElement("point1X")]
  29. public int point1X;
  30. [XmlElement("point1Y")]
  31. public int point1Y;
  32. [XmlElement("point1Color")]
  33. public string point1Color;
  34. [XmlElement("point2X")]
  35. public int point2X;
  36. [XmlElement("point2Y")]
  37. public int point2Y;
  38. [XmlElement("point2Color")]
  39. public string point2Color;
  40. [XmlElement("twoValueGetMin")]
  41. public int twoValueGetMin;
  42. [XmlElement("twoValueGetMax")]
  43. public int twoValueGetMax;
  44. [XmlElement("twoValueColor")]
  45. public string twoValueColor;
  46. [XmlElement("scrapIsDel")]
  47. public bool scrapIsDel;
  48. [XmlElement("scrapMin")]
  49. public int scrapMin;
  50. [XmlElement("scrapMax")]
  51. public int scrapMax;
  52. }
  53. }
  54. }