MFCoolingRoutine.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. //using Aitex.Core.RT.Routine;
  2. //using Aitex.Core.RT.SCCore;
  3. //using MECF.Framework.Common.Equipment;
  4. //using System;
  5. //using System.Collections.Generic;
  6. //using System.Linq;
  7. //using System.Text;
  8. //using System.Threading.Tasks;
  9. //using Venus_Core;
  10. //using Venus_RT.Devices;
  11. //namespace Venus_RT.Modules.TM
  12. //{
  13. // class MFCoolingRoutine : ModuleRoutineBase, IRoutine
  14. // {
  15. // private enum CoolingStep
  16. // {
  17. // kStartCooling,
  18. // kWaitCoolingEnd,
  19. // KDelay,
  20. // }
  21. // private int _coolingTime;
  22. // private int _mfccoolingflow;
  23. // private readonly JetTM _JetTM;
  24. // public MFCoolingRoutine(JetTM jetTM, ModuleName mod) : base(mod)
  25. // {
  26. // _JetTM = jetTM;
  27. // if (mod == ModuleName.LLA)
  28. // {
  29. // _coolingTime = SC.GetValue<int>($"TM.LLACoolingTime");
  30. // _mfccoolingflow= SC.GetValue<int>($"TM.LLAMFCFlow");
  31. // }
  32. // else if (mod == ModuleName.LLB)
  33. // {
  34. // _coolingTime = SC.GetValue<int>($"TM.LLBCoolingTime");
  35. // _mfccoolingflow = SC.GetValue<int>($"TM.LLBMFCFlow");
  36. // }
  37. // else
  38. // {
  39. // _coolingTime = 0;
  40. // _mfccoolingflow = 0;
  41. // }
  42. // }
  43. // public RState Start(params object[] objs)
  44. // {
  45. // return Runner.Start(Module, Name);
  46. // }
  47. // public RState Monitor()
  48. // {
  49. // //Runner.Run(CoolingStep.kStartCooling, StartCooling)
  50. // // .Wait
  51. // return Runner.Status;
  52. // }
  53. // private bool StartCooling()
  54. // {
  55. // _JetTM.TurnPurgeValve(Module, true);
  56. // _JetTM.TurnExhaustValve(Module, true);
  57. // return true;
  58. // }
  59. // public void Abort()
  60. // {
  61. // }
  62. // }
  63. //}