using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DOAN.Model.MES.report { public class MonthProuctModel { /// /// 项目号(线别) /// public string Project { get; set; } /// /// 实际数 /// public int? SummaryActualNum { get; set; } /// /// 计划数 /// public int? SummaryPlanNum { get; set; } /// /// 日计划达成率 /// public decimal SummaryPlanAchievementRate { get; set; } public List DayProuctModels { get; set; } } public class DayProuctModel { public int DayIndex { get; set; } /// /// 实际数 /// public int? SummaryActualNum { get; set; } /// /// 计划数 /// public int? SummaryPlanNum { get; set; } } public class DevicePoweronRateModel { /// /// 产线编码 /// public string LineCode { get; set; } /// /// 产线名称 /// public string LineName { get; set; } /// /// 运行时长 /// public double PoweronHours { get; set; } /// /// 班次数 /// public int ShiftCount { get; set; } /// /// 运行率 /// public double PoweronRate { get; set; } } public class DeviceDowntimeRateModel { /// /// 产线编码 /// public string LineCode { get; set; } /// /// 产线名称 /// public string LineName { get; set; } /// /// 运行时长 /// public double PlanHours { get; set; } /// /// 停机时长 /// public double DowntimeHours { get; set; } /// /// 停机率 /// public double DowntimeRate { get; set; } } public class ProductionCompletionModel { public string WorkOrder { get; set; } public int Count { get; set; } public DateTime TimePeriod { get; set; } } public class ProductionCompletionRate { public string WorkOrder { get; set; } public string GroupName { get; set; } public string Model { get; set; } public string WorkTimePeriod { get; set; } public int DeliveryNum { get; set; } public int CompletionNum { get; set; } public double CompletionRate { get; set; } public string Status { get; set; } public List List { get; set; } = new List(); public DateTime? StartTime { get; set; } public DateTime? EndTime { get; set; } } public class PlanModel { public string StartTime { get; set; } public int PlanNum { get; set; } public int CompletionNum { get; set; } } }