50 lines
1.1 KiB
C#
50 lines
1.1 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace MDM.Model.Plant.Dto
|
|
{
|
|
/// <summary>
|
|
/// PLC点位查询对象
|
|
/// </summary>
|
|
public class PlantPlcIoPointQueryDto : PagerInfo
|
|
{
|
|
public string FkWorkstationCode { get; set; }
|
|
|
|
public string FkProcessParamCode { get; set; }
|
|
|
|
public string FkDeviceCode { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// PLC点位输入输出对象
|
|
/// </summary>
|
|
public class PlantPlcIoPointDto
|
|
{
|
|
[Required(ErrorMessage = "Id不能为空")]
|
|
public int Id { get; set; }
|
|
|
|
public string FkWorkstationCode { get; set; }
|
|
|
|
public string FkProcessParamCode { get; set; }
|
|
|
|
public string FkDeviceCode { get; set; }
|
|
|
|
public string PointType { get; set; }
|
|
|
|
public string Address { get; set; }
|
|
|
|
public int? IsActive { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
|
|
}
|
|
} |