110 lines
2.7 KiB
C#
110 lines
2.7 KiB
C#
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不能为空")]
|
|
public string? OperationCode { get; set; }
|
|
|
|
public string? OperationName { get; set; }
|
|
|
|
public int? OperationSeq { get; set; }
|
|
|
|
public int? LastOperationSeq { get; set; }
|
|
public string? OperationType { get; set; }
|
|
|
|
public string? Description { get; set; }
|
|
|
|
public int? StandardTime { get; set; }
|
|
|
|
public int? MaxStationCount { get; set; }
|
|
|
|
public string? ControlStrategy { get; set; }
|
|
|
|
public int IsSkippable { get; set; }
|
|
|
|
public int IsReworkable { get; set; }
|
|
|
|
public int IsParallel { get; set; }
|
|
|
|
public string? ParallelGroupCode { get; set; }
|
|
|
|
public string? DefaultNextOperationCode { get; set; }
|
|
|
|
public int? Status { get; set; }
|
|
|
|
public string? CreatedBy { get; set; }
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
public string? UpdatedBy { get; set; }
|
|
|
|
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; }
|
|
|
|
|
|
}
|
|
|
|
} |