Valeo_Line_MES_backend/MDM/Models/Process/Dto/ProcessOperationWorkstationFlowCollectParameterDto.cs
gcw_MV9p2JJN d823351e8f 1
2026-01-12 11:13:10 +08:00

144 lines
3.2 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;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MDM.Models.Process.Dto
{
public class ProcessOperationWorkstationFlowCollectParameterDto
{
/// <summary>
/// 工序路线code
/// </summary>
public string? FkRoutingCode { get; set; }
/// <summary>
/// 工序code
/// </summary>
public string? FkOperationCode { get; set; }
/// <summary>
/// 生产线体/工作中心code
/// </summary>
public string? FkProductlinebodyCode { get; set; }
/// <summary>
/// 工位ID
/// </summary>
public string? FkWorkstationCode { get; set; }
/// <summary>
/// 所属流程code
/// </summary>
[SugarColumn(ColumnName = "fk_flow_code")]
public string FkFlowCode { get; set; }
/// <summary>
/// 参数名称,如:温度、压力、时间
/// </summary>
public string? ParameterCode { get; set; }
/// <summary>
///plc 点位
/// </summary>
public string? PlcPoint { get; set; }
/// <summary>
/// 显示名称用于UI展示可和name一样
/// </summary>
public string? ParameterName { get; set; }
/// <summary>
/// 参数描述,如:模具温度,用于热压工序
/// </summary>
public string? Description { get; set; }
/// <summary>
/// 数据类型FLOAT, INT, STRING, BOOL, AI模拟量输入
/// </summary>
public string? DataType { get; set; }
/// <summary>
/// 单位℃、MPa、秒、mm
/// </summary>
public string? Unit { get; set; }
/// <summary>
/// 标准/目标值(如目标温度 200.0 ℃)
/// </summary>
public decimal StandardValue { get; set; }
/// <summary>
/// 最小允许值(用于报警/校验)
/// </summary>
public decimal MinValue { get; set; }
/// <summary>
/// 最大允许值(用于报警/校验)
/// </summary>
public decimal MaxValue { get; set; }
/// <summary>
/// 是否为控制参数1=是如PID控制0=否(仅采集)
/// </summary>
public int? IsControlled { get; set; }
/// <summary>
/// 是否为监控参数(是否采集/显示1=是0=否
/// </summary>
public int? IsMonitored { get; set; }
/// <summary>
/// 控制类型如PID、ON/OFF、手动设定等可选
/// </summary>
public string? ControlType { get; set; }
/// <summary>
/// 默认值(如未采集时使用)
/// </summary>
public decimal? DefaultValue { get; set; }
/// <summary>
/// 是否必填/必采1=是0=否
/// </summary>
public int? IsRequired { get; set; }
/// <summary>
/// 参数排序用于UI展示顺序
/// </summary>
public int? Sequence { get; set; }
}
}