SequenceRecipe.cs 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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.Runtime.Serialization;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace MECF.Framework.Common.RecipeCenter
  10. {
  11. [Serializable]
  12. public class SequenceRecipe : NotifiableItem
  13. {
  14. #region 内部变量
  15. /// <summary>
  16. /// 作者
  17. /// </summary>
  18. private string _author;
  19. /// <summary>
  20. /// 描述
  21. /// </summary>
  22. private string _description;
  23. /// <summary>
  24. /// 名称
  25. /// </summary>
  26. private string _ppid;
  27. /// <summary>
  28. /// Recipe类型
  29. /// </summary>
  30. private RecipeType _recipeType;
  31. /// <summary>
  32. /// 保存时间
  33. /// </summary>
  34. private DateTime _saveDate;
  35. /// <summary>
  36. /// 创建时间
  37. /// </summary>
  38. private DateTime _createDate;
  39. /// <summary>
  40. /// Align角度
  41. /// </summary>
  42. private double _alignmentAngle;
  43. /// <summary>
  44. /// 类型:0-nortch模式,1-flat模式
  45. /// </summary>
  46. private int _platType;
  47. /// <summary>
  48. /// CRS类型
  49. /// </summary>
  50. private string _crsType;
  51. private string _fiducialType;
  52. /// <summary>
  53. /// 最后单片使用哪一面
  54. /// </summary>
  55. private bool _lastSingleWaferToSideB;
  56. /// <summary>
  57. /// WaferSize
  58. /// </summary>
  59. private int _substrateSize;
  60. /// <summary>
  61. /// Recipe集合
  62. /// </summary>
  63. private List<string> _recipes;
  64. /// <summary>
  65. /// Sequence类型(Production或Engineering)
  66. /// </summary>
  67. private string _sequenceType;
  68. #endregion
  69. #region 属性
  70. [JsonProperty]
  71. public string Author { get { return _author; } set { _author = value; InvokePropertyChanged(nameof(Author)); } }
  72. public string Description { get { return _description; } set { _description = value; InvokePropertyChanged(nameof(Description)); } }
  73. [JsonProperty]
  74. public string Ppid { get { return _ppid; } set { _ppid = value;InvokePropertyChanged(nameof(Ppid)); } }
  75. [JsonProperty]
  76. public RecipeType RecipeType { get { return _recipeType; } set { _recipeType = value; InvokePropertyChanged(nameof(RecipeType)); } }
  77. [JsonProperty]
  78. public DateTime CreateDate { get { return _createDate; } set { _createDate = value; InvokePropertyChanged(nameof(CreateDate)); } }
  79. [JsonProperty]
  80. public DateTime SaveDate { get { return _saveDate; } set { _saveDate = value;InvokePropertyChanged(nameof(SaveDate)); } }
  81. [JsonProperty]
  82. public double AlignmentAngle { get { return _alignmentAngle; } set { _alignmentAngle = value; InvokePropertyChanged(nameof(AlignmentAngle)); } }
  83. [JsonProperty]
  84. public int PlatType { get { return _platType; } set { _platType = value; InvokePropertyChanged(nameof(PlatType)); } }
  85. [JsonProperty]
  86. public string CrsType { get { return _crsType; } set { _crsType = value; InvokePropertyChanged(nameof(CrsType)); } }
  87. [JsonProperty]
  88. public string FiducialType { get { return _fiducialType; } set { _fiducialType = value;InvokePropertyChanged(nameof(FiducialType)); } }
  89. [JsonProperty]
  90. public bool LastSingleWaferToSideB { get { return _lastSingleWaferToSideB; } set { _lastSingleWaferToSideB = value;InvokePropertyChanged(nameof(LastSingleWaferToSideB)); } }
  91. [JsonProperty]
  92. public int SubstrateSize { get { return _substrateSize; } set { _substrateSize = value; InvokePropertyChanged(nameof(SubstrateSize)); } }
  93. [JsonProperty]
  94. public List<string> Recipes { get { return _recipes; } set { _recipes = value; InvokePropertyChanged(nameof(Recipes)); } }
  95. public string SequenceType { get { return _sequenceType; } set { _sequenceType = value; InvokePropertyChanged(nameof(SequenceType)); } }
  96. #endregion
  97. }
  98. }