空箱补货

This commit is contained in:
qianhao.xu
2024-11-04 10:15:34 +08:00
parent b31e8c76e9
commit f664b5beac
9 changed files with 233 additions and 137 deletions

View File

@@ -1,30 +0,0 @@
namespace DOAN.Model.PBL.Dto;
public class BIgScreenDto
{
//料架号
public string RackCode { get; set; }
//
public LayerObject[] LayerObjectArray { get; set; }
//是否亮灯
public bool isLight { get; set; }
}
public class LayerObject
{
// 层号
public int LayerNum { get; set; }
// 零件号
public string Partnumber { get; set; }
// 最大容量
public int MaxCapacity { get; set; }
// 箱子数
public int? PackageNum { get; set; }
//是否亮灯
public bool isLight { get; set; }
}

View File

@@ -0,0 +1,61 @@
namespace DOAN.Model.PBL.Dto;
public class BIgScreenDtoLightPickupDto
{
//料架号
public string RackCode { get; set; }
//
public LayerObject[] LayerObjectArray { get; set; }
//是否亮灯
public bool isLight { get; set; }
}
public class BigSreeenDtoFeedingMaterial
{
//料架号
public string RackCode { get; set; }
//
public LayerFeedingMaterialObject[] LayerObjectArray { get; set; }
//是否补料
public bool isFeedingMaterial { get; set; }
}
public class LayerObject
{
// 层号
public int LayerNum { get; set; }
// 零件号
public string Partnumber { get; set; }
// 最大容量
public int MaxCapacity { get; set; }
// 箱子数
public int? PackageNum { get; set; }
//是否亮灯
public bool isLight { get; set; }
}
public class LayerFeedingMaterialObject
{
// 层号
public int LayerNum { get; set; }
// 零件号
public string Partnumber { get; set; }
// 最大容量
public int MaxCapacity { get; set; }
// 箱子数
public int? PackageNum { get; set; }
//是否亮灯
public bool isFeedingMaterial { get; set; }
}

View File

@@ -1,52 +1,47 @@
namespace DOAN.Model.PBL.Dto;
namespace DOAN.Model.PBL.Dto
/// <summary>
/// 料架表查询对象
/// </summary>
public class StoragelocationQueryDto : PagerInfo
{
/// <summary>
/// 料架表查询对象
/// </summary>
public class StoragelocationQueryDto : PagerInfo
{
public string Partnumber { get; set; }
public string Partnumber { get; set; }
public string RackCode { get; set; }
}
public string RackCode { get; set; }
}
/// <summary>
/// 料架表输入输出对象
/// </summary>
public class StoragelocationDto
{
public int Id { get; set; }
public string RackCode { get; set; }
public int LayerNum { get; set; }
public string Partnumber { get; set; }
/// <summary>
/// 料架表输入输出对象
/// 最大容量
/// </summary>
public class StoragelocationDto
{
[Required(ErrorMessage = "Id不能为空")]
public int Id { get; set; }
public string RackCode { get; set; }
public int LayerNum { get; set; }
public string Partnumber { get; set; }
/// <summary>
/// 最大容量
/// </summary>
public int MaxCapacity { get; set; }
public int? PackageNum { get; set; }
/// <summary>
/// 箱子数
/// </summary>
public int? IsLight { get; set; }
public int MaxCapacity { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
public int? PackageNum { get; set; }
/// <summary>
/// 箱子数
/// </summary>
public int? IsLight { get; set; }
}
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}

View File

@@ -42,7 +42,7 @@ namespace DOAN.Model.PBL
public int? PackageNum { get; set; }
/// <summary>
/// 箱子数
/// 是否亮灯
/// </summary>
[SugarColumn(ColumnName = "is_light")]
public int? IsLight { get; set; }