112 lines
2.8 KiB
C#
112 lines
2.8 KiB
C#
using RIZO.Model.MES.recipe.Dto;
|
|
using MDM.Models.Process;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace MDM.Model.Process.Dto
|
|
{
|
|
/// <summary>
|
|
/// 查询对象
|
|
/// </summary>
|
|
public class ProcessOperationWorkstationMappingQueryDto : PagerInfo
|
|
{
|
|
|
|
public string? FkRoutingCode { get; set; }
|
|
|
|
|
|
public string? FkOperationCode { get; set; }
|
|
|
|
public string? FkWorkstationCode { get; set; }
|
|
|
|
|
|
public string FkProductlinebodyCode { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 输入输出对象
|
|
/// </summary>
|
|
public class ProcessOperationWorkstationMappingDto
|
|
{
|
|
|
|
public int Id { get; set; }
|
|
|
|
[Required(ErrorMessage = "工艺路线不能为空")]
|
|
public string FkRoutingCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工厂code
|
|
/// </summary>
|
|
|
|
public string FkFactoryCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 车间code
|
|
/// </summary>
|
|
public string FkWorkshopcode { get; set; }
|
|
|
|
|
|
[Required(ErrorMessage = "线体不能为空")]
|
|
public string FkProductlinebodyCode { get; set; }
|
|
|
|
[Required(ErrorMessage = "工序code不能为空")]
|
|
public string FkOperationCode { get; set; }
|
|
|
|
[Required(ErrorMessage = "工位ID不能为空")]
|
|
public string FkWorkstationCode { get; set; }
|
|
|
|
public string IsActive { get; set; }
|
|
|
|
public int? Priority { get; set; }
|
|
|
|
public decimal StandardTime { get; set; }
|
|
|
|
public decimal SetupTime { get; set; }
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
public string Remark { get; set; }
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 工序工位详情
|
|
/// </summary>
|
|
|
|
public class ProcessOperationWorkstationMappingInfoDto : ProcessOperationWorkstationMappingDto
|
|
{
|
|
/// <summary>
|
|
/// 绑定的plc地址
|
|
/// </summary>
|
|
public string PlcAddress { get; set; }
|
|
|
|
/// <summary>
|
|
/// 关联的流程
|
|
/// </summary>
|
|
public List<ProcessOperationFlow> OperationFlows { set; get; }
|
|
/// <summary>
|
|
/// 关联的配方及其配方参数
|
|
/// </summary>
|
|
public List<PfRecipeParametersDto> OperationRecipeParameters { set; get; }
|
|
|
|
|
|
/// <summary>
|
|
/// 关联的采集参数
|
|
/// </summary>
|
|
public List<ProcessOperationWorkstationFlowCollectParameter> ProcessOperationWorkstationCollectParameters { set; get; }
|
|
|
|
|
|
/// <summary>
|
|
/// 关联的物料参数
|
|
/// </summary>
|
|
public List<ProcessOperationFlowMaterialParamter> ProcessOperationFlowMaterialParamters { set; get; }
|
|
|
|
|
|
}
|
|
} |