using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Model.ModelDto.BllCheckDto;
using Model.ModelDto.PdaDto;
using WMS.Entity.DataEntity;
using WMS.Entity.SysEntity;
namespace WMS.IBLL.IPdaServer
{
public interface IPdaCrServer
{
#region 盘点
///
/// 获取盘库单正在执行单号
///
/// 托盘码
///
Task> GetStockCheckNoList(string palletNo);
///
/// 获取盘点明细
///
/// 单据号
/// 托盘号
///
Task> GetStockCheckDetailList(string crNo,string palletNo);
///
/// 获取要盘点的箱码信息(盘点记录中数据)
///
/// 单据号
/// 盘点明细ID 物料-批次
/// 托盘号
/// 箱码号
/// 是否数量盘点
///
Task> GetStockCheckLogList(string crNo, string crDetail,string palletNo,string boxNo,string isContinue);
///
/// 盘点库存
///
/// 单据号
/// 物料批次
/// 托盘码
/// 箱码
/// 支码
/// 结果
/// 数量
/// 是否数量盘点
///
Task CrSetCheck(string crNo, string crDetail, string palletNo, string boxNo,string boxNo3,string result, decimal? qty,string isContinue, int userId);
#endregion
#region 库存查询
///
/// pda库存查询
///
/// 储位编号
/// 托盘号
///
Task> GetStockQueryList(string locatNo, string palletNo);
#endregion
#region 托盘出库
///
/// 根据托盘号获取箱码和箱内数量
///
/// 原托盘
///
Task> GetDataDetailList(string palletNo);
///
/// 根据箱码获取物料、批次、数量等信息
///
/// 箱码
///
Task GetBoxInfoByBox(string boxNo);
///
/// 解绑原托盘绑定新托盘
///
/// 原托盘
/// 箱码
/// 新托盘
/// 操作人
Task SaveUnbind(string palletNo, string boxNo, string palletNoNew, int userId);
#endregion
#region AGV转运
///
/// 获取托盘所在储位地址
///
///
///
Task GetPalletLocatNo(string palletNo);
///
/// 获取托盘所在楼层所有区域
///
///
///
Task> GetStorageArea(string palletNo);
///
/// 获取已分配的出库单据
///
///
Task> GetRunSoNoticeList();
///
/// 根据托盘号获取托盘上物料信息
///
///
///
Task> GetSkuInfoByPalletNo(string palletNo);
///
/// 根据出库单号获取分配的托盘信息
///
///
///
Task> GetPalletNoListBySoNo(string soNo);
///
/// agv转运呼叫小车
///
///
///
///
Task AgvTransport(string palletNo, string areaNo, string ruku, int userId);
///
/// agv转运呼叫小车取货
///
///
///
///
///
Task AgvTransport2(string soNo, string palletNo, string areaNo, int userId);
#endregion
#region 零托解绑
///
/// 零托解绑
///
///
///
///
public void LingxingUnbind(string palletNo, string boxNo, int userId);
#endregion
#region 箱码拆箱贴标
//箱码拆箱添加标签信息
void AddLableByDevanning(string boxNo,decimal devanQty, int userId);
#endregion
}
}