Example #1
0
 /// <summary>
 /// 出库任务排序,判断能否给穿梭车下达出库任务 blnCar=false 堆垛机 blnCar=true 穿梭车
 /// </summary>
 /// <param name="ForderBillNo"></param>
 /// <param name="Forder"></param>
 /// <param name="IsMix"></param>
 /// <returns></returns>
 public bool ProductCanToCar(string ForderBillNo, string Forder, string IsMix, bool blnCar, bool blnOutOrder)
 {
     if (!blnOutOrder) //不需要排序
     {
         return true;
     }
     else
     {
         using (PersistentManager pm = new PersistentManager())
         {
             TaskDao dao = new TaskDao();
             return dao.ProductCanToCar(ForderBillNo, Forder, IsMix, blnCar);
         }
     }
 }