DqdrRecipe.cs 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. using MECF.Framework.Common.CommonData;
  2. using Newtonsoft.Json;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace MECF.Framework.Common.RecipeCenter
  9. {
  10. public class DqdrRecipe : NotifiableItem
  11. {
  12. #region 内部变量
  13. private int _anodeType;
  14. private string _author;
  15. private string _description;
  16. private string _ppid;
  17. private RecipeType _recipeType = RecipeType.DQDR;
  18. private DateTime _saveDate;
  19. private DateTime _createDate;
  20. private string _platingCell;
  21. private string _linkedDepRecipeName;
  22. private bool _isIdentical;
  23. private int _reclaimSpeed;
  24. private int _reclaimTime;
  25. private int _rinseSpeed;
  26. private int _rinseTime;
  27. private int _drySpeed;
  28. private int _dryTime;
  29. private double _dryZoffset;
  30. private bool _rinseBeforeEntryEnable;
  31. private int _intervalRinseSpeed;
  32. private int _intervalRinseTime;
  33. #endregion
  34. #region 属性
  35. [JsonProperty]
  36. public int AnodeType { get { return _anodeType; } set { _anodeType = value; InvokePropertyChanged(nameof(AnodeType)); } }
  37. [JsonProperty]
  38. public string Author { get { return _author; } set { _author = value; InvokePropertyChanged(nameof(Author)); } }
  39. [JsonProperty]
  40. public string Description { get { return _description; } set { _description = value; InvokePropertyChanged(nameof(Description)); } }
  41. [JsonProperty]
  42. public string Ppid { get { return _ppid; } set { _ppid = value; InvokePropertyChanged(nameof(Ppid)); } }
  43. [JsonProperty]
  44. public RecipeType RecipeType { get { return _recipeType; } set { _recipeType = value; InvokePropertyChanged(nameof(RecipeType)); } }
  45. [JsonProperty]
  46. public DateTime SaveDate { get { return _saveDate; } set { _saveDate = value; InvokePropertyChanged(nameof(SaveDate)); } }
  47. [JsonProperty]
  48. public DateTime CreateDate { get { return _createDate; } set { _createDate = value; InvokePropertyChanged(nameof(CreateDate)); } }
  49. [JsonProperty]
  50. public string PlatingCell { get { return _platingCell; } set { _platingCell = value; InvokePropertyChanged(nameof(PlatingCell)); } }
  51. [JsonProperty]
  52. public string LinkedDepRecipeName { get { return _linkedDepRecipeName; } set { _linkedDepRecipeName = value; InvokePropertyChanged(nameof(LinkedDepRecipeName)); } }
  53. [JsonProperty]
  54. public bool IsIdentical { get { return _isIdentical; } set { _isIdentical = value; InvokePropertyChanged(nameof(IsIdentical)); } }
  55. [JsonProperty]
  56. public int ReclaimSpeed { get { return _reclaimSpeed; } set { _reclaimSpeed = value; InvokePropertyChanged(nameof(ReclaimSpeed)); } }
  57. [JsonProperty]
  58. public int ReclaimTime { get { return _reclaimTime; } set { _reclaimTime = value; InvokePropertyChanged(nameof(ReclaimTime)); } }
  59. [JsonProperty]
  60. public int RinseSpeed { get { return _rinseSpeed; } set { _rinseSpeed = value; InvokePropertyChanged(nameof(RinseSpeed)); } }
  61. [JsonProperty]
  62. public int RinseTime { get { return _rinseTime; } set { _rinseTime = value; InvokePropertyChanged(nameof(RinseTime)); } }
  63. [JsonProperty]
  64. public int DrySpeed { get { return _drySpeed; } set { _drySpeed = value; InvokePropertyChanged(nameof(DrySpeed)); } }
  65. [JsonProperty]
  66. public int DryTime { get { return _dryTime; } set { _dryTime = value; InvokePropertyChanged(nameof(DryTime)); } }
  67. [JsonProperty]
  68. public double DryZoffset { get { return _dryZoffset; } set { _dryZoffset = value; InvokePropertyChanged(nameof(DryZoffset)); } }
  69. [JsonProperty]
  70. public bool RinseBeforeEntryEnable { get { return _rinseBeforeEntryEnable; } set { _rinseBeforeEntryEnable = value; InvokePropertyChanged(nameof(RinseBeforeEntryEnable)); } }
  71. [JsonProperty]
  72. public int IntervalRinseSpeed { get { return _intervalRinseSpeed; } set { _intervalRinseSpeed = value; InvokePropertyChanged(nameof(IntervalRinseSpeed)); } }
  73. [JsonProperty]
  74. public int IntervalRinseTime { get { return _intervalRinseTime; } set { _intervalRinseTime = value; InvokePropertyChanged(nameof(IntervalRinseTime)); } }
  75. #endregion
  76. }
  77. }