JetPMBase.cs 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751
  1. using Aitex.Core.RT.DataCenter;
  2. using Aitex.Core.RT.Device;
  3. using Aitex.Core.RT.OperationCenter;
  4. using Aitex.Core.Util;
  5. using MECF.Framework.Common.Equipment;
  6. using System.Collections.Generic;
  7. using Venus_Core;
  8. using Venus_RT.Modules;
  9. using System;
  10. using Aitex.Core.RT.SCCore;
  11. using System.Threading.Tasks;
  12. using Aitex.Core.RT.Log;
  13. namespace Venus_RT.Devices
  14. {
  15. abstract class JetPMBase : BaseDevice, IDevice
  16. {
  17. // 盖子的状态
  18. public abstract bool IsLidClosed { get; }
  19. public virtual bool IsLidLoadlockClosed { get; }
  20. public abstract bool IsSlitDoorClosed { get; }
  21. public virtual bool IsLinerDoorClosed { get; }
  22. public virtual bool IsISOOpen { get; }
  23. public virtual bool IsPenVOpen { get; }
  24. public abstract bool IsPumpRunning { get; }
  25. public abstract bool IsTurboPumpRunning { get; }
  26. public abstract bool IsTurboPumpAtSpeed { get; }
  27. public abstract float TurboPumpSpeed { get; }
  28. public abstract bool HasPumpError { get; }
  29. public abstract bool HasTurboPumpError { get; }
  30. public abstract bool IsCDA_OK { get; }
  31. public abstract bool IsFastPumpOpened { get; }
  32. public abstract bool IsSoftPumpOpened { get; }
  33. public abstract bool IsMfc1ValveOpened { get; }
  34. public abstract bool IsMfc2ValveOpened { get; }
  35. public abstract bool IsMfc3ValveOpened { get; }
  36. public abstract bool IsMfc4ValveOpened { get; }
  37. public abstract bool IsMfc5ValveOpened { get; }
  38. public abstract bool IsMfc6ValveOpened { get; }
  39. public abstract bool IsMfc7ValveOpened { get; }
  40. public abstract bool IsMfc8ValveOpened { get; }
  41. public abstract bool IsGuageValveOpened { get; }
  42. public abstract bool IsATM { get; }
  43. public abstract bool PVN22ValveIsOpen { get; }
  44. public virtual bool LiftPinIsDown { get; }
  45. public virtual bool LiftPinIsUp { get; }
  46. //public abstract bool IsATMLoadlock { get; }
  47. //public abstract bool IsVACLoadLock { get; }
  48. public abstract bool IsVAC { get; }
  49. public abstract bool IsWaterFlowOk { get; }
  50. public abstract bool IsWLK { get; }
  51. public abstract bool IsRFGInterlockOn { get; }
  52. //public virtual bool PMLidClosed { get; }
  53. public abstract bool TurboPumpInterlock { get; }
  54. public virtual bool SourceRFFanInterlock { get; }
  55. public virtual bool SourceRFMatchInterlock { get; }
  56. public virtual bool SlitDoorClosed { get; }
  57. public virtual bool LinerDoorClosed { get; }
  58. //public virtual double ProcessLowPressure { get; }
  59. //public virtual double ProcessHighPressure { get; }
  60. public abstract double ProcessPressure { get; }
  61. public abstract double ChamberPressure { get; }
  62. public virtual double CalculationPressure { get; }
  63. public abstract double ForelinePressure { get; }
  64. public abstract double TargetPressure { get; }
  65. public virtual double ESCHePressure { get; }
  66. public virtual int ESCOutputVoltage { get; }
  67. public virtual float MagnetIntensity { get; }
  68. public virtual double ESCPositiveOutputCurrent { get; }//R+
  69. public virtual double ESCNegativeOutputCurrent { get; }//R-
  70. public virtual bool IsHVOn { get; }
  71. public virtual float CoolantInletTempFB { get; }
  72. public virtual float CoolantInletWallTempFB { get; }
  73. public virtual float CoolantOutletTempFB { get; }
  74. public virtual bool ChillerIsRunning { get; }
  75. //Loadlock_Arm
  76. public virtual bool IsLoadlockArmRetract { get; }
  77. public virtual bool IsLoadlockArmExtend { get; }
  78. //Loadlock_Arm DO
  79. public virtual bool LoadlockArmRetract { get; }
  80. public virtual bool LoadlockArmExtend { get; }
  81. public abstract float ReflectPower { get; }
  82. public virtual float BiasReflectPower { get; }
  83. public virtual float ForwardPower { get; }
  84. public virtual float BiasForwardPower { get; }
  85. public virtual bool BackSideHeOutOfRange { get; }
  86. public abstract float RFMatchC1 { get; }
  87. public abstract float RFMatchC2 { get; }
  88. public virtual float BiasRFMatchC1 { get; }
  89. public virtual float BiasRFMatchC2 { get; }
  90. public virtual float RFBoxC1 { get; }
  91. public new ModuleName Module;
  92. public virtual MovementPosition LiftPinPosition { get; }
  93. public virtual float ChamberTemperature { get; }
  94. //public virtual float WallTemperature { get; }
  95. //public virtual float ESCTemperature { get; }
  96. public virtual float HighTemperatureHeaterTemperature { get; }
  97. public virtual HighTemperatureHeaterPosition HighTemperatureHeaterPosition { get; }
  98. //public abstract bool CheckAtm();
  99. public virtual bool CheckSlitDoorOpen()
  100. {
  101. return false;
  102. }
  103. public virtual bool CheckSlitDoorClose()
  104. {
  105. return true;
  106. }
  107. public virtual bool CheckLinerDoorOpen()
  108. {
  109. return true;
  110. }
  111. public virtual bool CheckLinerDoorClose()
  112. {
  113. return true;
  114. }
  115. public virtual bool CheckLiftUp()
  116. {
  117. return false;
  118. }
  119. public virtual bool CheckLiftDown()
  120. {
  121. return false;
  122. }
  123. public abstract double TotalGasSetpoint { get; }
  124. public abstract bool HasGasOutOfRange { get; }
  125. public abstract bool PendulumValveIsOpen();
  126. //public virtual double LoadlockPressure { get; }
  127. public virtual double MFC1FeedBack { get; }
  128. public virtual double MFC2FeedBack { get; }
  129. public virtual double MFC3FeedBack { get; }
  130. public virtual double MFC4FeedBack { get; }
  131. public virtual double MFC5FeedBack { get; }
  132. public virtual double MFC6FeedBack { get; }
  133. public virtual double MFC7FeedBack { get; }
  134. public virtual double MFC8FeedBack { get; }
  135. public virtual double MFC9FeedBack { get; }
  136. public virtual double MFC10FeedBack { get; }
  137. public virtual double MFC11FeedBack { get; }
  138. public virtual double MFC12FeedBack { get; }
  139. public virtual double HeliumFeedBack { get; }
  140. public virtual float PendulumPressure { get; }
  141. public virtual float PendulumPosition { get; }
  142. public double TMPressure { get { return Singleton<RouteManager>.Instance.TM.TMPressure; } }
  143. public bool IsTMATM
  144. {
  145. get
  146. {
  147. if (Singleton<RouteManager>.Instance.TM != null)
  148. {
  149. return Singleton<RouteManager>.Instance.TM.IsTMATM;
  150. }
  151. else
  152. {
  153. return Singleton<RouteManager>.Instance.seTM.TMIsATM;
  154. }
  155. }
  156. }
  157. public bool IsTMVAC
  158. {
  159. get
  160. {
  161. if (Singleton<RouteManager>.Instance.TM != null)
  162. {
  163. return Singleton<RouteManager>.Instance.TM.IsTMVac;
  164. }
  165. else
  166. {
  167. return Singleton<RouteManager>.Instance.seTM.TMIsVAC;
  168. }
  169. }
  170. }
  171. // EndPoint
  172. private readonly JetEPDBase _epdClient;
  173. public List<string> EPDCfgList => _epdClient?.CFGFileList;
  174. //public List<string> EPDCfgList=new List<string>() { "1","2"};
  175. public bool EPDCaptured => _epdClient.Captured;
  176. public bool EPDConnected => _epdClient.IsEPDConnected;
  177. public JetChamber ChamberType = JetChamber.None;
  178. public JetPMBase(ModuleName module) : base(module.ToString(), module.ToString(), module.ToString(), module.ToString())
  179. {
  180. Module = module;
  181. _epdClient = DEVICE.GetDevice<JetEPDBase>($"{Module}.{VenusDevice.EndPoint}");
  182. ChamberType = (JetChamber)SC.GetValue<int>($"{Module}.ChamberType");
  183. DATA.Subscribe($"{Name}.ForelinePressure", () => ForelinePressure);
  184. //DATA.Subscribe($"{Name}.ProcessHighPressure", () => ProcessHighPressure, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  185. //DATA.Subscribe($"{Name}.ProcessLowPressure", () => ProcessLowPressure,SubscriptionAttribute.FLAG.IgnoreSaveDB);
  186. DATA.Subscribe($"{Name}.CalculationPressure", () => CalculationPressure, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  187. DATA.Subscribe($"{Name}.ChamberPressure", () => ChamberPressure);
  188. DATA.Subscribe($"{Name}.ProcessPressure", () => ProcessPressure);
  189. //DATA.Subscribe($"{Name}.LoadlockPressure", () => LoadlockPressure);
  190. DATA.Subscribe($"{Name}.IsATM", () => IsATM, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  191. DATA.Subscribe($"{Name}.IsVAC", () => IsVAC, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  192. DATA.Subscribe($"{Name}.LiftPinIsUp", () => LiftPinIsUp, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  193. DATA.Subscribe($"{Name}.LiftPinIsDown", () => LiftPinIsDown, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  194. DATA.Subscribe($"{Name}.PumpIsRunning", () => IsPumpRunning, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  195. DATA.Subscribe($"{Name}.TurboPumpIsRunning", () => IsTurboPumpRunning, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  196. DATA.Subscribe($"{Name}.IsSlitDoorClosed", () => IsSlitDoorClosed, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  197. DATA.Subscribe($"{Name}.IsLinerDoorClosed", () => IsLinerDoorClosed, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  198. DATA.Subscribe($"{Name}.IsLidClosed", () => IsLidClosed, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  199. DATA.Subscribe($"{Name}.TurboPumpRotationalSpeed", () => TurboPumpSpeed);
  200. DATA.Subscribe($"{Name}.IsWaterFlowOk", () => IsWaterFlowOk, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  201. DATA.Subscribe($"{Name}.IsWLK", () => IsWLK, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  202. DATA.Subscribe($"{Name}.IsCDA_OK", () => IsCDA_OK, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  203. DATA.Subscribe($"{Name}.SourceRFFanInterlock", () => SourceRFFanInterlock, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  204. DATA.Subscribe($"{Name}.SourceRFMatchInterlock", () => SourceRFMatchInterlock, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  205. DATA.Subscribe($"{Name}.IsTurboPumpInterlock", () => TurboPumpInterlock, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  206. //DATA.Subscribe($"{Name}.IsATMLoadlock", () => IsATMLoadlock, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  207. //DATA.Subscribe($"{Name}.IsVACLoadlock", () => IsVACLoadLock, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  208. DATA.Subscribe($"{Name}.GetPVPosition", () => GetPVPosition());
  209. DATA.Subscribe($"{Name}.WallChiller.Temp", () => CoolantInletWallTempFB,SubscriptionAttribute.FLAG.IgnoreSaveDB);
  210. //DATA.Subscribe($"{Name}.Chiller.IsOn", () => ChillerIsRunning, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  211. DATA.Subscribe($"{Name}.IsTurboPumpAtSpeed", () => IsTurboPumpAtSpeed);
  212. DATA.Subscribe($"{Name}.EPDCfgList", () => EPDCfgList, SubscriptionAttribute.FLAG.IgnoreSaveDB);
  213. OP.Subscribe($"{Module}.SetLiftPin", (cmd, args) =>
  214. {
  215. if ((bool)args[0] == true)
  216. {
  217. return SetLiftPin(MovementPosition.Up, out _);
  218. }
  219. else
  220. {
  221. return SetLiftPin(MovementPosition.Down, out _);
  222. }
  223. });
  224. OP.Subscribe($"{Module}.SetSRf", (cmd, args) =>
  225. {
  226. var ison = (bool)args[1];
  227. if (ison == true)
  228. {
  229. GeneratorPowerOn(true);
  230. GeneratorSetpower((float)args[0]);
  231. }
  232. else
  233. {
  234. GeneratorPowerOn(false);
  235. }
  236. return true;
  237. });
  238. OP.Subscribe($"{Module}.SetBRf", (cmd, args) =>
  239. {
  240. var ison = (bool)args[1];
  241. if (ison == true)
  242. {
  243. GeneratorBiasPowerOn(true);
  244. GeneratorBiasSetpower((float)args[0]);
  245. }
  246. else
  247. {
  248. GeneratorBiasPowerOn(false);
  249. }
  250. return true;
  251. });
  252. OP.Subscribe($"{Module}.SetMagnet", (cmd, args) =>
  253. {
  254. var ison = (bool)args[1];
  255. MagnetSetpower((float)args[0]);
  256. return true;
  257. });
  258. OP.Subscribe($"{Module}.SetSlitDoor", (cmd, args) =>
  259. {
  260. SetSlitDoor((bool)args[0], out _);
  261. return true;
  262. });
  263. OP.Subscribe($"{Module}.SetLinerDoor", (cmd, args) =>
  264. {
  265. SetLinerDoor((bool)args[0], out _);
  266. return true;
  267. });
  268. OP.Subscribe($"{Module}.SetESCHVIsOn", (cmd, args) =>
  269. {
  270. OnOffSetESCHV((bool)args[0]);
  271. return true;
  272. });
  273. OP.Subscribe($"{Module}.SetESCHV", (cmd, args) =>
  274. {
  275. SetESCClampVoltage((int)args[0]);
  276. return true;
  277. });
  278. OP.Subscribe($"{Module}.SetPVPostion", (cmd, args) =>
  279. {
  280. SetPVPostion(Convert.ToSingle(args[0]));
  281. return true;
  282. });
  283. OP.Subscribe($"{Module}.SetPVPressure", (cmd, args) =>
  284. {
  285. SetPVPressure(Convert.ToSingle(args[0]));
  286. return true;
  287. });
  288. OP.Subscribe($"{Module}.ClosePump", (cmd, args) =>
  289. {
  290. TurnDryPump(false);
  291. return true;
  292. });
  293. OP.Subscribe($"{Module}.CloseTurboPump", (cmd, args) =>
  294. {
  295. TurnTurboPump(false);
  296. return true;
  297. });
  298. OP.Subscribe($"{Module}.ControlValve", (cmd, args) =>
  299. {
  300. if (Enum.TryParse(args[0].ToString(), out ValveType targetvalve))
  301. {
  302. OpenValve(targetvalve, (bool)args[1]);
  303. }
  304. return true;
  305. });
  306. OP.Subscribe($"{Module}.TurnPendulumValve", (cmd, args) =>
  307. {
  308. TurnPendulumValve((bool)args[0]);
  309. return true;
  310. });
  311. OP.Subscribe($"{Module}.HeatChiller", (cmd, args) =>
  312. {
  313. var chillerType = (ChillerType)Enum.Parse(typeof(ChillerType), args[0].ToString());
  314. HeatChiller(chillerType, (float)args[1], (float)args[2]);
  315. return true;
  316. });
  317. OP.Subscribe($"{Module}.OnOffChiller", (cmd, args) =>
  318. {
  319. var chillerType = (ChillerType)Enum.Parse(typeof(ChillerType), args[0].ToString());
  320. var ison = Convert.ToBoolean(args[1]);
  321. OnOffChiller(chillerType, ison);
  322. return true;
  323. });
  324. OP.Subscribe($"{Module}.WallChiller", (cmd, args) =>
  325. {
  326. float value;
  327. float.TryParse(args[0].ToString(), out value);
  328. SetWallTCTemperature(value);
  329. return true;
  330. });
  331. OP.Subscribe($"{Module}.SetBacksideHeFlow", (cmd, args) =>
  332. {
  333. double value;
  334. double.TryParse(args[0].ToString(), out value);
  335. SetBacksideHeFlow(value);
  336. return true;
  337. });
  338. OP.Subscribe($"{Module}.SetBacksideHePressure", (cmd, args) =>
  339. {
  340. float value;
  341. float.TryParse(args[0].ToString(), out value);
  342. SetBacksideHePressure(value);
  343. return true;
  344. });
  345. OP.Subscribe($"{Module}.EndPoint.SearchCfg", (cmd, args) =>
  346. {
  347. _epdClient?.QueryConfigList();
  348. return true;
  349. });
  350. }
  351. public abstract void CloseValves(int? delayTime = null);
  352. public abstract void TurnDryPump(bool on);
  353. public abstract void TurnTurboPump(bool on);
  354. public abstract void OpenValve(ValveType vlvType, bool on);
  355. public virtual void Monitor()
  356. {
  357. }
  358. public virtual bool Initialize()
  359. {
  360. return true;
  361. }
  362. public virtual void Terminate()
  363. {
  364. }
  365. public virtual void Reset()
  366. {
  367. }
  368. public virtual bool OnOffSetESCHV(bool on)
  369. {
  370. return false;
  371. }
  372. public virtual bool IsRFAble()
  373. {
  374. return true;
  375. }
  376. public virtual bool IsBiasRFAble()
  377. {
  378. return true;
  379. }
  380. public abstract bool SetWallTCTemperature(float value);
  381. protected abstract void CheckPermanentInterlock();
  382. public abstract void CheckIdleInterlock(int delaytime=0);
  383. public virtual void BuzzerBlinking(double time)
  384. {
  385. }
  386. public virtual void SwitchOnBuzzerAndRed()
  387. {
  388. }
  389. public abstract void Home();
  390. public virtual bool HomeIsOK(out string reason)
  391. {
  392. reason = "";
  393. return true;
  394. }
  395. public virtual bool SetLiftPin(MovementPosition dirt, out string reason)
  396. {
  397. reason = "";
  398. return false;
  399. }
  400. public virtual bool SetSlitDoor(bool open, out string reason)
  401. {
  402. reason = "";
  403. return false;
  404. }
  405. public virtual bool SetLinerDoor(bool open, out string reason)
  406. {
  407. reason = "";
  408. return false;
  409. }
  410. public virtual bool RetractWafer()
  411. {
  412. return false;
  413. }
  414. public virtual bool ExtendWafer()
  415. {
  416. return false;
  417. }
  418. public abstract bool FlowGas(int gasNum, double val);
  419. public virtual bool FullMFC(int gasNum)
  420. {
  421. return false;
  422. }
  423. public virtual bool PumpGas(int gasNum)
  424. {
  425. return false;
  426. }
  427. public virtual bool PurgeGas(int gasNum)
  428. {
  429. return false;
  430. }
  431. public abstract bool StopGas(int gasNum);
  432. public abstract bool FlowN2(double val);
  433. public abstract bool StopN2();
  434. public abstract void StopAllGases();
  435. public abstract bool TurnPendulumValve(bool on);
  436. public abstract bool SetPVPressure(float pressure);
  437. public abstract bool SetPVPostion(float position);
  438. public abstract float GetPVPosition();
  439. public virtual void HeatChiller(ChillerType chillerType, double value, double offset)
  440. {
  441. }
  442. public virtual void OnOffChiller(ChillerType chillerType, bool onoff)
  443. {
  444. }
  445. public virtual bool CheckChillerStatus()
  446. {
  447. return false;
  448. }
  449. public abstract void SetGeneratorCommunicationMode(int mode);
  450. public abstract bool GeneratorPowerOn(bool on);
  451. public abstract bool GeneratorSetpower(float val);
  452. public virtual bool GeneratorBiasPowerOn(bool on)
  453. { return false; }
  454. public virtual bool MagnetSetpower(float val)
  455. { return false; }
  456. public virtual bool SetFieldRatio(float val)
  457. { return false; }
  458. public virtual bool SetWaveform(int val)
  459. { return false; }
  460. public virtual bool GeneratorBiasSetpower(float val)
  461. { return false; }
  462. public virtual bool GeneratorBiasSetMatchMode(bool val)
  463. { return false; }
  464. public abstract bool SetMatchPosition(float c1, float c2);
  465. public virtual bool SetBiasMatchPosition(float c1, float c2)
  466. { return false; }
  467. public virtual bool SetMatchWorkMode(MatchWorkMode matchWorkMode)
  468. {
  469. return false;
  470. }
  471. public virtual bool SetBiasMatchWorkMode(MatchWorkMode matchWorkMode)
  472. {
  473. return false;
  474. }
  475. //public virtual async Task<bool> SetBiasMatchWorkMode2(MatchWorkMode matchWorkMode)
  476. //{
  477. // await Task.Delay(1200);
  478. // return false;
  479. //}
  480. public virtual bool SetMatchC1Position(float c1)
  481. {
  482. return false;
  483. }
  484. public virtual bool SetBiasPulseMode(bool on)
  485. { return false; }
  486. public virtual bool SetBiasPulseRateFreq(int nFreq)
  487. {
  488. return false;
  489. }
  490. public virtual bool SetRFBoxC1Position(float c1)
  491. {
  492. return false;
  493. }
  494. public virtual bool SetDiasPulseDutyCycle(int percentage)
  495. {
  496. return false;
  497. }
  498. public virtual bool SetESCClampVoltage(int nVoltage)
  499. {
  500. return false;
  501. }
  502. public abstract bool CheckGeneratorAndHVInterlock(VenusDevice device);
  503. #region EndPoint
  504. public void EPDRecipeStart(string recipe)
  505. {
  506. try
  507. {
  508. _epdClient?.RecipeStart(recipe);
  509. }
  510. catch
  511. {
  512. }
  513. }
  514. public void EPDRecipeStop()
  515. {
  516. try
  517. {
  518. _epdClient?.RecipeStop();
  519. }
  520. catch
  521. {
  522. }
  523. }
  524. public void EPDStepStart(string cfgName, int step)
  525. {
  526. try
  527. {
  528. _epdClient?.StepStart(cfgName, step);
  529. }
  530. catch
  531. {
  532. }
  533. }
  534. public void EPDStepStop()
  535. {
  536. try
  537. {
  538. _epdClient?.StepStop();
  539. }
  540. catch
  541. {
  542. }
  543. }
  544. #endregion
  545. public virtual void SetBacksideHeFlow(double flow)
  546. {
  547. }
  548. public virtual bool SetBacksideHePressure(float mTorr)
  549. {
  550. return false;
  551. }
  552. public virtual bool SetBacksideHeThreshold(float nMin, float nMax)
  553. {
  554. return true;
  555. }
  556. public virtual bool HighTemperatureHeaterGotoPosition(HighTemperatureHeaterPosition highTemperatureHeaterPosition)
  557. {
  558. return false;
  559. }
  560. public virtual bool SetHighTemperatureHeaterTemperature(int temperature)
  561. {
  562. return false;
  563. }
  564. public virtual bool SetHighTemperatureHeaterRatio(int ratio)
  565. {
  566. return false;
  567. }
  568. //public virtual bool SetHighTemperatureHeaterRate(int rate)
  569. //{
  570. // return false;
  571. //}
  572. public virtual bool ResetHighTemperatureHeater()
  573. {
  574. return false;
  575. }
  576. public virtual bool StartControlPressure(int pressureSetpoint, int flowSetpoint)
  577. {
  578. return false;
  579. }
  580. public virtual async void AbortControlPressure()
  581. {
  582. await Task.Delay(0);
  583. //return false;
  584. }
  585. public virtual bool PreparePlace()
  586. {
  587. return false;
  588. }
  589. public virtual bool PreparePlaceIsOK()
  590. {
  591. return false;
  592. }
  593. public virtual bool PreparePick()
  594. {
  595. return false;
  596. }
  597. public virtual bool PreparePickIsOK()
  598. {
  599. return false;
  600. }
  601. public virtual bool EndPlace()
  602. {
  603. return false;
  604. }
  605. public virtual bool EndPlaceIsOK()
  606. {
  607. return false;
  608. }
  609. public virtual bool EndPick()
  610. {
  611. return false;
  612. }
  613. public virtual bool EndPickIsOK()
  614. {
  615. return false;
  616. }
  617. public virtual void RTCloseEvent()
  618. {
  619. }
  620. public virtual bool RFInterlock(VenusDevice device)
  621. {
  622. return true;
  623. }
  624. public abstract void PMInError();
  625. }
  626. }