using System.Collections.Generic;
namespace NPP.SmartSchedue.Api.Contracts.Services.Integration.Output
{
///
/// 任务需求分析结果
///
public class TaskRequirementAnalysisResult
{
///
/// 工序需求列表
///
public List ProcessRequirements { get; set; } = new List();
///
/// 资源需求统计
///
public ResourceRequirement ResourceRequirements { get; set; } = new ResourceRequirement();
///
/// 时间分布分析
///
public TimeDistribution TimeDistribution { get; set; } = new TimeDistribution();
///
/// 分析摘要
///
public string AnalysisSummary { get; set; } = string.Empty;
}
///
/// 任务工序需求
///
public class TaskProcessRequirement
{
public long TaskId { get; set; }
public long ProcessId { get; set; }
public List RequiredQualifications { get; set; } = new List();
public System.TimeSpan? EstimatedDuration { get; set; }
public long? EquipmentTypeId { get; set; }
}
///
/// 资源需求
///
public class ResourceRequirement
{
public Dictionary QualificationRequirements { get; set; } = new Dictionary();
public Dictionary EquipmentTypeRequirements { get; set; } = new Dictionary();
}
///
/// 时间分布
///
public class TimeDistribution
{
public Dictionary HourlyDistribution { get; set; } = new Dictionary();
public Dictionary ShiftDistribution { get; set; } = new Dictionary();
public List PeakHours { get; set; } = new List();
}
}