|
namespace WCS.Application;
|
|
/// <summary>
|
/// 设备信息表
|
/// </summary>
|
[SugarTable("WCSPLCDevice", "设备信息表")]
|
public class WcsDevice : EntityBaseData
|
{
|
/// <summary>
|
/// PlcId
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "PlcId", ColumnDescription = "PlcId")]
|
public long PlcId { get; set; }
|
|
/// <summary>
|
/// 交互类型
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "DeviceType", ColumnDescription = "交互类型")]
|
public DeviceTypeEnum DeviceType { get; set; }
|
|
/// <summary>
|
/// 设备级别
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "Level", ColumnDescription = "设备级别")]
|
public DeviceLevelEnum Level { get; set; }
|
|
/// <summary>
|
/// DB区域
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "DbNumber", ColumnDescription = "DB区域", Length = 10)]
|
public string DbNumber { get; set; }
|
|
/// <summary>
|
/// 工位号
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "StationNum", ColumnDescription = "工位号", Length = 4)]
|
public string StationNum { get; set; }
|
|
/// <summary>
|
/// PLC偏移量
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "PlcPos", ColumnDescription = "PLC偏移量", Length = 10)]
|
public string PlcPos { get; set; }
|
|
/// <summary>
|
/// WCS偏移量
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "WcsPos", ColumnDescription = "WCS偏移量", Length = 10)]
|
public string WcsPos { get; set; }
|
|
/// <summary>
|
/// 流程字类型
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "PosType", ColumnDescription = "流程字类型")]
|
public PLCDataTypeEnum PosType { get; set; }
|
|
/// <summary>
|
/// 显示屏ip地址
|
/// </summary>
|
[SugarColumn(ColumnName = "LedIP", ColumnDescription = "显示屏ip地址", Length = 50)]
|
public string? LedIP { get; set; }
|
|
/// <summary>
|
/// 描述
|
/// </summary>
|
[SugarColumn(ColumnName = "Text", ColumnDescription = "描述", Length = 20)]
|
public string? Text { get; set; }
|
|
/// <summary>
|
/// 位置有物品
|
/// </summary>
|
[SugarColumn(IsIgnore = true)]
|
public bool BoHaveItem { get; set; }
|
/// <summary>
|
/// 高度
|
/// </summary>
|
[SugarColumn(IsIgnore = true)]
|
public int BoxHeight { get; set; }
|
/// <summary>
|
/// 目的工位
|
/// </summary>
|
[SugarColumn(IsIgnore = true)]
|
public string EndLocat { get; set; }
|
}
|