Browse Source

修改RobotTaskInterlock变量判断的IdleCount条件为>=0。

master
ZhaoGang 1 year ago
parent
commit
e7079de375
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      BPASmartClient.MorkMV1/Control_MorkMV1.cs

+ 1
- 1
BPASmartClient.MorkMV1/Control_MorkMV1.cs View File

@@ -818,7 +818,7 @@ namespace BPASmartClient.MorkMV1
}
}
mORKM.PriorityJudgment = Delay.GetInstance("取餐优先级判断").Start(mORKM.TurntableLocLists.Count > 0 && !mORKM.TurntableLowPosition, 4);
mORKM.RobotTaskInterlock = IsCanDiningOut(isok && IdleCount > 0) && (BusyCount >= 2 || mORKM.RBTakeNoodleTask.Count == 0 || mORKM.PriorityJudgment);
mORKM.RobotTaskInterlock = IsCanDiningOut(isok && IdleCount >= 0) && (BusyCount >= 2 || mORKM.RBTakeNoodleTask.Count == 0 || mORKM.PriorityJudgment);


}


Loading…
Cancel
Save