Browse Source

临时提交

样式分支
taoye 2 years ago
parent
commit
4c693b16c4
1 changed files with 15 additions and 19 deletions
  1. +15
    -19
      FryPot_DosingSystem/Control/DosingLogicControl.cs

+ 15
- 19
FryPot_DosingSystem/Control/DosingLogicControl.cs View File

@@ -850,19 +850,17 @@ namespace FryPot_DosingSystem.Control
/// </summary> /// </summary>
public void LineOneProcessExecute() public void LineOneProcessExecute()
{ {
if (!globalVar.LOneTaskLock)
{
globalVar.LOneTaskLock = true;
//if (!globalVar.LOneTaskLock)
//{
// globalVar.LOneTaskLock = true;
LOneRecipeDataToPlc(); LOneRecipeDataToPlc();
LOneLoadRoller(); LOneLoadRoller();
LOneFryPotInputMaterial(); LOneFryPotInputMaterial();
LOneFallMaterial(); LOneFallMaterial();
LOneFryPotOutputMaterial(); LOneFryPotOutputMaterial();
LOneEmptyOperate(); LOneEmptyOperate();
globalVar.LOneTaskLock = false;


}
// globalVar.LOneTaskLock = false;
//}


} }
/// <summary> /// <summary>
@@ -870,36 +868,36 @@ namespace FryPot_DosingSystem.Control
/// </summary> /// </summary>
public void LineTwoProcessExecute() public void LineTwoProcessExecute()
{ {
if (!globalVar.LTwoTaskLock)
{
globalVar.LTwoTaskLock = true;
//if (!globalVar.LTwoTaskLock)
//{
// globalVar.LTwoTaskLock = true;
LTwoRecipeDataToPlc(); LTwoRecipeDataToPlc();
LTwoAgvLoadRoller(); LTwoAgvLoadRoller();
LTwoFryPotInputMaterial(); LTwoFryPotInputMaterial();
LTwoFallMaterial(); LTwoFallMaterial();
LTwoFryPotOutputMaterial(); LTwoFryPotOutputMaterial();
LTwoEmptyOperate(); LTwoEmptyOperate();
globalVar.LTwoTaskLock = false;
// globalVar.LTwoTaskLock = false;


}
//}
} }
/// <summary> /// <summary>
/// 线体3的执行流程 /// 线体3的执行流程
/// </summary> /// </summary>
public void LineThreeProcessExecute() public void LineThreeProcessExecute()
{ {
if (!globalVar.LThreeTaskLock)
{
globalVar.LThreeTaskLock = true;
//if (!globalVar.LThreeTaskLock)
//{
// globalVar.LThreeTaskLock = true;
LThreeRecipeDataToPlc(); LThreeRecipeDataToPlc();
LThreeAgvLoadRoller(); LThreeAgvLoadRoller();
LThreeFryPotInputMaterial(); LThreeFryPotInputMaterial();
LThreeFallMaterial(); LThreeFallMaterial();
LThreeFryPotOutputMaterial(); LThreeFryPotOutputMaterial();
LThreeEmptyOperate(); LThreeEmptyOperate();
globalVar.LThreeTaskLock = false;
// globalVar.LThreeTaskLock = false;


}
//}
} }


/// <summary> /// <summary>
@@ -2061,8 +2059,6 @@ namespace FryPot_DosingSystem.Control
globalVar.AgvToFryPot = true; globalVar.AgvToFryPot = true;
//原料到位,agv到位,agv自行运料到炒锅 //原料到位,agv到位,agv自行运料到炒锅
} }


} }
} }
else//有故障 else//有故障


Loading…
Cancel
Save