1.Mfc Ror Routine增加Mfc和PC设置Noraml模式
This commit is contained in:
parent
8584d77f89
commit
9dbb69a701
|
@ -87,6 +87,12 @@ namespace SicModules.PMs.Routines
|
||||||
|
|
||||||
CalBasePressure1,
|
CalBasePressure1,
|
||||||
CalBasePressure2,
|
CalBasePressure2,
|
||||||
|
|
||||||
|
SetMFCMode_1,
|
||||||
|
SetMFCMode_2,
|
||||||
|
|
||||||
|
SetPCMode_1,
|
||||||
|
SetPCMode_2
|
||||||
}
|
}
|
||||||
|
|
||||||
private ModuleName moduleName;
|
private ModuleName moduleName;
|
||||||
|
@ -131,6 +137,8 @@ namespace SicModules.PMs.Routines
|
||||||
|
|
||||||
private string _endTime;
|
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 string _mfcRorConfigPath = PathManager.GetCfgDir() + @"PM\MfcRor\MfcRor.xml";
|
||||||
|
|
||||||
private Dictionary<string, List<MfcRorAction>> _preActionList = new Dictionary<string, List<MfcRorAction>>();
|
private Dictionary<string, List<MfcRorAction>> _preActionList = new Dictionary<string, List<MfcRorAction>>();
|
||||||
|
@ -401,6 +409,10 @@ namespace SicModules.PMs.Routines
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
//设置MFC和PC的模式
|
||||||
|
SetMfcModeToNormalByGroup((int)RoutineStep.SetMFCMode_1, MfcGroupName.All);
|
||||||
|
SetPcModeToNormal((int)RoutineStep.SetPCMode_1, _lstPcList);
|
||||||
|
|
||||||
//检查是否退出
|
//检查是否退出
|
||||||
if (_pmModule.GetChamberPressure() > 980)
|
if (_pmModule.GetChamberPressure() > 980)
|
||||||
{
|
{
|
||||||
|
@ -504,6 +516,10 @@ namespace SicModules.PMs.Routines
|
||||||
{
|
{
|
||||||
CalTestMfc((int)RoutineStep.CalTestMfc);
|
CalTestMfc((int)RoutineStep.CalTestMfc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//设置MFC和PC的模式
|
||||||
|
SetMfcModeToNormalByGroup((int)RoutineStep.SetMFCMode_2, MfcGroupName.All);
|
||||||
|
SetPcModeToNormal((int)RoutineStep.SetPCMode_2, _lstPcList);
|
||||||
}
|
}
|
||||||
catch (RoutineBreakException)
|
catch (RoutineBreakException)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue