ProcessUnitDefine.cs 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. using Newtonsoft.Json;
  2. using Newtonsoft.Json.Converters;
  3. using System.ComponentModel;
  4. using Venus_Core.Attributes;
  5. namespace Venus_Core
  6. {
  7. /// <summary>
  8. /// 设计概述:
  9. /// 本设计主要目的,为了满足复杂的刻蚀工艺需求(各个工艺参数之间相互关联), 和应对未来不断新增的工艺需求(新的设备、
  10. /// 新的工艺、新的材料等等), 同时又能对现存的Recipe保持最大的兼容
  11. ///
  12. /// 1. 将Process 的每道工艺分解为1个至多个逻辑工艺单元, 每个逻辑工艺单元通过 Class Name 和RT的工艺算法绑定,
  13. /// 同时也和 GUI Recipe Editor 的页面布局绑定。
  14. ///
  15. /// 2. 一个逻辑单元功能调试好, 并且有在客户端使用后, 此逻辑单元想关联的 RT Process 代码和GUI 界面代码,
  16. /// 不允许再修改, 只能增加新的Class 来实现新的工艺需求
  17. ///
  18. /// 3. 通过配置文件里面定义 ProcessUnit Class Name列表, 来定义当前机台支持的工艺功能, 也就是说如果Recipe文件里面保函了
  19. /// 配置文件里面没有列出的工艺单元, 表明本机台不支持此Recipe, 并报警提示用户
  20. /// </summary>
  21. public enum Suspect
  22. {
  23. Origin,
  24. Position1,
  25. Position2,
  26. Position3
  27. }
  28. public enum VenusUnits
  29. {
  30. PressureByPressureModeUnit,
  31. TCPUnit,
  32. BiasUnit,
  33. GasControlUnit,
  34. ESCHVUnit,
  35. ProcessKitUnit
  36. }
  37. public enum Kepler2300Uints
  38. {
  39. PressureByPressureModeUnit,
  40. TCPUnit,
  41. BiasUnit,
  42. GasControlUnit,
  43. ProcessKitUnit
  44. }
  45. public enum Kepler2200AUnits
  46. {
  47. Kepler2200GasControlUnit,
  48. HeaterUnit,
  49. Kepler2200RFUnit
  50. }
  51. public enum Kepler2200BUnits
  52. {
  53. }
  54. public partial class PressureByPressureModeUnit : ProcessUnitBase
  55. {
  56. public string UnitName { get; set; } = "PressureModeUnit";
  57. public PressureUnitMode PressureUnitMode { get; set; }
  58. public int StartValue { get; set; }
  59. public int ValvePositionPreset { get; set; }
  60. [IsCanConfigIgnore]
  61. public bool EnableRamp { get; set; }
  62. public int HoldTime { get; set; }
  63. public int TargetValue { get; set; }
  64. public event PropertyChangedEventHandler PropertyChanged;
  65. public void InvokePropertyChanged(string propertyName)
  66. {
  67. if (PropertyChanged != null)
  68. {
  69. PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName));
  70. }
  71. }
  72. }
  73. public class HeaterUnit : ProcessUnitBase
  74. {
  75. public string UnitName { get; set; } = "HeaterUnit";
  76. public int HeaterPressure { get; set; }
  77. public int HeaterTemp { get; set; }
  78. public int HeaterRatio { get; set; }
  79. public Suspect SuspectPosition { get; set; }
  80. public int PositionOffset { get; set; }
  81. }
  82. public class TCPUnit : ProcessUnitBase
  83. {
  84. private string m_UnitName = "TCPUnit";
  85. public string UnitName
  86. {
  87. get { return m_UnitName; }
  88. set { m_UnitName = value; }
  89. }
  90. public int RFPower { get; set; }
  91. public int TuneCapPreset { get; set; }
  92. public int LoadCapPreset { get; set; }
  93. [IsOnlyRead]
  94. public int AutoTuneCapPreset { get; set; }
  95. [IsOnlyRead]
  96. public int AutoLoadCapPreset { get; set; }
  97. public int MaxReflectedPower { get; set; }
  98. private bool m_EnableRamp;
  99. [IsCanConfigIgnore]
  100. public bool EnableRamp
  101. {
  102. get { return m_EnableRamp;}
  103. set { m_EnableRamp = value; }
  104. }
  105. public int StartPower { get; set; }
  106. public int TargetPower { get; set; }
  107. }
  108. public class Kepler2200RFUnit : ProcessUnitBase
  109. {
  110. public string UnitName { get; set; } = "RFUnit";
  111. public int TuneCapPreset { get; set; }
  112. public int LoadCapPreset { get; set; }
  113. }
  114. public class BiasUnit : ProcessUnitBase
  115. {
  116. public string UnitName { get; set; } = "BiasUnit";
  117. public int BiasRFPower { get; set; }
  118. public int BiasTuneCapPreset { get; set; }
  119. public int BiasLoadCapPreset { get; set; }
  120. [IsOnlyRead]
  121. public int AutoBiasTuneCapPreset { get; set; }
  122. [IsOnlyRead]
  123. public int AutoBiasLoadCapPreset { get; set; }
  124. public int BiasMaxReflectedPower { get; set; }
  125. [JsonConverter(typeof(StringEnumConverter))]
  126. public GeneratorMode BiasGeneratorMode { get; set; }
  127. public int PulseRateFreq { get; set; }
  128. public int PulseDutyCycle { get; set; }
  129. [IsCanConfigIgnore]
  130. public bool EnableRamp { get; set; }
  131. public int StartBiasRFPower { get; set; }
  132. public int TargetBiasRFPower { get; set; }
  133. }
  134. public class GasControlUnit : ProcessUnitBase
  135. {
  136. public string UnitName { get; set; } = "GasControlUnit";
  137. public int Gas1 { get; set; }
  138. public int Gas2 { get; set; }
  139. public int Gas3 { get; set; }
  140. public int Gas4 { get; set; }
  141. public int Gas5 { get; set; }
  142. public int Gas6 { get; set; }
  143. public int Gas7 { get; set; }
  144. public int Gas8 { get; set; }
  145. [IsCanConfigIgnore]
  146. public bool EnableRamp { get; set; }
  147. [System.Xml.Serialization.XmlIgnore]
  148. public int Gas1Target { get; set; }
  149. public int Gas2Target { get; set; }
  150. public int Gas3Target { get; set; }
  151. public int Gas4Target { get; set; }
  152. public int Gas5Target { get; set; }
  153. public int Gas6Target { get; set; }
  154. public int Gas7Target { get; set; }
  155. public int Gas8Target { get; set; }
  156. public int FlowRatie { get; set; }
  157. }
  158. public class Kepler2200GasControlUnit : ProcessUnitBase
  159. {
  160. public string UnitName { get; set; } = "GasUnit";
  161. public int Gas1 { get; set; }
  162. public int Gas2 { get; set; }
  163. public int Gas3 { get; set; }
  164. public int Gas4 { get; set; }
  165. public int Gas5 { get; set; }
  166. public int Gas6 { get; set; }
  167. }
  168. public class ESCHVUnit : ProcessUnitBase
  169. {
  170. public string UnitName { get; set; } = "ESCHVUnit";
  171. public int BacksideHelum { get; set; }
  172. public int MinHeFlow { get; set; }
  173. public int MaxHeFlow { get; set; }
  174. public int ESCClampValtage { get; set; }
  175. public int Temperature { get; set; }
  176. }
  177. public class ProcessKitUnit : ProcessUnitBase
  178. {
  179. public string UnitName { get; set; } = "ProcessKitUnit";
  180. private MovementPosition m_LiftPinPostion;
  181. [JsonConverter(typeof(StringEnumConverter))]
  182. public MovementPosition LiftPinPostion
  183. {
  184. get { return m_LiftPinPostion; }
  185. set { m_LiftPinPostion = value; }
  186. }
  187. [JsonConverter(typeof(StringEnumConverter))]
  188. public MovementPosition WeprBasrPinPosition { get; set; }
  189. }
  190. }