zhuangpei-mesbackend/DOAN.Model/MES/andon/Dto/AndonAnalysisQueryDto.cs
2024-07-01 16:04:40 +08:00

64 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Runtime.InteropServices.JavaScript.JSType;
namespace DOAN.Model.MES.andon.Dto
{
public class AndonAnalysisQueryDto
{
public DateTime[] DateTimeRange { get; set; }
}
public class AbnormalDurationRatioResult
{
public string Name { get; set; }
public string value { get; set; }
public ItemStyle_ itemStyle { get; set; }
}
public class ItemStyle_ {
public string color { get; set; }
}
/// <summary>
/// 获取异常情况柱状图
/// </summary>
public class ExceptionDistributionResult
{
/// <summary>
/// 异常时间占比
/// </summary>
public decimal ExceptionTimeTotal { get; set; }
/// <summary>
/// 异常总数
/// </summary>
public decimal ExceptionNumTotal { get; set; }
/// <summary>
/// X轴
/// </summary>
public string[] xData { get; set; }
public SeriesData_[] seriesData { get; set; }
}
public class SeriesData_
{
public string Name { get; set; }
public string Type { get; set; }
public int YAxisIndex { get; set; }
public bool ShowBackground { get; set; }
public decimal[] Data { get; set; }
}
}