//using Aitex.Core.RT.Routine; //using Aitex.Core.RT.SCCore; //using MECF.Framework.Common.Equipment; //using System; //using System.Collections.Generic; //using System.Linq; //using System.Text; //using System.Threading.Tasks; //using Venus_Core; //using Venus_RT.Devices; //namespace Venus_RT.Modules.TM //{ // class MFCoolingRoutine : ModuleRoutineBase, IRoutine // { // private enum CoolingStep // { // kStartCooling, // kWaitCoolingEnd, // KDelay, // } // private int _coolingTime; // private int _mfccoolingflow; // private readonly JetTM _JetTM; // public MFCoolingRoutine(JetTM jetTM, ModuleName mod) : base(mod) // { // _JetTM = jetTM; // if (mod == ModuleName.LLA) // { // _coolingTime = SC.GetValue($"TM.LLACoolingTime"); // _mfccoolingflow= SC.GetValue($"TM.LLAMFCFlow"); // } // else if (mod == ModuleName.LLB) // { // _coolingTime = SC.GetValue($"TM.LLBCoolingTime"); // _mfccoolingflow = SC.GetValue($"TM.LLBMFCFlow"); // } // else // { // _coolingTime = 0; // _mfccoolingflow = 0; // } // } // public RState Start(params object[] objs) // { // return Runner.Start(Module, Name); // } // public RState Monitor() // { // //Runner.Run(CoolingStep.kStartCooling, StartCooling) // // .Wait // return Runner.Status; // } // private bool StartCooling() // { // _JetTM.TurnPurgeValve(Module, true); // _JetTM.TurnExhaustValve(Module, true); // return true; // } // public void Abort() // { // } // } //}