提交
This commit is contained in:
73
DOAN.Model/MES/Bigscreen/Dto/MaterialProgressDto.cs
Normal file
73
DOAN.Model/MES/Bigscreen/Dto/MaterialProgressDto.cs
Normal file
@@ -0,0 +1,73 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DOAN.Model.MES.bigscreen.Dto
|
||||
{
|
||||
public class MaterialProgressDto
|
||||
{
|
||||
|
||||
public DateTime Date { get; set; }
|
||||
/// <summary>
|
||||
/// 产线 code
|
||||
/// </summary>
|
||||
public string LineCode { get; set; }
|
||||
/// <summary>
|
||||
/// 产线 name
|
||||
/// </summary>
|
||||
public string LineName { get; set; }
|
||||
|
||||
|
||||
public List<MaterialInfo> materialInfos { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
public class MaterialProgressDto2
|
||||
{
|
||||
|
||||
public DateTime Date { get; set; }
|
||||
/// <summary>
|
||||
/// 产线 code
|
||||
/// </summary>
|
||||
public string LineCode { get; set; }
|
||||
/// <summary>
|
||||
/// 产线 name
|
||||
/// </summary>
|
||||
public string LineName { get; set; }
|
||||
public string MaterialCode { get; set; }
|
||||
|
||||
|
||||
public string MaterialName { get; set; }
|
||||
|
||||
|
||||
|
||||
public decimal PlanNum { get; set; }
|
||||
|
||||
|
||||
public decimal ActualNum { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class MaterialInfo
|
||||
{
|
||||
public string MaterialCode { get; set; }
|
||||
|
||||
|
||||
public string MaterialName { get; set; }
|
||||
|
||||
|
||||
|
||||
public decimal PlanNum { get; set; }
|
||||
|
||||
|
||||
public decimal ActualNum { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
114
DOAN.Model/MES/Bigscreen/Dto/ProductBigScreenDto.cs
Normal file
114
DOAN.Model/MES/Bigscreen/Dto/ProductBigScreenDto.cs
Normal file
@@ -0,0 +1,114 @@
|
||||
namespace DOAN.Model.MES.bigscreen.Dto
|
||||
{
|
||||
|
||||
|
||||
public class ProductBigScreenMoudle01Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 当日产量
|
||||
/// </summary>
|
||||
public int TodayOutputQuantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当日工单
|
||||
/// </summary>
|
||||
public int TodayWorkOrderQuantity { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 当周产量
|
||||
/// </summary>
|
||||
public int WeekOutputQuantity { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 当周工单
|
||||
/// </summary>
|
||||
public int WeekWorkOrderQuantity { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今天异常工单数
|
||||
/// </summary>
|
||||
public int TodayExceptionWorkOrderQuantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 本周异常工单数
|
||||
/// </summary>
|
||||
public int WeekExceptionWorkOrderQuantity { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
public class ProductBigScreenMoudle02Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 今日班组数
|
||||
/// </summary>
|
||||
public int TodayGroupQuantity { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今日产线数
|
||||
/// </summary>
|
||||
public int TodayLineQuantity { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今天计划数
|
||||
/// </summary>
|
||||
public int TodayPlanQuantity { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今日实际产量数
|
||||
/// </summary>
|
||||
public int TodayActionProductionQuantity { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今日产成品种类数
|
||||
/// </summary>
|
||||
public int TodayProductTypeQuantity { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 七日计划变更数
|
||||
/// </summary>
|
||||
public int SevenDaysPriorPlanQuantity { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 今日班组产量进度
|
||||
/// </summary>
|
||||
public class TodayGroupProductionProgress
|
||||
{
|
||||
//组code
|
||||
public string GroupCode { get; set; }
|
||||
|
||||
//计划数
|
||||
public int PlanQuantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///报工数
|
||||
/// </summary>
|
||||
public int ReportQuantity { get; set; }
|
||||
}
|
||||
|
||||
public class TodayExceptionWorkOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 工单号
|
||||
/// </summary>
|
||||
public string workorder { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
public string description { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
63
DOAN.Model/MES/Bigscreen/Dto/QualityBigScreenDto.cs
Normal file
63
DOAN.Model/MES/Bigscreen/Dto/QualityBigScreenDto.cs
Normal file
@@ -0,0 +1,63 @@
|
||||
namespace DOAN.Model.MES.bigscreen.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 数字翻牌器
|
||||
/// </summary>
|
||||
public class QualityBigScreenDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 本周IQC
|
||||
/// </summary>
|
||||
public decimal WeekIQCquantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 本月IQC
|
||||
/// </summary>
|
||||
public decimal MonthIQCquantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 本周IPQC
|
||||
/// </summary>
|
||||
public decimal WeekIPQCquantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 本月IPQC
|
||||
/// </summary>
|
||||
public decimal MonthIPQCquantity { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 本月FQC
|
||||
/// </summary>
|
||||
public decimal WeekFQCquantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 本月FQC
|
||||
/// </summary>
|
||||
public decimal MonthFQCquantity { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 缺陷list
|
||||
/// </summary>
|
||||
public class DefectBigScreenDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 产线
|
||||
/// </summary>
|
||||
public string LineCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 缺陷描述
|
||||
/// </summary>
|
||||
public string DefectDesciption { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 缺陷数量
|
||||
/// </summary>
|
||||
public decimal DefectQuantity { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
35
DOAN.Model/MES/Bigscreen/Dto/WorkOrderBigScreenDto.cs
Normal file
35
DOAN.Model/MES/Bigscreen/Dto/WorkOrderBigScreenDto.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
namespace DOAN.Model.MES.bigscreen.Dto;
|
||||
|
||||
public class WorkOrderBigScreenDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 工单号
|
||||
/// </summary>
|
||||
public string Workorder { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 产品名称
|
||||
/// </summary>
|
||||
public string ProductionName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 存货编码
|
||||
/// </summary>
|
||||
public string ProductionCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 派发数量
|
||||
/// </summary>
|
||||
public int? DispatchNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 完成数量
|
||||
/// </summary>
|
||||
public int? FinishedNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public int? Status { get; set; }
|
||||
}
|
||||
98
DOAN.Model/echarts/EchartsDto.cs
Normal file
98
DOAN.Model/echarts/EchartsDto.cs
Normal file
@@ -0,0 +1,98 @@
|
||||
using Newtonsoft.Json.Converters;
|
||||
|
||||
namespace DOAN.Model.mes.echarts
|
||||
{
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// echarts 通用Options返回值
|
||||
/// </summary>
|
||||
public class EchartsOptions
|
||||
{
|
||||
public EchartsTitle Title { get; set; } = null;
|
||||
public EchartsXAxis XAxis { get; set; } = null;
|
||||
public EchartsYAxis YAxis { get; set; } = null;
|
||||
public List<EchartsSeries> Series { get; set; } = new List<EchartsSeries>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// echarts图表标题
|
||||
///</summary>
|
||||
public class EchartsTitle
|
||||
{
|
||||
public EchartsTitle(string Text,string SubText)
|
||||
{
|
||||
this.Text = Text;
|
||||
this.SubText = SubText;
|
||||
}
|
||||
|
||||
public EchartsTitle(){}
|
||||
public string Text { get; set; } = string.Empty;
|
||||
public string SubText { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// echarts X轴
|
||||
///</summary>
|
||||
public class EchartsXAxis
|
||||
{
|
||||
public List<string> Data { get; set; } = new List<string>();
|
||||
// public string[] Data { get; set; } =Array.Empty<string>();
|
||||
|
||||
// value 数值轴,适用于连续数据 category 类目轴,适用于离散的类目数据 time 时间轴,适用于连续的时序数据 log 对数轴。适用于对数数据
|
||||
public string Type { get; set; } = "category";
|
||||
public string Max { get; set; }
|
||||
public string Min { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// echarts Y轴
|
||||
///</summary>
|
||||
public class EchartsYAxis
|
||||
{
|
||||
public List<string> Data { get; set; } = new List<string>();
|
||||
|
||||
// value 数值轴,适用于连续数据 category 类目轴,适用于离散的类目数据 time 时间轴,适用于连续的时序数据 log 对数轴。适用于对数数据
|
||||
public string Type { get; set; } = "category";
|
||||
public string Max { get; set; }
|
||||
public string Min { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// echarts图表series返回值
|
||||
///</summary>
|
||||
public class EchartsSeries
|
||||
{
|
||||
/// <summary>
|
||||
/// 标签名称
|
||||
/// </summary>
|
||||
public string Name { get; set; } = "category";
|
||||
|
||||
/// <summary>
|
||||
/// bar-柱状图 line-折线图 EchartsSeriesType enum结构
|
||||
/// </summary>
|
||||
public string Type { get; set; } = "bar";
|
||||
|
||||
/// <summary>
|
||||
/// 参数值
|
||||
/// </summary>
|
||||
public List<EchartsSeriesData> Data { get; set; } = new List<EchartsSeriesData>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// echarts图表series返回值内容
|
||||
///</summary>
|
||||
public class EchartsSeriesData
|
||||
{
|
||||
/// <summary>
|
||||
/// 标签名称
|
||||
/// </summary>
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 参数值
|
||||
/// </summary>
|
||||
public decimal Value { get; set; } = new decimal();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user