Files
WCS/Plugins/Wcs/Plugin.Cowain.Wcs/Models/Dto/6180/Rgv6180Dto.cs
2026-03-02 09:13:29 +08:00

62 lines
1.5 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 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; }
/// <summary>
/// 设备名称
/// </summary>
[Required]
[MaxLength(100)]
public string StationName { get; set; } = string.Empty;
/// <summary>
/// 设备代号 RGV-01
/// </summary>
[Required]
[MaxLength(100)]
public string StationCode { get; set; } = string.Empty;
/// <summary>
/// 工艺名称
/// </summary>
[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; }
/// <summary>
/// 序列号
/// </summary>
[MaxLength(200)]
public string QrCode1 { get; set; } = string.Empty;
/// <summary>
/// 序列号
/// </summary>
[MaxLength(200)]
public string QrCode2 { get; set; } = string.Empty;
/// <summary>
/// 动画位置X
/// </summary>
public int LayOutX { get; set; }
/// <summary>
/// 动画位置X
/// </summary>
public int LayOutY { get; set; }
/// <summary>
/// 参数,需要从PLC读取当前位置状态等信息
/// </summary>
[Required]
public string Json { get; set; } = string.Empty;
}