From 9dbb69a70164de6aae573ea97515320cafd6f629 Mon Sep 17 00:00:00 2001 From: HCL <1625932291@qq.com> Date: Fri, 28 Jul 2023 17:02:05 +0800 Subject: [PATCH] =?UTF-8?q?1.Mfc=20Ror=20Routine=E5=A2=9E=E5=8A=A0Mfc?= =?UTF-8?q?=E5=92=8CPC=E8=AE=BE=E7=BD=AENoraml=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Mainframe/PMs/Routines/PMMfcRorRoutine.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Modules/Mainframe/PMs/Routines/PMMfcRorRoutine.cs b/Modules/Mainframe/PMs/Routines/PMMfcRorRoutine.cs index 290c98da..9113637c 100644 --- a/Modules/Mainframe/PMs/Routines/PMMfcRorRoutine.cs +++ b/Modules/Mainframe/PMs/Routines/PMMfcRorRoutine.cs @@ -87,6 +87,12 @@ namespace SicModules.PMs.Routines CalBasePressure1, CalBasePressure2, + + SetMFCMode_1, + SetMFCMode_2, + + SetPCMode_1, + SetPCMode_2 } private ModuleName moduleName; @@ -131,6 +137,8 @@ namespace SicModules.PMs.Routines private string _endTime; + List _lstPcList = new List { 1, 2, 3, 4, 5, 6, 7 }; + private string _mfcRorConfigPath = PathManager.GetCfgDir() + @"PM\MfcRor\MfcRor.xml"; private Dictionary> _preActionList = new Dictionary>(); @@ -401,6 +409,10 @@ namespace SicModules.PMs.Routines { try { + //设置MFC和PC的模式 + SetMfcModeToNormalByGroup((int)RoutineStep.SetMFCMode_1, MfcGroupName.All); + SetPcModeToNormal((int)RoutineStep.SetPCMode_1, _lstPcList); + //检查是否退出 if (_pmModule.GetChamberPressure() > 980) { @@ -504,6 +516,10 @@ namespace SicModules.PMs.Routines { CalTestMfc((int)RoutineStep.CalTestMfc); } + + //设置MFC和PC的模式 + SetMfcModeToNormalByGroup((int)RoutineStep.SetMFCMode_2, MfcGroupName.All); + SetPcModeToNormal((int)RoutineStep.SetPCMode_2, _lstPcList); } catch (RoutineBreakException) {