From 2acb2076869b884c69c349e0821ed96c2bc5b9ee Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期二, 03 九月 2024 16:54:57 +0800 Subject: [PATCH] 工作台位置监控 --- Admin.NET/WCS.Application/Entity/WcsDevice.cs | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Admin.NET/WCS.Application/Entity/WcsDevice.cs b/Admin.NET/WCS.Application/Entity/WcsDevice.cs index c1675c9..fec62ff 100644 --- a/Admin.NET/WCS.Application/Entity/WcsDevice.cs +++ b/Admin.NET/WCS.Application/Entity/WcsDevice.cs @@ -4,8 +4,8 @@ /// <summary> /// 璁惧淇℃伅琛� /// </summary> -[SugarTable("WCSPLCDevice","璁惧淇℃伅琛�")] -public class WcsDevice : EntityBaseData +[SugarTable("WCSPLCDevice", "璁惧淇℃伅琛�")] +public class WcsDevice : EntityBaseData { /// <summary> /// PlcId @@ -62,17 +62,27 @@ [Required] [SugarColumn(ColumnName = "PosType", ColumnDescription = "娴佺▼瀛楃被鍨�")] public PLCDataTypeEnum PosType { get; set; } - + /// <summary> /// 鏄剧ず灞廼p鍦板潃 /// </summary> [SugarColumn(ColumnName = "LedIP", ColumnDescription = "鏄剧ず灞廼p鍦板潃", 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; } } -- Gitblit v1.8.0