JetKepler2300PM.cs 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081
  1. using Aitex.Core.Common.DeviceData;
  2. using Aitex.Core.RT.Device;
  3. using Aitex.Core.RT.Device.Unit;
  4. using Aitex.Core.RT.SCCore;
  5. using Aitex.Core.RT.Log;
  6. using Aitex.Core.Util;
  7. using MECF.Framework.Common.Device.Bases;
  8. using MECF.Framework.Common.Equipment;
  9. using System;
  10. using System.Collections.Generic;
  11. using Venus_Core;
  12. using Venus_RT.Modules;
  13. using Venus_RT.Devices.IODevices;
  14. using Venus_RT.Devices.EPD;
  15. using MECF.Framework.Common.SubstrateTrackings;
  16. using IoMfc = Venus_RT.Devices.IODevices.IoMfc;
  17. using System.Threading.Tasks;
  18. using Aitex.Core.RT.DataCenter;
  19. using Aitex.Core.Backend;
  20. using Aitex.Core.RT.OperationCenter;
  21. namespace Venus_RT.Devices
  22. {
  23. class JetKepler2300PM : JetPMBase
  24. {
  25. private readonly IoLid _Lid;
  26. private readonly IoLid _LidLoadlock;
  27. private readonly IoCylinder _slitDoor;
  28. private readonly IoCylinder _LiftPin;
  29. private readonly IoCylinder _LoadLockArm;
  30. private readonly IoValve _PVN21Valve;
  31. private readonly IoValve _PVN22Valve;
  32. private readonly IoValve _PV11Valve;
  33. private readonly IoValve _PV12Valve;
  34. private readonly IoValve _PV21Valve;
  35. private readonly IoValve _PV22Valve;
  36. private readonly IoValve _PV31Valve;
  37. private readonly IoValve _PV32Valve;
  38. private readonly IoValve _PV41Valve;
  39. private readonly IoValve _PV42Valve;
  40. private readonly IoValve _N2Valve;
  41. private readonly IoValve _Mfc1Valve;
  42. private readonly IoValve _Mfc2Valve;
  43. private readonly IoValve _Mfc3Valve;
  44. private readonly IoValve _Mfc4Valve;
  45. private readonly IoValve _Mfc5Valve;
  46. private readonly IoValve _Mfc6Valve;
  47. private readonly IoValve _Mfc7Valve;
  48. private readonly IoValve _Mfc8Valve;
  49. private readonly IoValve _PVHe1Valve;
  50. private readonly IoValve _PVHe2Valve;
  51. private readonly IoValve _GasFinalValve;
  52. private readonly IoValve _SoftPumpValve;
  53. private readonly IoValve _FastPumpValve;
  54. private readonly IoValve _TurboPumpPumpingValve;
  55. private readonly IoValve _TurboPumpPurgeValve;
  56. private readonly IoValve _GuageValve;
  57. private readonly IoValve _LoadlockVentValve;
  58. private readonly IoValve _LoadlockPumpingValve;
  59. private readonly IoSensor _ATM_sw;
  60. private readonly IoSensor _CDAPressure;
  61. private readonly IoSensor _ATM_Loadlock_sw;
  62. private readonly IoSensor _N2Pressure_sw;
  63. private readonly IoSensor _VAC_sw;
  64. private readonly IoSensor _WLK_sw;
  65. private readonly IoSensor _Water_Flow;
  66. private readonly IoSensor _RFG_Interlock;
  67. private readonly IoSensor _PM_Lid_Closed;
  68. private readonly IoSensor _Source_RF_Fan;
  69. private readonly IoSensor _PM_SlitDoor_Closed;
  70. private readonly IoSensor _TurboPumpInterlock;
  71. private readonly IoSensor _GasBoxDoor;
  72. private readonly IoSensor _GasBoxPressure;
  73. private readonly PumpBase _MainPump;
  74. private readonly ESC5HighVoltage _ESCHV;
  75. private readonly AdixenTurboPump _TurboPump;
  76. private readonly PendulumValve _pendulumValve;
  77. private readonly ChillerBase _Chiller;
  78. private readonly ChillerBase _InnerChiller;
  79. private readonly ChillerBase _OuterChiller;
  80. private readonly ChillerBase _TopChiller;
  81. private readonly RfPowerBase _Generator;//srf=>AdTecGenerator
  82. private readonly RfPowerBase _GeneratorBias;//brf=>CometRF
  83. private readonly RfMatchBase _Match;
  84. private readonly RfMatchBase _BiasMatch;
  85. private readonly IoSignalTower _SignalTower;
  86. private readonly IoHeater _ForelineTC;
  87. private readonly IoHeater _WallTC;
  88. private readonly IoPressureControl _pressureController;
  89. private readonly IoGasStick[] _gasLines;
  90. private readonly IoGasStick _gasLineN2;
  91. private readonly IoBacksideHe _backsideHe;
  92. private readonly IoMfc _heMfc;
  93. private readonly double _foreline_interlock_pressure = 750;
  94. private float _chillerInnerTemp => GetAiValue($"{Module}.AI_ESC_inner_coolant_outlet_TC_Temp");
  95. private float _chillerOuterTemp => GetAiValue($"{Module}.AI_ESC_outer_coolant_outlet_TC_Temp");
  96. private float _chillerTopTemp => GetAiValue($"{Module}.AI_Top_Plate_coolant_outlet_TC_Temp");
  97. // 盖子的状态
  98. public override bool IsLidClosed => _Lid.OFFFeedback;
  99. public override bool IsLidLoadlockClosed => _LidLoadlock.OFFFeedback;
  100. public override bool IsSlitDoorClosed => !_slitDoor.ONFeedback && _slitDoor.OFFFeedback;
  101. public override bool IsPumpRunning => _MainPump.IsRunning;
  102. public override bool IsTurboPumpRunning => _TurboPump.IsRunning;
  103. public override bool IsTurboPumpAtSpeed => _TurboPump.AtSpeed;
  104. public override float TurboPumpSpeed => _TurboPump.Speed;
  105. public override bool HasPumpError => _MainPump.IsError || !_MainPump.IsRunning;
  106. public override bool HasTurboPumpError => _TurboPump.IsError || !_TurboPump.IsRunning;
  107. public override bool IsCDA_OK => _CDAPressure.Value;
  108. public override bool IsFastPumpOpened => _FastPumpValve.Status;
  109. public override bool IsSoftPumpOpened => _SoftPumpValve.Status;
  110. public override bool IsMfc1ValveOpened => _Mfc1Valve.Status;
  111. public override bool IsMfc2ValveOpened => _Mfc2Valve.Status;
  112. public override bool IsMfc3ValveOpened => _Mfc3Valve.Status;
  113. public override bool IsMfc4ValveOpened => _Mfc4Valve.Status;
  114. public override bool IsMfc5ValveOpened => _Mfc5Valve.Status;
  115. public override bool IsMfc6ValveOpened => _Mfc6Valve.Status;
  116. public override bool IsMfc7ValveOpened => _Mfc7Valve.Status;
  117. public override bool IsMfc8ValveOpened => _Mfc8Valve.Status;
  118. public override bool IsGuageValveOpened => _GuageValve.Status;
  119. // 压力信号
  120. public override bool IsATM => _ATM_sw.Value;
  121. public override bool PVN22ValveIsOpen => _PVN22Valve.Status;
  122. public override bool LiftPinIsDown => _LiftPin.OFFFeedback;
  123. public override bool LiftPinIsUp => _LiftPin.ONFeedback;
  124. public override bool IsATMLoadlock => _ATM_Loadlock_sw.Value;
  125. public override bool IsVACLoadLock => LoadlockPressure <= 1000;
  126. public override bool IsVAC => _VAC_sw.Value;
  127. public override bool IsWaterFlowOk => true;
  128. public override bool IsWLK => _WLK_sw.Value;
  129. public override bool IsRFGInterlockOn => _RFG_Interlock.Value;
  130. public override bool PMLidClosed => _PM_Lid_Closed.Value;
  131. public override bool TurboPumpInterlock => _TurboPumpInterlock.Value;
  132. public override bool SourceRFFanInterlock => _Source_RF_Fan.Value;
  133. public override bool SlitDoorClosed => _PM_SlitDoor_Closed.Value;
  134. public override double ProcessLowPressure => _pressureController.ProcessLow.Value;
  135. public override double ProcessHighPressure => _pressureController.ProcessHigh.Value;
  136. public override double ProcessPressure => _pressureController.ProcessGauge.Value;
  137. public override double ChamberPressure => _pressureController.PressureGauge.Value;
  138. public override double ForelinePressure => _pressureController.ForelineGauge.Value;
  139. public override double TargetPressure => _pressureController.TargetPressure;
  140. public override double LoadlockPressure => 0;
  141. public override double ESCHePressure => _pressureController.ESCHeGauge.Value;
  142. public override int ESCOutputVoltage => _ESCHV.OutputVoltage;
  143. public override double ESCPositiveOutputCurrent => _ESCHV.PositiveOutputCurrent;
  144. public override double ESCNegativeOutputCurrent => _ESCHV.NegativeOutputCurrent;
  145. public override bool IsHVOn => _ESCHV.IsOn;
  146. public override float CoolantInletTempFB => 0;
  147. public override float CoolantOutletTempFB => 0;
  148. public override bool ChillerIsRunning => false;
  149. public bool innerChillerIsRunning=>_InnerChiller.IsRunning;
  150. public bool outerChillerIsRunning => _OuterChiller.IsRunning;
  151. public bool topChillerIsRunning => _TopChiller.IsRunning;
  152. //Loadlock_Arm
  153. public override bool IsLoadlockArmRetract => _LoadLockArm.OFFFeedback;
  154. public override bool IsLoadlockArmExtend => _LoadLockArm.ONFeedback;
  155. //Loadlock_Arm DO
  156. public override bool LoadlockArmRetract => _LoadLockArm.OFFSetPoint;
  157. public override bool LoadlockArmExtend => _LoadLockArm.ONSetPoint;
  158. public override float ReflectPower => _Generator.ReflectPower;
  159. public override float BiasReflectPower => _GeneratorBias.ReflectPower;
  160. public override bool BackSideHeOutOfRange => _backsideHe.OutOfRange;
  161. public override float RFMatchC1 => _Match != null ? _Match.TunePosition1 : 0;
  162. public override float RFMatchC2 => _Match != null ? _Match.TunePosition2 : 0;
  163. public override float BiasRFMatchC1 => _BiasMatch != null ? _BiasMatch.TunePosition1 : 0;
  164. public override float BiasRFMatchC2 => _BiasMatch != null ? _BiasMatch.TunePosition1 : 0;
  165. public new ModuleName Module { get; }
  166. public override MovementPosition LiftPinPosition
  167. {
  168. get
  169. {
  170. MovementPosition pos = MovementPosition.Unknown;
  171. if (_LiftPin.ONFeedback && !_LiftPin.OFFFeedback)
  172. {
  173. pos = MovementPosition.Up;
  174. }
  175. else if (!_LiftPin.ONFeedback && _LiftPin.OFFFeedback)
  176. {
  177. pos = MovementPosition.Down;
  178. }
  179. return pos;
  180. }
  181. }
  182. public override bool CheckAtm()
  183. {
  184. return _ATM_sw.Value && ChamberPressure > 700000;
  185. }
  186. public override bool CheckSlitDoorOpen()
  187. {
  188. return _slitDoor.State == CylinderState.Open;
  189. }
  190. public override bool CheckSlitDoorClose()
  191. {
  192. return _slitDoor.State == CylinderState.Close;
  193. }
  194. public override bool CheckLiftUp()
  195. {
  196. return _LiftPin.State == CylinderState.Open;
  197. }
  198. public override bool CheckLiftDown()
  199. {
  200. return _LiftPin.State == CylinderState.Close;
  201. }
  202. public override double TotalGasSetpoint
  203. {
  204. get
  205. {
  206. double sum = 0;
  207. foreach (var gas in _gasLines)
  208. {
  209. sum += gas.FlowSP;
  210. }
  211. return sum;
  212. }
  213. }
  214. public override bool HasGasOutOfRange
  215. {
  216. get
  217. {
  218. foreach (var gas in _gasLines)
  219. {
  220. if (!gas.IsOutOfRange)
  221. return false;
  222. }
  223. return true;
  224. }
  225. }
  226. public override bool PendulumValveIsOpen()
  227. {
  228. return _pendulumValve.IsOpen;
  229. }
  230. #region 构造函数
  231. public JetKepler2300PM(ModuleName moduleName) : base(moduleName)
  232. {
  233. Module = moduleName;
  234. _Lid = DEVICE.GetDevice<IoLid>($"{Module}.{VenusDevice.Lid}");
  235. _LidLoadlock = DEVICE.GetDevice<IoLid>($"{Module}.{VenusDevice.LidLoadlock}");
  236. _slitDoor = DEVICE.GetDevice<IoCylinder>($"{Module}.{VenusDevice.SlitDoor}");
  237. _LiftPin = DEVICE.GetDevice<IoCylinder>($"{Module}.{VenusDevice.LiftPin}");
  238. _LoadLockArm = DEVICE.GetDevice<IoCylinder>($"{Module}.{VenusDevice.LoadLockArm}");
  239. _PVN21Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValvePVN21}");
  240. _PVN22Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValvePVN22}");
  241. _PV11Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValvePV11}");
  242. _PV12Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValvePV12}");
  243. _PV21Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValvePV21}");
  244. _PV22Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValvePV22}");
  245. _PV31Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValvePV31}");
  246. _PV32Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValvePV32}");
  247. _PV41Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValvePV41}");
  248. _PV42Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValvePV42}");
  249. _N2Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveN2}");
  250. _Mfc1Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveMfc1}");
  251. _Mfc2Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveMfc2}");
  252. _Mfc3Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveMfc3}");
  253. _Mfc4Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveMfc4}");
  254. _Mfc5Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveMfc5}");
  255. _Mfc6Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveMfc6}");
  256. _Mfc7Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveMfc7}");
  257. _Mfc8Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveMfc8}");
  258. _PVHe1Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValvePVHe1}");
  259. _PVHe2Valve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValvePVHe2}");
  260. _GasFinalValve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveGasFinal}");
  261. _SoftPumpValve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveSoftPump}");
  262. _FastPumpValve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveFastPump}");
  263. _TurboPumpPumpingValve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveTurboPumpPumping}");
  264. _TurboPumpPurgeValve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveTurboPumpPurge}");
  265. _GuageValve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveGuage}");
  266. _LoadlockVentValve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveLoadlockVent}");
  267. _LoadlockPumpingValve = DEVICE.GetDevice<IoValve>($"{Module}.{VenusDevice.ValveLoadlockPumping}");
  268. _heMfc = DEVICE.GetDevice<IoMfc>($"{Module}.MfcHe");
  269. _ATM_sw = DEVICE.GetDevice<IoSensor>($"{Module}.SensorATMSwitch");
  270. _ATM_Loadlock_sw = DEVICE.GetDevice<IoSensor>($"{Module}.SensorLoadlockATMSwitch");
  271. _N2Pressure_sw = DEVICE.GetDevice<IoSensor>($"{Module}.N2PressureOk");
  272. _VAC_sw = DEVICE.GetDevice<IoSensor>($"{Module}.SensorVacSwitch");
  273. _Water_Flow = DEVICE.GetDevice<IoSensor>($"{Module}.SensorWaterFlowOk");
  274. _WLK_sw = DEVICE.GetDevice<IoSensor>($"{Module}.SensorWaterLeakOk");
  275. _CDAPressure = DEVICE.GetDevice<IoSensor>($"{Module}.SensorCDAPressureOk");
  276. _RFG_Interlock = DEVICE.GetDevice<IoSensor>($"{Module}.GeneratorInterlock");
  277. _PM_Lid_Closed = DEVICE.GetDevice<IoSensor>($"{Module}.SensorPMLidClosed");
  278. _Source_RF_Fan = DEVICE.GetDevice<IoSensor>($"{Module}.SensorSourceRFFan");
  279. _PM_SlitDoor_Closed = DEVICE.GetDevice<IoSensor>($"{Module}.SensorSlitDoorClosed");
  280. _TurboPumpInterlock = DEVICE.GetDevice<IoSensor>($"{Module}.TurboPumpInterlock");
  281. _GasBoxDoor = DEVICE.GetDevice<IoSensor>($"{Module}.GasBoxDoorSW");
  282. _GasBoxPressure = DEVICE.GetDevice<IoSensor>($"{Module}.GasBoxPressureSW");
  283. _ForelineTC = DEVICE.GetDevice<IoHeater>($"{Module}.ForelineHeater");
  284. _WallTC = DEVICE.GetDevice<IoHeater>($"{Module}.WallHeater");
  285. _SignalTower = DEVICE.GetDevice<IoSignalTower>($"{Module}.SignalTower");
  286. _CDAPressure = DEVICE.GetDevice<IoSensor>($"{Module}.SensorCDAPressureOk");
  287. _pressureController = DEVICE.GetDevice<IoPressureControl>($"{Module}.{VenusDevice.PressureControl}");
  288. _gasLines = new IoGasStick[8];
  289. for (int index = 0; index < 8; index++)
  290. {
  291. _gasLines[index] = DEVICE.GetDevice<IoGasStick>($"{Module}.GasStick{index + 1}");
  292. }
  293. _gasLineN2 = DEVICE.GetDevice<IoGasStick>($"{Module}.GasStickN2");
  294. _backsideHe = DEVICE.GetDevice<IoBacksideHe>($"{Module}.BacksideHelium");
  295. _MainPump = DEVICE.GetDevice<PumpBase>($"{Module}.{VenusDevice.MainPump}");
  296. // RS232 Dry pump, SKY
  297. if (SC.GetValue<int>($"{Module}.DryPump.CommunicationType") == (int)CommunicationType.RS232)
  298. {
  299. if (SC.GetValue<int>($"{Module}.DryPump.MFG") == (int)DryPumpMFG.SKY)
  300. {
  301. _MainPump = DEVICE.GetDevice<SkyPump>($"{Module}.{VenusDevice.MainPump}");
  302. }
  303. else if (SC.GetValue<int>($"{Module}.DryPump.MFG") == (int)DryPumpMFG.Edwards)
  304. {
  305. _MainPump = DEVICE.GetDevice<EdwardsPump>($"{Module}.{VenusDevice.MainPump}");
  306. }
  307. }
  308. _ESCHV = DEVICE.GetDevice<ESC5HighVoltage>($"{Module}.{VenusDevice.ESCHV}");
  309. _TurboPump = DEVICE.GetDevice<AdixenTurboPump>($"{Module}.{VenusDevice.TurboPump}");
  310. _pendulumValve = DEVICE.GetDevice<PendulumValve>($"{Module}.{VenusDevice.PendulumValve}");
  311. if (SC.GetValue<bool>($"{Module}.Chiller.EnableChiller") &&
  312. SC.GetValue<int>($"{Module}.Chiller.CommunicationType") == (int)CommunicationType.RS232)
  313. {
  314. if (SC.GetValue<int>($"{Module}.Chiller.MFG") == (int)ChillerMFG.SMC)
  315. {
  316. _Chiller = DEVICE.GetDevice<SMCChiller>($"{Module}.{VenusDevice.Chiller}");
  317. }
  318. else if (SC.GetValue<int>($"{Module}.Chiller.MFG") == (int)ChillerMFG.AIRSYS)
  319. {
  320. _Chiller = DEVICE.GetDevice<AIRSYSChiller>($"{Module}.{VenusDevice.Chiller}");
  321. }
  322. }
  323. if (SC.GetValue<bool>($"{Module}.InnerChiller.EnableChiller") &&
  324. SC.GetValue<int>($"{Module}.InnerChiller.CommunicationType") == (int)CommunicationType.RS232)
  325. {
  326. if (SC.GetValue<int>($"{Module}.InnerChiller.MFG") == (int)ChillerMFG.SMC)
  327. {
  328. _InnerChiller = DEVICE.GetDevice<SMCChiller>($"{Module}.{VenusDevice.InnerChiller}");
  329. }
  330. else if (SC.GetValue<int>($"{Module}.InnerChiller.MFG") == (int)ChillerMFG.AIRSYS)
  331. {
  332. _InnerChiller = DEVICE.GetDevice<AIRSYSChiller>($"{Module}.{VenusDevice.InnerChiller}");
  333. }
  334. }
  335. if (SC.GetValue<bool>($"{Module}.OuterChiller.EnableChiller") &&
  336. SC.GetValue<int>($"{Module}.OuterChiller.CommunicationType") == (int)CommunicationType.RS232)
  337. {
  338. if (SC.GetValue<int>($"{Module}.OuterChiller.MFG") == (int)ChillerMFG.SMC)
  339. {
  340. _OuterChiller = DEVICE.GetDevice<SMCChiller>($"{Module}.{VenusDevice.OuterChiller}");
  341. }
  342. else if (SC.GetValue<int>($"{Module}.OuterChiller.MFG") == (int)ChillerMFG.AIRSYS)
  343. {
  344. _OuterChiller = DEVICE.GetDevice<AIRSYSChiller>($"{Module}.{VenusDevice.OuterChiller}");
  345. }
  346. }
  347. if (SC.GetValue<bool>($"{Module}.TopChiller.EnableChiller") &&
  348. SC.GetValue<int>($"{Module}.TopChiller.CommunicationType") == (int)CommunicationType.RS232)
  349. {
  350. if (SC.GetValue<int>($"{Module}.TopChiller.MFG") == (int)ChillerMFG.SMC)
  351. {
  352. _TopChiller = DEVICE.GetDevice<SMCChiller>($"{Module}.{VenusDevice.TopChiller}");
  353. }
  354. else if (SC.GetValue<int>($"{Module}.TopChiller.MFG") == (int)ChillerMFG.AIRSYS)
  355. {
  356. _TopChiller = DEVICE.GetDevice<AIRSYSChiller>($"{Module}.{VenusDevice.TopChiller}");
  357. }
  358. }
  359. // RS223 AdTec Generator
  360. if (SC.GetValue<int>($"{Module}.Rf.CommunicationType") == (int)CommunicationType.RS232 &&
  361. SC.GetValue<int>($"{Module}.Rf.MFG") == (int)GeneratorMFG.AdTec)
  362. {
  363. _Generator = DEVICE.GetDevice<AdTecGenerator>($"{Module}.{VenusDevice.Rf}");
  364. }
  365. // Ethernet Comet Generator Bias
  366. if (SC.GetValue<bool>($"{Module}.BiasRf.EnableBiasRF"))
  367. {
  368. if (SC.GetValue<int>($"{Module}.BiasRf.CommunicationType") == (int)CommunicationType.Ethernet &&
  369. SC.GetValue<int>($"{Module}.BiasRf.MFG") == (int)GeneratorMFG.Comet)
  370. {
  371. _GeneratorBias = DEVICE.GetDevice<CometRF>($"{Module}.{VenusDevice.BiasRf}");
  372. }
  373. else if (SC.GetValue<int>($"{Module}.BiasRf.MFG") == (int)GeneratorMFG.AdTec)
  374. {
  375. _GeneratorBias = DEVICE.GetDevice<AdTecGenerator>($"{Module}.{VenusDevice.BiasRf}");
  376. }
  377. }
  378. // RS232 AdTec match
  379. if (SC.GetValue<int>($"{Module}.Match.CommunicationType") == (int)CommunicationType.RS232 &&
  380. SC.GetValue<int>($"{Module}.Match.MFG") == (int)MatchMFG.AdTec)
  381. {
  382. _Match = DEVICE.GetDevice<AdTecMatch>($"{Module}.{VenusDevice.Match}");
  383. }
  384. // Bias Match
  385. if (SC.GetValue<bool>($"{Module}.BiasMatch.EnableBiasMatch") &&
  386. SC.GetValue<int>($"{Module}.BiasMatch.CommunicationType") == (int)CommunicationType.RS232 &&
  387. SC.GetValue<int>($"{Module}.BiasMatch.MFG") == (int)MatchMFG.AdTec)
  388. {
  389. _BiasMatch = DEVICE.GetDevice<AdTecMatch>($"{Module}.{VenusDevice.BiasMatch}");
  390. }
  391. _foreline_interlock_pressure = SC.GetValue<double>($"{Module}.ForelineInterlockPressure");
  392. DATA.Subscribe($"{Module}.ChillerInnerTemp", () => _chillerInnerTemp);
  393. DATA.Subscribe($"{Module}.ChillerOuterTemp", () => _chillerOuterTemp);
  394. DATA.Subscribe($"{Module}.ChillerTopTemp", () => _chillerTopTemp);
  395. //DATA.Subscribe($"{Module}.InnerChiller.IsRunning", () => innerChillerIsRunning);
  396. //DATA.Subscribe($"{Module}.OuterChiller.IsRunning", () => outerChillerIsRunning);
  397. //DATA.Subscribe($"{Module}.TopChiller.IsRunning", () => topChillerIsRunning);
  398. //OP.Subscribe($"{Module}.HeatChiller", (cmd, args) => {
  399. // HeatChiller(ChillerType.InnerChiller, Convert.ToDouble(args[1]), Convert.ToDouble(args[2]));
  400. // return true;
  401. //});
  402. //OP.Subscribe($"{Module}.OnOffChiller", (cmd, args) => {
  403. // //HeatChiller(ChillerType.InnerChiller, Convert.ToDouble(args[1]), Convert.ToDouble(args[2]));
  404. // OnOffChiller(ChillerType.InnerChiller, (bool)(args[1]));
  405. // return true;
  406. //});
  407. }
  408. #endregion
  409. public override void CloseValves()
  410. {
  411. _PVN21Valve.TurnValve(false, out _);
  412. // _PVN22Valve.TurnValve(false, out _);
  413. _PV11Valve.TurnValve(false, out _);
  414. _PV12Valve.TurnValve(false, out _);
  415. _PV21Valve.TurnValve(false, out _);
  416. _PV22Valve.TurnValve(false, out _);
  417. _PV31Valve.TurnValve(false, out _);
  418. _PV32Valve.TurnValve(false, out _);
  419. _PV41Valve.TurnValve(false, out _);
  420. _PV42Valve.TurnValve(false, out _);
  421. _PVHe1Valve.TurnValve(false, out _);
  422. _PVHe2Valve.TurnValve(false, out _);
  423. _GasFinalValve.TurnValve(false, out _);
  424. _SoftPumpValve.TurnValve(false, out _);
  425. _FastPumpValve.TurnValve(false, out _);
  426. _TurboPumpPumpingValve.TurnValve(false, out _);
  427. _TurboPumpPurgeValve.TurnValve(false, out _);
  428. _GuageValve.TurnValve(false, out _);
  429. _N2Valve.TurnValve(false, out _);
  430. _FastPumpValve.TurnValve(false, out _);
  431. _Mfc1Valve.TurnValve(false, out _);
  432. _Mfc2Valve.TurnValve(false, out _);
  433. _Mfc3Valve.TurnValve(false, out _);
  434. _Mfc4Valve.TurnValve(false, out _);
  435. _Mfc5Valve.TurnValve(false, out _);
  436. _Mfc6Valve.TurnValve(false, out _);
  437. _Mfc7Valve.TurnValve(false, out _);
  438. _Mfc8Valve.TurnValve(false, out _);
  439. foreach (var stick in _gasLines)
  440. {
  441. stick.Stop();
  442. }
  443. }
  444. public override void TurnDryPump(bool on)
  445. {
  446. //_pressureController.StartPump(on);
  447. _MainPump?.SetPumpOnOff(on);
  448. }
  449. public override void TurnTurboPump(bool on)
  450. {
  451. _TurboPump?.SetPumpOnOff(on);
  452. }
  453. public override void OpenValve(ValveType vlvType, bool on)
  454. {
  455. switch (vlvType)
  456. {
  457. case ValveType.PVN21:
  458. _PVN21Valve.TurnValve(on, out _);
  459. break;
  460. case ValveType.PVN22:
  461. _PVN22Valve.TurnValve(on, out _);
  462. LOG.Write(eEvent.EV_DEVICE_INFO, Module, $"{(on ? "打开" : "关闭")} 阀 {vlvType.ToString()}");
  463. break;
  464. case ValveType.PV11:
  465. _PV11Valve.TurnValve(on, out _);
  466. break;
  467. case ValveType.PV12:
  468. _PV12Valve.TurnValve(on, out _);
  469. break;
  470. case ValveType.PV21:
  471. _PV21Valve.TurnValve(on, out _);
  472. break;
  473. case ValveType.PV22:
  474. _PV22Valve.TurnValve(on, out _);
  475. break;
  476. case ValveType.PV31:
  477. _PV31Valve.TurnValve(on, out _);
  478. break;
  479. case ValveType.PV32:
  480. _PV32Valve.TurnValve(on, out _);
  481. break;
  482. case ValveType.PV41:
  483. _PV41Valve.TurnValve(on, out _);
  484. break;
  485. case ValveType.PV42:
  486. _PV42Valve.TurnValve(on, out _);
  487. break;
  488. case ValveType.N2:
  489. _N2Valve.TurnValve(on, out _);
  490. break;
  491. case ValveType.PVHe1:
  492. _PVHe1Valve.TurnValve(on, out _);
  493. break;
  494. case ValveType.PVHe2:
  495. _PVHe2Valve.TurnValve(on, out _);
  496. break;
  497. case ValveType.GasFinal:
  498. _GasFinalValve.TurnValve(on, out _);
  499. break;
  500. case ValveType.SoftPump:
  501. _SoftPumpValve.TurnValve(on, out _);
  502. break;
  503. case ValveType.FastPump:
  504. _FastPumpValve.TurnValve(on, out _);
  505. break;
  506. case ValveType.TurboPumpPumping:
  507. _TurboPumpPumpingValve.TurnValve(on, out _);
  508. break;
  509. case ValveType.TurboPumpPurge:
  510. _TurboPumpPurgeValve.TurnValve(on, out _);
  511. break;
  512. case ValveType.Guage:
  513. _GuageValve.TurnValve(on, out _);
  514. break;
  515. case ValveType.LoadlockVent:
  516. _LoadlockVentValve.TurnValve(on, out _);
  517. break;
  518. case ValveType.LoadlockPumping:
  519. _LoadlockPumpingValve.TurnValve(on, out _);
  520. break;
  521. case ValveType.Mfc1:
  522. _Mfc1Valve.TurnValve(on, out _);
  523. break;
  524. case ValveType.Mfc2:
  525. _Mfc2Valve.TurnValve(on, out _);
  526. break;
  527. case ValveType.Mfc3:
  528. _Mfc3Valve.TurnValve(on, out _);
  529. break;
  530. case ValveType.Mfc4:
  531. _Mfc4Valve.TurnValve(on, out _);
  532. break;
  533. case ValveType.Mfc5:
  534. _Mfc5Valve.TurnValve(on, out _);
  535. break;
  536. case ValveType.Mfc6:
  537. _Mfc6Valve.TurnValve(on, out _);
  538. break;
  539. case ValveType.Mfc7:
  540. _Mfc7Valve.TurnValve(on, out _);
  541. break;
  542. case ValveType.Mfc8:
  543. _Mfc8Valve.TurnValve(on, out _);
  544. break;
  545. default:
  546. throw new ArgumentOutOfRangeException($"Argument error {vlvType}-{on}");
  547. }
  548. }
  549. public override void Monitor()
  550. {
  551. foreach (var gas in _gasLines)
  552. {
  553. gas.Monitor();
  554. }
  555. CheckPermanentInterlock();
  556. }
  557. protected override void CheckPermanentInterlock()
  558. {
  559. var isOnline= DATA.Poll(Module.ToString(), "IsOnline");
  560. if (isOnline==null)
  561. {
  562. return;
  563. }
  564. if (Convert.ToBoolean(isOnline) == false)
  565. {
  566. if (ProcessLowPressure > 95 && _GuageValve.SetPoint)
  567. {
  568. _GuageValve.TurnValve(false, out _);
  569. //LOG.Write(eEvent.WARN_DEVICE_INFO, Module, $"Low pressure:{ProcessPressure} > 100 mtorr, Guage Valve (DO-31) closed automaticlly.");
  570. }
  571. }
  572. else
  573. {
  574. if (ProcessLowPressure > 95 && _GuageValve.SetPoint)
  575. {
  576. _GuageValve.TurnValve(false, out _);
  577. //LOG.Write(eEvent.WARN_DEVICE_INFO, Module, $"Low pressure:{ProcessPressure} > 100 mtorr, Guage Valve (DO-31) closed automaticlly.");
  578. }
  579. if (ProcessHighPressure < 95 && _GuageValve.SetPoint == false)
  580. {
  581. _GuageValve.TurnValve(true, out _);
  582. //LOG.Write(eEvent.WARN_DEVICE_INFO, Module, $"High pressure:{ProcessPressure} < 100 mtorr, Guage Valve (DO-31) open automaticlly.");
  583. }
  584. }
  585. }
  586. public override void CheckIdleInterlock()
  587. {
  588. if (ForelinePressure > _foreline_interlock_pressure)
  589. {
  590. if (_TurboPumpPumpingValve.SetPoint || _TurboPumpPurgeValve.SetPoint || _pendulumValve.IsOpen)
  591. {
  592. _pendulumValve.TurnValve(false);
  593. _TurboPumpPurgeValve.TurnValve(false, out _);
  594. _TurboPumpPumpingValve.TurnValve(false, out _);
  595. LOG.Write(eEvent.WARN_DEVICE_INFO, Module, $"Foreline pressure:{ForelinePressure} exceed {_foreline_interlock_pressure} mtorr, Pendulum valve & PV6 & PV7 closed automaticlly.");
  596. }
  597. }
  598. }
  599. public override void BuzzerBlinking(double time)
  600. {
  601. _SignalTower.BuzzerBlinking(time);
  602. }
  603. public override void SwitchOnBuzzerAndRed()
  604. {
  605. _SignalTower.SwitchOnBuzzerAndRed("", null);
  606. }
  607. public override void Home()
  608. {
  609. // 与yp讨论过,PM 初始化不需要
  610. SetLiftPin(MovementPosition.Down, out _);
  611. if (_slitDoor.State == CylinderState.Open)
  612. {
  613. SetSlitDoor(true, out _);
  614. }
  615. else
  616. {
  617. SetSlitDoor(false, out _);
  618. }
  619. SetSlitDoor(false, out _);
  620. //2023/03/08添加
  621. OpenValve(ValveType.PVN22, true);
  622. //2023/04/25临时添加
  623. //RetractWafer();
  624. }
  625. public override bool SetLiftPin(MovementPosition dirt, out string reason)
  626. {
  627. reason = string.Empty;
  628. switch (dirt)
  629. {
  630. case MovementPosition.Down:
  631. return _LiftPin.SetCylinder(false, out reason);
  632. case MovementPosition.Up:
  633. return _LiftPin.SetCylinder(true, out reason);
  634. case MovementPosition.Left:
  635. case MovementPosition.Right:
  636. case MovementPosition.Middle:
  637. throw new ArgumentException("Movement argument error");
  638. }
  639. return true;
  640. }
  641. public override bool SetSlitDoor(bool open, out string reason)
  642. {
  643. if (open)
  644. {
  645. if (RouteManager.IsATMMode)
  646. {
  647. if (!IsATM)
  648. {
  649. reason = $"{Module} is not ATM, can not open slit door";
  650. LOG.Write(eEvent.ERR_DEVICE_INFO, Module, reason);
  651. return false;
  652. }
  653. if (!IsTMATM)
  654. {
  655. reason = $"LoadLock is not ATM, can not open slit door";
  656. LOG.Write(eEvent.ERR_DEVICE_INFO, Module, reason);
  657. return false;
  658. }
  659. }
  660. else
  661. {
  662. double maxPressureDifference = SC.GetValue<double>("System.PMTMMaxPressureDifference");
  663. if (Math.Abs(TMPressure - ChamberPressure) > maxPressureDifference)
  664. {
  665. reason = $"{Module} and TM pressure difference exceeds the max limit {maxPressureDifference}, TMPressure:{TMPressure}, {Module}Pressure:{ChamberPressure}";
  666. LOG.Write(eEvent.ERR_DEVICE_INFO, Module, reason);
  667. return false;
  668. }
  669. }
  670. }
  671. return _slitDoor.SetCylinder(open, out reason);
  672. }
  673. public override bool RetractWafer()
  674. {
  675. return _LoadLockArm.SetCylinder(false, out _);
  676. }
  677. public override bool ExtendWafer()
  678. {
  679. return _LoadLockArm.SetCylinder(true, out _);
  680. }
  681. public override bool FlowGas(int gasNum, double val)
  682. {
  683. if (_gasLines.Length <= gasNum)
  684. return false;
  685. _gasLines[gasNum].Flow(val);
  686. return true;
  687. }
  688. public override bool StopGas(int gasNum)
  689. {
  690. if (_gasLines.Length <= gasNum)
  691. return false;
  692. _gasLines[gasNum].Stop();
  693. return true;
  694. }
  695. public override bool FlowN2(double val)
  696. {
  697. _gasLineN2.Flow(val);
  698. return true;
  699. }
  700. public override bool StopN2()
  701. {
  702. _gasLineN2.Stop();
  703. return true;
  704. }
  705. public override void StopAllGases()
  706. {
  707. foreach (var line in _gasLines)
  708. {
  709. line.Stop();
  710. }
  711. }
  712. public override bool TurnPendulumValve(bool on)
  713. {
  714. return _pendulumValve.TurnValve(on);
  715. }
  716. public override bool SetPVPressure(int pressure)
  717. {
  718. return _pendulumValve.SetPressure(pressure);
  719. }
  720. public override bool SetPVPostion(int position)
  721. {
  722. return _pendulumValve.SetPosition(position);
  723. }
  724. public override int GetPVPosition()
  725. {
  726. return _pendulumValve.Position;
  727. }
  728. public override async void HeatChiller(ChillerType chillerType, double value, double offset)
  729. {
  730. switch (chillerType)
  731. {
  732. case ChillerType.Chiller:
  733. _Chiller?.SetChillerTemp((float)value, (float)offset);
  734. await Task.Delay(1000);
  735. _Chiller?.SetChillerOnOff(true);
  736. break;
  737. case ChillerType.InnerChiller:
  738. _InnerChiller?.SetChillerTemp((float)value, (float)offset);
  739. await Task.Delay(1000);
  740. _InnerChiller?.SetChillerOnOff(true);
  741. break;
  742. case ChillerType.OuterChiller:
  743. _OuterChiller?.SetChillerTemp((float)value, (float)offset);
  744. await Task.Delay(1000);
  745. _OuterChiller?.SetChillerOnOff(true);
  746. break;
  747. case ChillerType.TopChiller:
  748. _TopChiller?.SetChillerTemp((float)value, (float)offset);
  749. await Task.Delay(1000);
  750. _TopChiller?.SetChillerOnOff(true);
  751. break;
  752. }
  753. }
  754. public override void OnOffChiller(ChillerType chillerType, bool onoff)
  755. {
  756. switch (chillerType)
  757. {
  758. case ChillerType.Chiller:
  759. _Chiller?.SetChillerOnOff(onoff);
  760. break;
  761. case ChillerType.InnerChiller:
  762. _InnerChiller?.SetChillerOnOff(onoff);
  763. break;
  764. case ChillerType.OuterChiller:
  765. _OuterChiller?.SetChillerOnOff(onoff);
  766. break;
  767. case ChillerType.TopChiller:
  768. _TopChiller?.SetChillerOnOff(onoff);
  769. break;
  770. }
  771. }
  772. public override bool CheckChillerStatus()
  773. {
  774. return _Chiller != null /*&& _Chiller.IsRunning*/ && !_Chiller.IsError;
  775. }
  776. public override void SetGeneratorCommunicationMode(int mode)
  777. {
  778. _Generator?.SetCommunicationMode(mode);
  779. }
  780. public override bool GeneratorPowerOn(bool on)
  781. {
  782. if (_Generator == null) return false;
  783. if (on && !IsRFGInterlockOn)
  784. {
  785. LOG.Write(eEvent.ERR_RF, Module, "射频电源 Interlock条件不满足");
  786. return false;
  787. }
  788. return _Generator.SetPowerOnOff(on, out _);
  789. }
  790. public override bool GeneratorSetpower(float val)
  791. {
  792. if (_Generator == null) return false;
  793. if (Math.Abs(val) > 0.01)
  794. _Generator.SetPower((ushort)val);
  795. return true;
  796. }
  797. public override bool GeneratorBiasPowerOn(bool on)
  798. {
  799. if (_GeneratorBias == null) return false;
  800. if (on && !IsRFGInterlockOn)
  801. {
  802. LOG.Write(eEvent.ERR_RF, Module, "Bias射频电源 Interlock条件不满足");
  803. return false;
  804. }
  805. return _GeneratorBias.SetPowerOnOff(on, out _);
  806. }
  807. public override bool GeneratorBiasSetpower(float val)
  808. {
  809. if (_GeneratorBias == null) return false;
  810. if (Math.Abs(val) > 0.01)
  811. _GeneratorBias.SetPower((ushort)val);
  812. return true;
  813. }
  814. public override bool OnOffSetESCHV(bool val)
  815. {
  816. return _ESCHV.SetPowerOnOff(val);
  817. }
  818. public override bool SetWallTCTemperature(float value)
  819. {
  820. return _WallTC.RampTemp(value);
  821. }
  822. public override bool GeneratorBiasSetMatchMode(bool val)
  823. {
  824. if (_GeneratorBias == null) return false;
  825. string reason = string.Empty;
  826. _GeneratorBias.SetMatchingAutoMode(val, out reason);
  827. return true;
  828. }
  829. public override bool SetMatchPosition(float c1, float c2)
  830. {
  831. if (_Match == null) return false;
  832. string reason = string.Empty;
  833. _Match.SetMatchPosition(c1, c2, out reason);
  834. return true;
  835. }
  836. public override bool SetBiasMatchPosition(float c1, float c2)
  837. {
  838. if (_BiasMatch == null) return false;
  839. string reason = string.Empty;
  840. _BiasMatch.SetMatchPosition(c1, c2, out reason);
  841. return true;
  842. }
  843. public override bool SetBiasPulseMode(bool on)
  844. {
  845. if (_GeneratorBias == null) return false;
  846. _GeneratorBias.SetPulseMode(on);
  847. return true;
  848. }
  849. public override bool SetBiasPulseRateFreq(int nFreq)
  850. {
  851. if (_GeneratorBias == null) return false;
  852. _GeneratorBias.SetPulseRateFreq(nFreq);
  853. return true;
  854. }
  855. public override bool SetDiasPulseDutyCycle(int percentage)
  856. {
  857. if (_GeneratorBias == null) return false;
  858. _GeneratorBias.SetPulseDutyCycle(percentage);
  859. return true;
  860. }
  861. public override bool SetESCClampVoltage(int nVoltage)
  862. {
  863. if (_ESCHV == null) return false;
  864. return _ESCHV.SetOutputVoltage(nVoltage);
  865. }
  866. public override bool CheckGeneratorAndHVInterlock(VenusDevice device)
  867. {
  868. eEvent evt = device == VenusDevice.Rf ? eEvent.ERR_RF : eEvent.ERR_ESC_HV;
  869. if (!PMLidClosed)
  870. {
  871. LOG.Write(evt, Module, $"Cannot Power ON {device} as PM Lid is Open.");
  872. return false;
  873. }
  874. if (!IsVAC)
  875. {
  876. LOG.Write(evt, Module, $"Cannot Power ON {device} as PM is not Vacuum.");
  877. return false;
  878. }
  879. if (!IsWaterFlowOk)
  880. {
  881. LOG.Write(evt, Module, $"Cannot Power ON {device} as Water Flow is OFF.");
  882. return false;
  883. }
  884. if (!IsRFGInterlockOn)
  885. {
  886. LOG.Write(evt, Module, $"Cannot Power ON {device} as Generator Interlock is OFF.");
  887. return false;
  888. }
  889. if (!SourceRFFanInterlock)
  890. {
  891. LOG.Write(evt, Module, $"Cannot Power ON {device} as Source RF Fan is OFF.");
  892. return false;
  893. }
  894. if (!SlitDoorClosed)
  895. {
  896. LOG.Write(evt, Module, $"Cannot Power ON {device} as Slit Door is open.");
  897. return false;
  898. }
  899. if ((device == VenusDevice.ESCHV || device == VenusDevice.BiasRf) && WaferManager.Instance.CheckNoWafer(Module, 0))
  900. {
  901. LOG.Write(evt, Module, $"Cannot Power ON {device} as {Module} has no wafer");
  902. return false;
  903. }
  904. return true;
  905. }
  906. public override void SetBacksideHeFlow(double flow)
  907. {
  908. if (_backsideHe == null) return;
  909. _backsideHe.Flow(flow);
  910. }
  911. public override bool SetBacksideHePressure(float mTorr)
  912. {
  913. if (_backsideHe == null) return false;
  914. return _backsideHe.SetBacksideHelium(mTorr);
  915. }
  916. public override bool SetBacksideHeThreshold(int nMin, int nMax)
  917. {
  918. if (_backsideHe == null) return false;
  919. return _backsideHe.SetFlowThreshold(nMin, nMax);
  920. }
  921. }
  922. }