Valeo_Line_MES_backend/MDM/Models/Plant/PlantPlcIoPoint.cs
2026-01-10 13:47:54 +08:00

80 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.

namespace MDM.Model.Plant
{
/// <summary>
/// PLC点位
/// </summary>
[SugarTable("plant_plc_io_point")]
public class PlantPlcIoPoint
{
/// <summary>
/// Id
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 工站code
/// </summary>
[SugarColumn(ColumnName = "fk_workstation_code")]
public string FkWorkstationCode { get; set; }
/// <summary>
/// 工艺参数code
/// </summary>
[SugarColumn(ColumnName = "fk_process_param_code")]
public string FkProcessParamCode { get; set; }
/// <summary>
/// 设备id
/// </summary>
[SugarColumn(ColumnName = "fk_device_code")]
public string FkDeviceCode { get; set; }
/// <summary>
/// 点位类型,如 AI模拟输入、DI等
/// </summary>
[SugarColumn(ColumnName = "point_type")]
public string PointType { get; set; }
/// <summary>
/// 点位地址,如 %IW64、DB1.DBW0
/// </summary>
public string Address { get; set; }
/// <summary>
/// 是否激活1启用0停用
/// </summary>
[SugarColumn(ColumnName = "is_active")]
public int? IsActive { get; set; }
/// <summary>
/// 描述
/// </summary>
public string Description { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(ColumnName = "created_by")]
public string CreatedBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "created_time")]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// 更改人
/// </summary>
[SugarColumn(ColumnName = "updated_by")]
public string UpdatedBy { get; set; }
/// <summary>
/// 更改时间
/// </summary>
[SugarColumn(ColumnName = "updated_time")]
public DateTime? UpdatedTime { get; set; }
}
}