WorkpieceMaintenanceModel.cs 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. /// <summary>
  10. /// 工件维护
  11. /// </summary>
  12. [XmlRoot("ROOT")]
  13. public class WorkpieceMaintenanceModel
  14. {
  15. /// <summary>
  16. /// 数据属性(元素)树状图
  17. /// </summary>
  18. [XmlArrayAttribute("AttributeMapAllDataNodes")]
  19. public List<Workpiece> Workpieces { get; set; }
  20. public class Workpiece
  21. {
  22. /// <summary>
  23. /// 工件名称
  24. /// </summary>
  25. [XmlElement("Name")]
  26. public string Name { get; set; }
  27. /// <summary>
  28. /// 工件类型
  29. /// </summary>
  30. [XmlElement("Type")]
  31. public string Type { get; set; }
  32. /// <summary>
  33. /// 工件a名称
  34. /// </summary>
  35. [XmlElement("NameA")]
  36. public string NameA { get; set; }
  37. /// <summary>
  38. /// 工件a标准值
  39. /// </summary>
  40. [XmlElement("StandardValueA")]
  41. public string StandardValueA { get; set; }
  42. /// <summary>
  43. /// 工件a误差
  44. /// </summary>
  45. [XmlElement("ErrorA")]
  46. public string ErrorA { get; set; }
  47. /// <summary>
  48. /// 工件B名称
  49. /// </summary>
  50. [XmlElement("NameB")]
  51. public string NameB { get; set; }
  52. /// <summary>
  53. /// 工件B标准值
  54. /// </summary>
  55. [XmlElement("StandardValueB")]
  56. public string StandardValueB { get; set; }
  57. /// <summary>
  58. /// 工件B误差
  59. /// </summary>
  60. [XmlElement("ErrorB")]
  61. public string ErrorB { get; set; }
  62. /// <summary>
  63. /// 工件C名称
  64. /// </summary>
  65. [XmlElement("NameC")]
  66. public string NameC { get; set; }
  67. /// <summary>
  68. /// 工件C标准值
  69. /// </summary>
  70. [XmlElement("StandardValueC")]
  71. public string StandardValueC { get; set; }
  72. /// <summary>
  73. /// 工件C误差
  74. /// </summary>
  75. [XmlElement("ErrorC")]
  76. public string ErrorC { get; set; }
  77. /// <summary>
  78. /// 工件D名称
  79. /// </summary>
  80. [XmlElement("NameD")]
  81. public string NameD { get; set; }
  82. /// <summary>
  83. /// 工件D标准值
  84. /// </summary>
  85. [XmlElement("StandardValueD")]
  86. public string StandardValueD { get; set; }
  87. /// <summary>
  88. /// 工件D误差
  89. /// </summary>
  90. [XmlElement("ErrorD")]
  91. public string ErrorD { get; set; }
  92. }
  93. }
  94. }