using HH.WMS.Common.Algorithm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HH.WMS.Common.Algorithm
{
#region 出库算法以及出库库区算法传入JSON数据模型
///
/// 出库算法传入JSON数据模型
///
public class OutAlgorEnitty
{
///
/// 设备信息 *
///
public List lstDevice { get; set; }
///
/// 出库库区优先级 *
///
private bool _lockLocation = true;
///
/// 是否锁定货位
///
public bool lockLocation
{
get
{
return _lockLocation;
}
set
{
_lockLocation = value;
}
}
public List lstAreaPrior { get; set; }
///
/// 出库详细信息 *
///
public List lstQueryItem { get; set; }
}
///
/// 出库算法堆栈式货位及日期数据
///
public class OutFirstLocAndDate
{
///
/// 出库托盘码
///
public string locationCode;
///
/// 层号
///
public string index;
///
/// 出库托盘码
///
public string trayCode;
///
/// 出库托盘码
///
public string areaCode;
///
/// 出库托盘码
///
public string itemCode;
///
/// 该货位对应托盘中的最早的可出库日期
///
public DateTime firstOutDate;
}
///
/// 用于获取出库详细数据 同时用于库区算法传入JSON数据模型
///
public class Out_AreaItemClass
{
///
/// 仓库
///
public string stockCode { get; set; }
///
/// 库区 返回库区算法调用时不传递此参数
///
public string areaCode { get; set; }
#region 定义条件枚举
/* 后期如果有追加条件 则添加所需检索的字段
* 追加条件后 需要在出库的BLL层GroupAreaCode()函数中加入分组条件定义 还需要在返回类实体中定义
* 此处关键 不然后期算法会出现问题
* 目的是为了保证相同情况下物料编码不会重复请求 将相同物料编码数量进行汇总
*/
///
/// 条件 -货主
///
public string ownerName { get; set; }
///
/// 条件 -批次号
///
public string batchCode { get; set; }
///
/// 条件 -生产批次号
///
public string prodBatchCode { get; set; }
///
/// 条件 -物料状态
///
public string itemState { get; set; }
#endregion
///
/// 物料编码
///
public string itemCode { get; set; }
///
/// 物料数量
///
public decimal itemQty { get; set; }
}
///
/// 补料算法 不纳入补料的托盘信息
///
public class FeedEliminateClass
{
///
/// 所在货位
///
public string locationCode { get; set; }
///
/// 托盘码
///
public string trayCode { get; set; }
}
public class itemInClassCombination
{
public List lstCombin;
}
#endregion
}