gcw_MV9p2JJN df44f145a9 MDM更新
2025-11-25 15:44:04 +08:00

77 lines
2.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.ComponentModel.DataAnnotations;
namespace MDM.Model.Process.Dto
{
/// <summary>
/// 工艺参数表(如温度、压力、时间等,关联工艺路线与工序)查询对象
/// </summary>
public class ProcessParameterQueryDto : PagerInfo
{
public string FkRoutingCode { get; set; }
public string FkOperationCode { get; set; }
public string ParameterCode { get; set; }
public string ParameterName { get; set; }
}
/// <summary>
/// 工艺参数表(如温度、压力、时间等,关联工艺路线与工序)输入输出对象
/// </summary>
public class ProcessParameterDto
{
[Required(ErrorMessage = "工艺参数ID主键不能为空")]
public int Id { get; set; }
[Required(ErrorMessage = "所属工艺路线code不能为空")]
public string FkRoutingCode { get; set; }
[Required(ErrorMessage = "所属工序code不能为空")]
public string FkOperationCode { get; set; }
[Required(ErrorMessage = "参数名称,如:温度、压力、时间不能为空")]
public string ParameterCode { get; set; }
public string ParameterName { get; set; }
public string Description { get; set; }
[Required(ErrorMessage = "数据类型FLOAT, INT, STRING, BOOL, AI模拟量输入等不能为空")]
public string DataType { get; set; }
public string Unit { get; set; }
public decimal StandardValue { get; set; }
public decimal MinValue { get; set; }
public decimal MaxValue { get; set; }
public string IsControlled { get; set; }
public string IsMonitored { get; set; }
public string ControlType { get; set; }
public decimal DefaultValue { get; set; }
public string IsRequired { get; set; }
public int? Sequence { get; set; }
public DateTime? CreatedTime { get; set; }
public string CreatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
public string UpdatedBy { get; set; }
}
}