public DataTable GetCellInfo(string CellCode) { using (PersistentManager pm = new PersistentManager()) { CellDao dao = new CellDao(); return(dao.GetCellInfo(CellCode)); } }
public DataTable GetCell() { using (PersistentManager pm = new PersistentManager()) { CellDao cellDao = new CellDao(); return(cellDao.Find()); } }
/// <summary> /// 更新货位错误标志,错误内容 /// </summary> /// <param name="NewPalletCode"></param> public void UpdateCellErrFlag(string CellCode, string ErrMsg) { using (PersistentManager pm = new PersistentManager()) { CellDao dao = new CellDao(); dao.UpdateCellErrFlag(CellCode, ErrMsg); } }
/// <summary> /// 更新货位新的RFID,及出库错误标志。 /// </summary> /// <param name="NewPalletCode"></param> public void UpdateCellNewPalletCode(string CellCode, string NewPalletCode) { using (PersistentManager pm = new PersistentManager()) { CellDao dao = new CellDao(); dao.UpdateCellNewPalletCode(CellCode, NewPalletCode); } }
/// <summary> /// 货位解锁 /// </summary> public void UpdateCellUnLock(string strCell) { using (PersistentManager pm = new PersistentManager()) { CellDao dao = new CellDao(); dao.UpdateCellUnLock(strCell); } }
/// <summary> /// 入库---解除货位锁定,更新货位储存信息。blnRemove=true,表示移库,使用NewCELL_CODE /// </summary> public void UpdateCellInFinishUnLock(string TaskID) { using (PersistentManager pm = new PersistentManager()) { CellDao dao = new CellDao(); dao.UpdateCellInFinishUnLock(TaskID); } }
public void UpdateCellRemoveFinish(string NewCellCode, string oldCellCode) { using (PersistentManager pm = new PersistentManager()) { CellDao cellDao = new CellDao(); cellDao.GetShelf(); } }