using System; using wms.dto; namespace wms.service.Extensions.LayerPacking.model { /// /// 层配产品信息 /// public class LayerPackingProduct { /// /// 物料编码 /// public string MatCode { get; set; } /// /// 条码号 /// public string InvBarCode { get; set; } /// /// 等级 /// public string Grade { get; set; } /// /// 库存状态 /// public string InvStateCode { get; set; } /// /// 生产时间 /// public DateTime ProductTime { get; set; } /// /// 第一次入库时间 /// public DateTime OneInTime { get; set; } /// /// 机台组 /// public string WbGroupCode { get; set; } /// /// 是否扭转检测 /// public bool IsTorsChk { get; set; } /// /// 扭转次数 /// public int TorsChkQty { get; set; } /// /// 扭转值 /// private decimal? _torsChkValue; /// /// 扭转值 /// public decimal TorsChkValue { get => Math.Round(_torsChkValue ?? 0, 3); set => _torsChkValue = Math.Round(value, 3); } /// /// 扭转时长 /// public decimal HoldTime { get; set; } /// /// 生产机台号 /// public string ProductMachCode { get; set; } /// /// 是否控制盘 /// public bool IsControlpanel { get; set; } /// /// 工字轮类型 /// public string HWTypeCode { get; set; } /// /// 焊点数量 /// public decimal SolderCount { get; set; } /// /// 是否焊点盘 /// public bool IsSolderProduct => SolderCount > 0; /// /// 返工标记 /// public bool IsRework { get; set; } /// /// 是否黑盘 /// public bool IsBlack { get; set; } /// /// 列 /// public int Col { get; set; } /// /// 层 /// public int Layer { get; set; } /// /// 货架 /// public string Shelf { get; set; } /// /// 深度 /// public int Depth { get; set; } /// /// 货位号 /// public string Code { get; set; } /// /// 巷道 /// public int Tunnel { get; set; } /// /// 堆垛机 /// public string SCRel { get; set; } /// /// 楼层 /// public int Floor { get; set; } /// /// 仓库编码 /// public string WarehouseCode { get; set; } /// /// 容器编码 /// public string ContGrpBarCode { get; set; } /// /// 容器ID /// public long? ContGrpId { get; set; } /// /// 货位ID /// public long Id { get; set; } /// /// 货位状态 /// public LocationState StateNum { get; set; } /// /// SKU编码 /// public string SkuCode { get; set; } /// /// 绕向 /// public string Wind { get; set; } /// /// 单号 /// public string InDocsNo { get; set; } /// /// 批次号 /// public string BatchNo { get; set; } /// /// 是否使用,此值为前期测试时使用,用于模拟产品已被消耗 /// 目前线上不需使用,但是在整个装箱逻辑中去相关内容过于麻烦,所以先保留 /// [Obsolete] public bool IsUsed { get; set; } } }