guiyang-fluorescent-line-lm.../RIZO.Model/Mes/Production/ProductTraceProcessParameters.cs
gcw_MV9p2JJN 55545b3193 1
2026-02-01 18:15:03 +08:00

163 lines
4.0 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.

namespace RIZO.Model.Mes
{
/// <summary>
/// 工艺参数采集
/// </summary>
[SugarTable("product_trace_process_parameters")]
public class ProductTraceProcessParameters
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 工单号
/// </summary>
public string Workorder { get; set; }
/// <summary>
/// 产品SN
/// </summary>
[SugarColumn(ColumnName = "product_SN")]
public string ProductSn { get; set; }
/// <summary>
/// 工艺路线编码
/// </summary>
public string RoutingCode { get; set; }
/// <summary>
/// 工序号
/// </summary>
public string OperationCode { get; set; }
/// <summary>
/// 流程code
/// </summary>
public string FlowCode { get; set; }
/// <summary>
/// 产线code
/// </summary>
public string ProductlinebodyCode { get; set; }
/// <summary>
/// 工站code
/// </summary>
public string WorkstationCode { get; set; }
/// <summary>
/// 显示名称用于UI展示可和name一样
/// </summary>
[SugarColumn(ColumnName = "parameter_name")]
public string ParameterName { get; set; }
/// <summary>
/// 参数名称,如:温度、压力、时间
/// </summary>
[SugarColumn(ColumnName = "parameter_code")]
public string ParameterCode { get; set; }
/// <summary>
/// plc点位
/// </summary>
[SugarColumn(ColumnName = "plc_point")]
public string PlcPoint { get; set; }
/// <summary>
/// 参数描述,如:模具温度,用于热压工序
/// </summary>
public string Description { get; set; }
/// <summary>
/// 数据类型FLOAT, INT, STRING, BOOL, AI模拟量输入
/// </summary>
[SugarColumn(ColumnName = "data_type")]
public string DataType { get; set; }
/// <summary>
/// 单位℃、MPa、秒、mm
/// </summary>
public string Unit { get; set; }
/// <summary>
/// 最大允许值(用于报警/校验)
/// </summary>
[SugarColumn(ColumnName = "max_value")]
public decimal MaxValue { get; set; }
/// <summary>
/// 最小允许值(用于报警/校验)
/// </summary>
[SugarColumn(ColumnName = "min_value")]
public decimal MinValue { get; set; }
/// <summary>
/// 标准/目标值(如目标温度 200.0 ℃)
/// </summary>
[SugarColumn(ColumnName = "standard_value")]
public decimal StandardValue { get; set; }
/// <summary>
/// 实际(如目标温度 200.0 ℃)
/// </summary>
[SugarColumn(ColumnName = "actual_value")]
public decimal ActualValue { get; set; }
/// <summary>
/// 1 是合格 0是不合格
/// </summary>
public int? Result { get; set; }
/// <summary>
/// 操作人
/// </summary>
public string Operator { get; set; }
/// <summary>
/// 采集时间
/// </summary>
[SugarColumn(ColumnName = "collect_time")]
public DateTime? CollectTime { get; set; }
/// 更新时间
/// </summary>
[SugarColumn(ColumnName = "updated_time")]
public DateTime? UpdatedTime { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "created_time")]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
public string Updatedby { get; set; }
/// <summary>
/// 创建人
/// </summary>
public string Createdby { get; set; }
}
}