|
|
@@ -603,7 +603,7 @@ namespace BPASmartClient.MorkMV1 |
|
|
|
private void TakeNoodleTask() |
|
|
|
{ |
|
|
|
//取面控制 |
|
|
|
if (mORKM.AllowRun && mORKM.RobotStatus && !mORKM.Feeding && !mORKM.RobotTaskInterlock && mORKM.AllowTakeNoodle && mORKM.SiloInPlace && !mORKM.TakeNoodleInterlock && mORKM.RBTakeNoodleTask.Count > 0) |
|
|
|
if (mORKM.AllowRun && mORKM.RobotStatus && !mORKM.RobotOutDinnigLock&&!mORKM.Feeding && !mORKM.RobotTaskInterlock && mORKM.AllowTakeNoodle && mORKM.SiloInPlace && !mORKM.TakeNoodleInterlock && mORKM.RBTakeNoodleTask.Count > 0) |
|
|
|
{ |
|
|
|
if (mORKM.CurrentLoc == mORKM.CurrentFeedbackLoc) |
|
|
|
{ |
|
|
@@ -646,7 +646,7 @@ namespace BPASmartClient.MorkMV1 |
|
|
|
/// </summary> |
|
|
|
private void OutNoodleTask() |
|
|
|
{ |
|
|
|
if (mORKM.AllowInvertedFace && !mORKM.RobotOutDinnigLock && mORKM.RobotTaskInterlock && !mORKM.TakeNoodleInterlock && mORKM.RobotStatus) |
|
|
|
if (mORKM.AllowInvertedFace && !mORKM.RobotOutDinnigLock && mORKM.RobotTaskInterlock && !mORKM.TakeNoodleInterlock && mORKM.RobotStatus) |
|
|
|
{ |
|
|
|
for (int i = 0; i < mORKM.CookNodelId.Length; i++) |
|
|
|
{ |
|
|
@@ -675,7 +675,7 @@ namespace BPASmartClient.MorkMV1 |
|
|
|
} |
|
|
|
|
|
|
|
//执行取荤菜 |
|
|
|
if (x.AcVegetableCount == x.CuVegetableCount && x.AcMeatDishesCount != x.CuMeatDishesCount) |
|
|
|
if (!mORKM.RobotOutDinnigLock && x.AcVegetableCount == x.CuVegetableCount && x.AcMeatDishesCount != x.CuMeatDishesCount) |
|
|
|
{ |
|
|
|
int index = x.MeatDishesLoc.FindIndex(p => p == i + 1); |
|
|
|
if (index >= 0) |
|
|
@@ -735,7 +735,7 @@ namespace BPASmartClient.MorkMV1 |
|
|
|
mORKM.TakeNoodleInterlock = false; |
|
|
|
mORKM.AllowTakeNoodle = false; |
|
|
|
mORKM.TurntableInterlock = false; |
|
|
|
mORKM.IsTakeNoodleOver = true; |
|
|
|
//mORKM.NeedOutNoodle = true; |
|
|
|
DeviceProcessLogShow("机器人取面完成信号检测"); |
|
|
|
} |
|
|
|
//机器人倒面完成信号检测 |
|
|
@@ -755,12 +755,11 @@ namespace BPASmartClient.MorkMV1 |
|
|
|
mORKM.OutMealSortNum = mORKM.IngredientsCompleteSortNum; |
|
|
|
mORKM.IngredientsCompleteId = string.Empty; |
|
|
|
CookComplete(); |
|
|
|
mORKM.IsTakeNoodleOver = false; |
|
|
|
DeviceProcessLogShow($"倒面完成"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
mORKM.RobotOutDinnigLock = false; |
|
|
|
//mORKM.NeedOutNoodle = false; |
|
|
|
} |
|
|
|
|
|
|
|
int OutMealRequstCount = mORKM.CookNoodleCom.Where(p => p == true).ToList().Count; |
|
|
|