From 70b4bdc6f999c55b75138e013abf436100e9987b Mon Sep 17 00:00:00 2001
From: liudl <673013083@qq.com>
Date: 星期一, 23 六月 2025 15:33:16 +0800
Subject: [PATCH] 修改手自动

---
 Admin.NET/WCS.Application/Entity/WcsDevice.cs |   32 +++++++++++++++++++++++++++-----
 1 files changed, 27 insertions(+), 5 deletions(-)

diff --git a/Admin.NET/WCS.Application/Entity/WcsDevice.cs b/Admin.NET/WCS.Application/Entity/WcsDevice.cs
index 4f521c7..37eb5ce 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
@@ -13,6 +13,13 @@
     [Required]
     [SugarColumn(ColumnName = "PlcId", ColumnDescription = "PlcId")]
     public long PlcId { get; set; }
+
+    /// <summary>
+    /// 浜や簰绫诲瀷
+    /// </summary>
+    [Required]
+    [SugarColumn(ColumnName = "DeviceType", ColumnDescription = "浜や簰绫诲瀷")]
+    public DeviceTypeEnum DeviceType { get; set; }
 
     /// <summary>
     /// 璁惧绾у埆
@@ -55,17 +62,32 @@
     [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; }
+    /// <summary>
+    /// 鐩殑宸ヤ綅
+    /// </summary>
+    [SugarColumn(IsIgnore = true)]
+    public string EndLocat { get; set; }
 }

--
Gitblit v1.8.0