MeasureMaintenanceFormula.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Drawing;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Xml.Serialization;
  8. namespace SmartCoalApplication.Base.MeasureModel
  9. {
  10. /// <summary>
  11. /// 公式
  12. /// </summary>
  13. public class MeasureMaintenanceFormula
  14. {
  15. public MeasureMaintenanceFormula()
  16. {
  17. FormulaExpressionLineID = new List<string>();
  18. isConductiveCloth = false;
  19. isFanweibuchang = false;
  20. isErzhichuli = false;
  21. }
  22. /// <summary>
  23. /// Id
  24. /// </summary>
  25. [XmlElement("FormulaId")]
  26. public string FormulaId { get; set; }
  27. /// <summary>
  28. /// 父级Id
  29. /// </summary>
  30. [XmlElement("FormulaParentId")]
  31. public string FormulaParentId { get; set; }
  32. /// <summary>
  33. /// 孔型
  34. /// </summary>
  35. [XmlElement("HoleType")]
  36. public string HoleType { get; set; }
  37. /// <summary>
  38. /// 二级孔型id
  39. /// </summary>
  40. [XmlElement("HoleTypeId")]
  41. public string HoleTypeId { get; set; }
  42. /// <summary>
  43. /// 一级孔型id
  44. /// </summary>
  45. [XmlElement("FatherHoleTypeId")]
  46. public string FatherHoleTypeId { get; set; }
  47. /// <summary>
  48. /// 检验项目
  49. /// </summary>
  50. [XmlElement("TestItems")]
  51. public string TestItems { get; set; }
  52. /// <summary>
  53. /// 规格
  54. /// </summary>
  55. [XmlElement("Specification")]
  56. public string Specification { get; set; }
  57. /// <summary>
  58. /// 名称
  59. /// </summary>
  60. [XmlElement("FormulaName")]
  61. public string FormulaName { get; set; }
  62. /// <summary>
  63. /// 公式对应表达式
  64. /// </summary>
  65. [XmlElement("FormulaExpression")]
  66. public string FormulaExpression { get; set; }
  67. /// <summary>
  68. /// 公式线对应ID
  69. /// </summary>
  70. [XmlElement("FormulaExpressionLineID")]
  71. public List<string> FormulaExpressionLineID { get; set; }
  72. /// <summary>
  73. /// 是否是导电布
  74. /// </summary>
  75. [XmlElement("isConductiveCloth")]
  76. public bool isConductiveCloth { get; set; }
  77. /// <summary>
  78. /// 是否是范围补偿
  79. /// </summary>
  80. [XmlElement("isFanweibuchang")]
  81. public bool isFanweibuchang { get; set; }
  82. /// <summary>
  83. /// 是否是二值处理
  84. /// </summary>
  85. [XmlElement("isErzhichuli")]
  86. public bool isErzhichuli { get; set; }
  87. }
  88. }