67 lines
1.9 KiB
C#
67 lines
1.9 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using WMS.Model.Base;
|
||
using System.Data;
|
||
|
||
namespace WMS.IData.IBase
|
||
{
|
||
public interface IPallet
|
||
{
|
||
|
||
/// <summary>
|
||
/// 更改容器的状态
|
||
/// </summary>
|
||
/// <param name="ctl"></param>
|
||
/// <param name="sts"></param>
|
||
void SetPalletSts(string ctl, string sts, string WORK_TYPE);
|
||
DataTable GetCtl(int barcodetime);
|
||
DataTable GetCtl2(int barcodetime);
|
||
|
||
void Insert_T_BASE_PALLET(int STORAGE_ID, int BARCODETIME, int SEQID,string BARCODE);
|
||
|
||
#region 获得容器数据
|
||
/// <summary>
|
||
/// 根据Pallet Num获得容器数据
|
||
/// </summary>
|
||
/// <param name="model">容器Model</param>
|
||
/// <returns></returns>
|
||
DataTable GetPalletTable(PalletModel model);
|
||
#endregion
|
||
|
||
#region 操作托盘数据 新增 更新
|
||
/// <summary>
|
||
/// 修改容器数据
|
||
/// </summary>
|
||
/// <param name="model">容器Model</param>
|
||
/// <param name="flag">0:新增 1:修改</param>
|
||
/// <returns></returns>
|
||
void OperatePallet(PalletModel model, int flag);
|
||
|
||
/// <summary>
|
||
/// 批量新增容器数据
|
||
/// </summary>
|
||
/// <param name="list">容器Model集合</param>
|
||
/// <param name="flag">0:新增 1:修改</param>
|
||
void OperatePallet(List<PalletModel> list, int flag);
|
||
#endregion
|
||
|
||
#region 删除容器数据
|
||
/// <summary>
|
||
/// 批量删除容器数据
|
||
/// </summary>
|
||
/// <param name="strList">容器Model集合</param>
|
||
void PalletDel(List<PalletModel> strList);
|
||
#endregion
|
||
|
||
|
||
/// <summary>
|
||
/// 删除数据写入到备份表中
|
||
/// </summary>
|
||
/// <param name="listmodel">容器Model集合</param>
|
||
void InsertPalletBack(List<PalletModel> listmodel);
|
||
|
||
}
|
||
}
|