| | |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | |
| | | [SugarColumn(IsNullable = false, Length = int.MaxValue, ColumnDescription = "工艺参数值")] |
| | | public string ProcessValue { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 表示工艺路线上设备参数信息的模型。 |
| | | /// </summary> |
| | | public class EBParameterInfo |
| | | { |
| | | /// <summary> |
| | | /// 参数编码。 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "参数编码是必填项。")] |
| | | [StringLength(50, ErrorMessage = "参数编码长度不能超过50个字符。")] |
| | | public string ParameterCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 参数类型。 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "参数类型是必填项。")] |
| | | [StringLength(50, ErrorMessage = "参数类型长度不能超过50个字符。")] |
| | | public string ParameterType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 推荐值。 |
| | | /// </summary> |
| | | [StringLength(50, ErrorMessage = "推荐值长度不能超过50个字符。")] |
| | | public string TargetValue { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 单位。 |
| | | /// </summary> |
| | | public string UOMCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 控制上限值。 |
| | | /// </summary> |
| | | [StringLength(50, ErrorMessage = "控制上限值长度不能超过50个字符。")] |
| | | public string UpperControlLimit { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 控制下限值。 |
| | | /// </summary> |
| | | [StringLength(50, ErrorMessage = "控制下限值长度不能超过50个字符。")] |
| | | public string LowerControlLimit { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 规格上限值。 |
| | | /// </summary> |
| | | [StringLength(50, ErrorMessage = "规格上限值长度不能超过50个字符。")] |
| | | public string UpperSpecificationsLimit { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 规格下限值。 |
| | | /// </summary> |
| | | [StringLength(50, ErrorMessage = "规格下限值长度不能超过50个字符。")] |
| | | public string LowerSpecificationsLimit { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 参数描述。 |
| | | /// </summary> |
| | | public string Description { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 工艺路线上当前设备参数信息是否可用。 |
| | | /// TRUE 表示可用,FALSE 表示不可用。 |
| | | /// </summary> |
| | | [Required(ErrorMessage = "设备参数信息是否可用是必填项。")] |
| | | public string EquipmentAvailabilityFlag { get; set; } |
| | | } |
| | | |
| | | |
| | | public class ResponseEqptRunDto : BasicResult |
| | | { |
| | | /// <summary> |
| | | /// 产品名称 |
| | | /// </summary> |
| | | public string ProductDesc { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 首件数量 |
| | | /// </summary> |
| | | public string FirstArticleNum { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 调机数量 |
| | | /// </summary> |
| | | public string DebugNum { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 参数版本信息 |
| | | /// </summary> |
| | | public string ParamVersion { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 是否需要读取参数 |
| | | /// </summary> |
| | | public bool ParamRefreshFlag { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 参数信息 |
| | | /// </summary> |
| | | public List<EBParameterInfo> ParameterInfo { get; set; } |
| | | } |
| | | } |