Example #1
0
 public DataTable GetCellInfo(string CellCode)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         CellDao dao = new CellDao();
         return(dao.GetCellInfo(CellCode));
     }
 }
Example #2
0
 public DataTable GetCell()
 {
     using (PersistentManager pm = new PersistentManager())
     {
         CellDao cellDao = new CellDao();
         return(cellDao.Find());
     }
 }
Example #3
0
 /// <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);
     }
 }
Example #4
0
 /// <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);
     }
 }
Example #5
0
 /// <summary>
 /// 货位解锁
 /// </summary>
 public void UpdateCellUnLock(string strCell)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         CellDao dao = new CellDao();
         dao.UpdateCellUnLock(strCell);
     }
 }
Example #6
0
 /// <summary>
 /// 入库---解除货位锁定,更新货位储存信息。blnRemove=true,表示移库,使用NewCELL_CODE
 /// </summary>
 public void UpdateCellInFinishUnLock(string TaskID)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         CellDao dao = new CellDao();
         dao.UpdateCellInFinishUnLock(TaskID);
     }
 }
Example #7
0
 public void UpdateCellRemoveFinish(string NewCellCode, string oldCellCode)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         CellDao cellDao = new CellDao();
         cellDao.GetShelf();
     }
 }