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