public OpResult CheckDestLoc(string paramUserFlag, MobileWorkDataClass paramWorkData, string paramLocCode) { if (!PdaBusiness.CheckUserSession(Convert.ToInt32(paramUserFlag))) { return(new OpResult(false, "指定的用户无效!")); } switch (paramWorkData.WorkType) { // 上架 case EnumWorkType.UpGoodsWork: return(UpGoodsWork.CheckDestLoc(paramWorkData, paramLocCode)); // 移库 case EnumWorkType.MoveUpGoodsToLoc: //m_WorkToDatabase = new MoveToLocWorkClass(); break; // 盘点 case EnumWorkType.TakeWork: //m_WorkToDatabase = new StockTakeWorkClass(); break; default: return(new OpResult(false, "未知的作业类型!")); } return(null); }
public List <OrderWorkItemClass> GetOrderWorkItemList(string paramUserFlag, MobileWorkDataClass paramWorkData) { if (!PdaBusiness.CheckUserSession(Convert.ToInt32(paramUserFlag))) { return(null); } switch (paramWorkData.WorkType) { case EnumWorkType.UpGoodsWork: return(UpGoodsWork.GetOrderWorkList(paramWorkData)); default: return(null); } }