1.Mfc Ror Routine增加Mfc和PC设置Noraml模式

This commit is contained in:
HCL 2023-07-28 17:02:05 +08:00
parent 8584d77f89
commit 9dbb69a701
1 changed files with 16 additions and 0 deletions

View File

@ -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<int> _lstPcList = new List<int> { 1, 2, 3, 4, 5, 6, 7 };
private string _mfcRorConfigPath = PathManager.GetCfgDir() + @"PM\MfcRor\MfcRor.xml";
private Dictionary<string, List<MfcRorAction>> _preActionList = new Dictionary<string, List<MfcRorAction>>();
@ -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)
{