using Cowain.Base.Models; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Plugin.Cowain.Wcs.Models.Dto; [Table("rgv6180dto")] public class Rgv6180Dto : BaseModel { [Key] public int Id { get; set; } /// /// 设备名称 /// [Required] [MaxLength(100)] public string StationName { get; set; } = string.Empty; /// /// 设备代号 RGV-01 /// [Required] [MaxLength(100)] public string StationCode { get; set; } = string.Empty; /// /// 工艺名称 /// [Required] [MaxLength(100)] public string ProcessName { get; set; } = string.Empty; public int FromStationId1 { get; set; } public int ToStationId1 { get; set; } public int FromStationId2 { get; set; } public int ToStationId2 { get; set; } /// /// 序列号 /// [MaxLength(200)] public string QrCode1 { get; set; } = string.Empty; /// /// 序列号 /// [MaxLength(200)] public string QrCode2 { get; set; } = string.Empty; /// /// 动画位置X /// public int LayOutX { get; set; } /// /// 动画位置X /// public int LayOutY { get; set; } /// /// 参数,需要从PLC读取当前位置,状态等信息 /// [Required] public string Json { get; set; } = string.Empty; }