using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using wms.dto.request.pt.dto;
namespace WMS.BZModels.Dto.HJ.ReportDtos
{
public class StatisticsDto
{
public int? Type { get; set; }
public string TypeName
{
get
{
var result = "";
if (Type != null && Type.HasValue)
{
result = Type.Value >= 0?((TaskType)Type.Value).GetDescription():"";
}
return result;
}
}
///
/// 物料编码
///
public string MatCode { get; set; }
///
/// 物料名称
///
public string MatName { get; set; }
///
/// 楼层
///
public int? Floor { get; set; }
public int Count { get; set; }
public decimal NetWQty { get; set; }
///
/// 更新时间
///
public DateTime? EditTime { get; set; }
///
/// 创建时间
///
//public DateTime AddTime { get; set; }
///
/// 开始时间
///
public DateTime? StartTime { get; set; }
///
/// 结束时间
///
public DateTime? EndTime { get; set; }
}
public class StatisticsQueryDto : PagerInfo
{
public DateTime? AddTimeFrom { get; set; }
public DateTime? AddTimeTo { get; set; }
public string Status { get; set; }
///
/// 物料编码
///
public string MatCode { get; set; }
///
/// 物料名称
///
public string MatName { get; set; }
///
/// 开始时间,
///
public DateTime? StartTimeBegin { get; set; }
///
/// 开始时间,
///
public DateTime? StartTimeEnd { get; set; }
///
/// 结束时间,
///
public DateTime? EndTimeBegin { get; set; }
public DateTime? EndTimeEnd { get; set; }
}
public class HourTaskDto
{
public string WarehouseCode { get; set; }
public string TaskDate { get; set; }
public string TypeName { get { return TaskType < 0 ? "" : TaskType.GetDescription(); } }
public TaskType TaskType { get; set; }
public int A0 { get; set; }
public int A1 { get; set; }
public int A2 { get; set; }
public int A3 { get; set; }
public int A4 { get; set; }
public int A5 { get; set; }
public int A6 { get; set; }
public int A7 { get; set; }
public int A8 { get; set; }
public int A9 { get; set; }
public int A10 { get; set; }
public int A11 { get; set; }
public int A12 { get; set; }
public int A13 { get; set; }
public int A14 { get; set; }
public int A15 { get; set; }
public int A16 { get; set; }
public int A17 { get; set; }
public int A18 { get; set; }
public int A19 { get; set; }
public int A20 { get; set; }
public int A21 { get; set; }
public int A22 { get; set; }
public int A23 { get; set; }
public int Total
{
get
{
return A0 + A1 + A2 + A3 + A4 + A5 + A6 + A7 + A8 + A9 + A10 + A11 + A12 + A13 + A14 + A15 + A16 + A17 + A18 + A19 + A20 + A21 + A22 + A23;
}
}
}
public class HourTaskQueryDto
{
public string WarehouseCode { get; set; }
///
/// 结束时间,
///
public DateTime? EndTimeBegin { get; set; }
public DateTime? EndTimeEnd { get; set; }
public string TaskType { get; set; }
public string BusType { get; set; }
}
public class InOutReportDto
{
///
/// 年
///
public string Year { get; set; }
///
/// 月
///
public string Month { get; set; }
///
/// 日
///
public string Day { get; set; }
///
/// 时
///
public string Hour { get; set; }
///
/// 一楼满轮入库任务
///
public int FirstFloorFullIn { get; set; }
///
/// 镀铜线补空轮
///
public int CopperPlated{ get; set; }
///
/// 一楼空轮总计
///
public int TotalFirstFloorEmpty { get; set; }
///
/// 二楼湿拉空轮回立库
///
public int SecondFloorEmpty { get; set; }
///
/// 二楼退料回立库
///
public int SecondFloorReturn { get; set; }
///
/// 二楼湿拉叫料出库任务
///
public int SecondFloorDeliveryTask { get; set; }
///
/// 一楼空轮出库任务
///
public int FirstFloorOutTask { get; set; }
///
/// 一楼出满轮
///
public int FirstFloorFullOut { get; set; }
///
/// 二楼直接搬运空轮至一楼任务
///
public int SecondFloorToFirstFloor { get; set; }
///
/// 移库
///
public int Relocation { get; set; }
///
/// 堆垛机出入库总数
///
public int TotalInOut { get; set; }
///
/// 堆垛机任务总数
///
public int TotalTask { get; set; }
///
/// 一楼满轮越库
///
public int ProdLine { get; set; }
}
public class InOutReportQueryDto
{
public string KeyWord { get; set; }
///
/// 结束时间,
///
public DateTime? EndTimeBegin { get; set; }
public DateTime? EndTimeEnd { get; set; }
public string GroupName { get; set; } = "Hour";
}
}