Valeo_Line_MES_backend/MDM/Models/Process/Dto/ProcessOperationDto.cs

110 lines
2.7 KiB
C#
Raw Normal View History

2026-01-10 13:47:54 +08:00
using RIZO.Model.MES.recipe.Dto;
using MDM.Models.Process;
using MDM.Models.Process.Dto;
using System.ComponentModel.DataAnnotations;
namespace MDM.Model.Process.Dto
{
/// <summary>
/// 工序查询对象
/// </summary>
public class ProcessOperationQueryDto : PagerInfo
{
public string? FkRoutingCode { get; set; }
public string? OperationCode { get; set; }
public string? OperationName { get; set; }
public string? ParallelGroupCode { get; set; }
}
public class ProcessOperationQuery2Dto : PagerInfo
{
public string? FkRoutingCode { get; set; }
public string? OperationCode { get; set; }
}
/// <summary>
/// 工序输入输出对象
/// </summary>
public class ProcessOperationDto
{
[Required(ErrorMessage = "工序id不能为空")]
public int OperationId { get; set; }
public string FkRoutingCode { get; set; }
[Required(ErrorMessage = "工序code不能为空")]
2026-01-12 11:13:10 +08:00
public string? OperationCode { get; set; }
2026-01-10 13:47:54 +08:00
2026-01-12 11:13:10 +08:00
public string? OperationName { get; set; }
2026-01-10 13:47:54 +08:00
public int? OperationSeq { get; set; }
2026-01-29 13:48:29 +08:00
public int? LastOperationSeq { get; set; }
2026-01-12 11:13:10 +08:00
public string? OperationType { get; set; }
2026-01-10 13:47:54 +08:00
2026-01-12 11:13:10 +08:00
public string? Description { get; set; }
2026-01-10 13:47:54 +08:00
public int? StandardTime { get; set; }
2026-01-29 13:48:29 +08:00
public int? MaxStationCount { get; set; }
2026-01-12 11:13:10 +08:00
public string? ControlStrategy { get; set; }
2026-01-10 13:47:54 +08:00
public int IsSkippable { get; set; }
public int IsReworkable { get; set; }
public int IsParallel { get; set; }
2026-01-12 11:13:10 +08:00
public string? ParallelGroupCode { get; set; }
2026-01-10 13:47:54 +08:00
2026-01-12 11:13:10 +08:00
public string? DefaultNextOperationCode { get; set; }
2026-01-10 13:47:54 +08:00
public int? Status { get; set; }
2026-01-12 13:28:34 +08:00
public string? CreatedBy { get; set; }
2026-01-10 13:47:54 +08:00
public DateTime? CreatedTime { get; set; }
2026-01-12 11:13:10 +08:00
public string? UpdatedBy { get; set; }
2026-01-10 13:47:54 +08:00
public DateTime? UpdatedTime { get; set; }
}
/// <summary>
/// 工序详情
/// </summary>
public class ProcessOperationInfoDto : ProcessOperationDto
{
/// <summary>
/// 关联的流程
/// </summary>
public List<ProcessOperationFlow> OperationFlows { set; get; }
/// <summary>
/// 关联的配方及其配方参数
/// </summary>
public List<PfRecipeParametersDto> OperationRecipeParameters { set; get; }
/// <summary>
/// 关联的采集参数
/// </summary>
public List<ProcessOperationCollectParameter> ProcessOperationCollectParameters { set; get; }
/// <summary>
/// 关联的物料参数
/// </summary>
public List<ProcessOperationFlowMaterialParamter> ProcessOperationFlowMaterialParamters { set; get; }
}
}