68 lines
1.5 KiB
C#
68 lines
1.5 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Data;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
using WMS.IData;
|
|||
|
|
|
|||
|
|
namespace WMS.Algorithm
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 上架算法
|
|||
|
|
/// </summary>
|
|||
|
|
public class PutonAlgo
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 查找库位
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="storageId">仓储编号</param>
|
|||
|
|
/// <param name="storageAreaId">库区编号</param>
|
|||
|
|
/// <param name="goodsId">商品编号</param>
|
|||
|
|
public void SelectLocData(string storageId,string storageAreaId,string goodsId)
|
|||
|
|
{
|
|||
|
|
///查询条件
|
|||
|
|
///查询物料所属的库区
|
|||
|
|
///
|
|||
|
|
|
|||
|
|
DataTable tale = DataProvider.Instance.AreaGoodsType.GetAreaGoodsTypeData(storageAreaId,goodsId);
|
|||
|
|
if(tale!=null)
|
|||
|
|
{
|
|||
|
|
if (tale.Rows.Count > 0)
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
else
|
|||
|
|
{
|
|||
|
|
//查找整个仓库的入库地址
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
///如果是自动化立体仓储
|
|||
|
|
///
|
|||
|
|
|
|||
|
|
|
|||
|
|
///如果不是则查看条件
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据站台查询库位信息
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="station">站台号</param>
|
|||
|
|
/// <param name="goodsCode">条码</param>
|
|||
|
|
/// <param name="goodsId"></param>
|
|||
|
|
public void AotuLtkLoc(string station,string goodsCode,string goodsId)
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|