修改Routine添加V64操作,和V65状态互斥
This commit is contained in:
parent
4177e5b14a
commit
0c8acee6fe
@ -59,6 +59,7 @@ namespace SicModules.PMs
|
|||||||
V31,
|
V31,
|
||||||
V32,
|
V32,
|
||||||
V35V36,
|
V35V36,
|
||||||
|
V64,
|
||||||
V65,
|
V65,
|
||||||
V68,
|
V68,
|
||||||
V100,
|
V100,
|
||||||
@ -1074,6 +1075,10 @@ namespace SicModules.PMs
|
|||||||
{
|
{
|
||||||
lst = new List<string> { "V25" };
|
lst = new List<string> { "V25" };
|
||||||
}
|
}
|
||||||
|
else if (eGroupName == IoGroupName.V64)
|
||||||
|
{
|
||||||
|
lst = new List<string> { "V64" };
|
||||||
|
}
|
||||||
else if (eGroupName == IoGroupName.V65)
|
else if (eGroupName == IoGroupName.V65)
|
||||||
{
|
{
|
||||||
lst = new List<string> { "V65" };
|
lst = new List<string> { "V65" };
|
||||||
|
|||||||
@ -25,6 +25,7 @@ namespace SicModules.PMs.RecipeExecutions
|
|||||||
SetGroupK,
|
SetGroupK,
|
||||||
SetGroupD,
|
SetGroupD,
|
||||||
SetGroupG,
|
SetGroupG,
|
||||||
|
SetV64,
|
||||||
SetV65,
|
SetV65,
|
||||||
SetV68,
|
SetV68,
|
||||||
SetM1to16,
|
SetM1to16,
|
||||||
@ -173,6 +174,9 @@ namespace SicModules.PMs.RecipeExecutions
|
|||||||
//打开V65
|
//打开V65
|
||||||
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
|
//关闭V64
|
||||||
|
SetIoValueByGroup((int)RoutineStep.SetV64, IoGroupName.V64, false, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
//打开V68
|
//打开V68
|
||||||
SetIoValueByGroup((int)RoutineStep.SetV68, IoGroupName.GasIn1, true, _IoValueOpenCloseTimeout);
|
SetIoValueByGroup((int)RoutineStep.SetV68, IoGroupName.GasIn1, true, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
|
|||||||
@ -127,6 +127,7 @@ namespace SicModules.PMs.Routines
|
|||||||
SetV31,
|
SetV31,
|
||||||
SetV32,
|
SetV32,
|
||||||
SetV35V36,
|
SetV35V36,
|
||||||
|
SetV64,
|
||||||
SetV65,
|
SetV65,
|
||||||
WaitTv1,
|
WaitTv1,
|
||||||
SetTVPositionMode,
|
SetTVPositionMode,
|
||||||
@ -305,6 +306,9 @@ namespace SicModules.PMs.Routines
|
|||||||
//打开V65
|
//打开V65
|
||||||
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
|
//关闭V64
|
||||||
|
SetIoValueByGroup((int)RoutineStep.SetV64, IoGroupName.V64, false, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
//设置MFC和PC的模式
|
//设置MFC和PC的模式
|
||||||
SetMfcModeToNormalByGroup((int)RoutineStep.SetMFCMode, MfcGroupName.All);
|
SetMfcModeToNormalByGroup((int)RoutineStep.SetMFCMode, MfcGroupName.All);
|
||||||
SetPcModeToNormal((int)RoutineStep.SetPCMode, _lstPcList);
|
SetPcModeToNormal((int)RoutineStep.SetPCMode, _lstPcList);
|
||||||
|
|||||||
@ -27,6 +27,7 @@ namespace SicModules.PMs.Routines
|
|||||||
SetV32,
|
SetV32,
|
||||||
SetV35V36,
|
SetV35V36,
|
||||||
SetV68,
|
SetV68,
|
||||||
|
SetV64,
|
||||||
SetV65,
|
SetV65,
|
||||||
SetGroupB,
|
SetGroupB,
|
||||||
SetGroupC,
|
SetGroupC,
|
||||||
@ -133,6 +134,9 @@ namespace SicModules.PMs.Routines
|
|||||||
//打开V65
|
//打开V65
|
||||||
SetIoValueByGroupNoWait((int)RoutineStep.SetV65, IoGroupName.V65, true);
|
SetIoValueByGroupNoWait((int)RoutineStep.SetV65, IoGroupName.V65, true);
|
||||||
|
|
||||||
|
//关闭V64
|
||||||
|
SetIoValueByGroupNoWait((int)RoutineStep.SetV64, IoGroupName.V64, false);
|
||||||
|
|
||||||
//打开V68
|
//打开V68
|
||||||
SetIoValueByGroupNoWait((int)RoutineStep.SetV68, IoGroupName.GasIn1, true);
|
SetIoValueByGroupNoWait((int)RoutineStep.SetV68, IoGroupName.GasIn1, true);
|
||||||
|
|
||||||
|
|||||||
@ -80,6 +80,7 @@ namespace SicModules.PMs.Routines
|
|||||||
SetV32,
|
SetV32,
|
||||||
SetV35V36,
|
SetV35V36,
|
||||||
SetV87V97,
|
SetV87V97,
|
||||||
|
SetV64,
|
||||||
SetV65,
|
SetV65,
|
||||||
SetV103,
|
SetV103,
|
||||||
SetV105,
|
SetV105,
|
||||||
@ -218,6 +219,9 @@ namespace SicModules.PMs.Routines
|
|||||||
//打开V65
|
//打开V65
|
||||||
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
|
//关闭V64
|
||||||
|
SetIoValueByGroup((int)RoutineStep.SetV64, IoGroupName.V64, false, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
//打开EPV2
|
//打开EPV2
|
||||||
SetIoValueByGroup((int)RoutineStep.SetEPV2, IoGroupName.EPV2, true, _IoValueOpenCloseTimeout);
|
SetIoValueByGroup((int)RoutineStep.SetEPV2, IoGroupName.EPV2, true, _IoValueOpenCloseTimeout);
|
||||||
TimeDelay((int)RoutineStep.TimeDelay5, 3);
|
TimeDelay((int)RoutineStep.TimeDelay5, 3);
|
||||||
|
|||||||
@ -123,6 +123,7 @@ namespace SicModules.PMs.Routines
|
|||||||
SetV31,
|
SetV31,
|
||||||
SetV32,
|
SetV32,
|
||||||
SetV35V36,
|
SetV35V36,
|
||||||
|
SetV64,
|
||||||
SetV65,
|
SetV65,
|
||||||
SetV751,
|
SetV751,
|
||||||
SetV761,
|
SetV761,
|
||||||
@ -329,6 +330,9 @@ namespace SicModules.PMs.Routines
|
|||||||
//打开V65
|
//打开V65
|
||||||
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
|
//关闭V64
|
||||||
|
SetIoValueByGroup((int)RoutineStep.SetV64, IoGroupName.V64, false, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
//设置MFC和PC的模式
|
//设置MFC和PC的模式
|
||||||
SetMfcModeToNormalByGroup((int)RoutineStep.SetMFCMode, MfcGroupName.All);
|
SetMfcModeToNormalByGroup((int)RoutineStep.SetMFCMode, MfcGroupName.All);
|
||||||
SetPcModeToNormal((int)RoutineStep.SetPCMode, _lstPcList);
|
SetPcModeToNormal((int)RoutineStep.SetPCMode, _lstPcList);
|
||||||
|
|||||||
@ -62,6 +62,7 @@ namespace SicModules.PMs.Routines
|
|||||||
SetV32,
|
SetV32,
|
||||||
SetV35V36,
|
SetV35V36,
|
||||||
SetGroupV25,
|
SetGroupV25,
|
||||||
|
SetV64,
|
||||||
SetV65,
|
SetV65,
|
||||||
CloseV68,
|
CloseV68,
|
||||||
SetV103,
|
SetV103,
|
||||||
@ -153,6 +154,9 @@ namespace SicModules.PMs.Routines
|
|||||||
//打开V65
|
//打开V65
|
||||||
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
|
//关闭V64
|
||||||
|
SetIoValueByGroup((int)RoutineStep.SetV64, IoGroupName.V64, false, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
//打开D/G 阀门
|
//打开D/G 阀门
|
||||||
SetIoValueByGroup((int)RoutineStep.SetGroupD, IoGroupName.D, true, _IoValueOpenCloseTimeout);
|
SetIoValueByGroup((int)RoutineStep.SetGroupD, IoGroupName.D, true, _IoValueOpenCloseTimeout);
|
||||||
SetIoValueByGroup((int)RoutineStep.SetGroupG, IoGroupName.G, true, _IoValueOpenCloseTimeout);
|
SetIoValueByGroup((int)RoutineStep.SetGroupG, IoGroupName.G, true, _IoValueOpenCloseTimeout);
|
||||||
|
|||||||
@ -88,6 +88,7 @@ namespace SicModules.PMs.Routines
|
|||||||
SetV31,
|
SetV31,
|
||||||
SetV32,
|
SetV32,
|
||||||
SetV35V36,
|
SetV35V36,
|
||||||
|
SetV64,
|
||||||
SetV65,
|
SetV65,
|
||||||
SetV103,
|
SetV103,
|
||||||
SetV105,
|
SetV105,
|
||||||
@ -321,6 +322,9 @@ namespace SicModules.PMs.Routines
|
|||||||
//打开V65
|
//打开V65
|
||||||
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
|
//关闭V64
|
||||||
|
SetIoValueByGroup((int)RoutineStep.SetV64, IoGroupName.V64, false, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
//设置MFC和PC的模式
|
//设置MFC和PC的模式
|
||||||
SetMfcModeToNormalByGroup((int)RoutineStep.SetMFCMode, MfcGroupName.All);
|
SetMfcModeToNormalByGroup((int)RoutineStep.SetMFCMode, MfcGroupName.All);
|
||||||
SetPcModeToNormal((int)RoutineStep.SetPCMode, _lstPcList);
|
SetPcModeToNormal((int)RoutineStep.SetPCMode, _lstPcList);
|
||||||
|
|||||||
@ -68,6 +68,7 @@ namespace SicModules.PMs.Routines
|
|||||||
SetTvModeToPress,
|
SetTvModeToPress,
|
||||||
SetTVto1050,
|
SetTVto1050,
|
||||||
OpenGasIn1,
|
OpenGasIn1,
|
||||||
|
SetV64,
|
||||||
SetV65,
|
SetV65,
|
||||||
CloseGasIn1,
|
CloseGasIn1,
|
||||||
CloseFinanl1,
|
CloseFinanl1,
|
||||||
@ -219,6 +220,9 @@ namespace SicModules.PMs.Routines
|
|||||||
//打开V65
|
//打开V65
|
||||||
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
|
//关闭V64
|
||||||
|
SetIoValueByGroup((int)RoutineStep.SetV64, IoGroupName.V64, false, _IoValueOpenCloseTimeout);
|
||||||
|
|
||||||
//打开EPV2
|
//打开EPV2
|
||||||
SetIoValueByGroup((int)RoutineStep.SetEPV2, IoGroupName.EPV2, true, _IoValueOpenCloseTimeout);
|
SetIoValueByGroup((int)RoutineStep.SetEPV2, IoGroupName.EPV2, true, _IoValueOpenCloseTimeout);
|
||||||
TimeDelay((int)RoutineStep.TimeDelay5, 3);
|
TimeDelay((int)RoutineStep.TimeDelay5, 3);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user