From e3c9cde82865df66a7018565c1b84ab2a04739ee Mon Sep 17 00:00:00 2001
From: 肖洋 <cathay_xy@163.com>
Date: 星期二, 07 一月 2025 16:03:28 +0800
Subject: [PATCH] WMS添加设备Model

---
 Code Management/WMS/WIDESEA_WMSServer/WIDESEA_DTO/WCS/Dt_DeviceInfo.cs |  104 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 104 insertions(+), 0 deletions(-)

diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_DTO/WCS/Dt_DeviceInfo.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_DTO/WCS/Dt_DeviceInfo.cs
new file mode 100644
index 0000000..74eb4f8
--- /dev/null
+++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_DTO/WCS/Dt_DeviceInfo.cs
@@ -0,0 +1,104 @@
+锘�#region << 鐗� 鏈� 娉� 閲� >>
+
+/*----------------------------------------------------------------
+ * 鍛藉悕绌洪棿锛歐IDESEAWCS_QuartzJob
+ * 鍒涘缓鑰咃細鑳$搴�
+ * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36
+ * 鐗堟湰锛歏1.0.0
+ * 鎻忚堪锛氳澶囦俊鎭疄浣�
+ *
+ * ----------------------------------------------------------------
+ * 淇敼浜猴細
+ * 淇敼鏃堕棿锛�
+ * 鐗堟湰锛歏1.0.1
+ * 淇敼璇存槑锛�
+ *
+ *----------------------------------------------------------------*/
+
+#endregion << 鐗� 鏈� 娉� 閲� >>
+
+using Magicodes.ExporterAndImporter.Core;
+using SqlSugar;
+using WIDESEA_Core.DB.Models;
+
+namespace WIDESEAWCS_QuartzJob.Models
+{
+    /// <summary>
+    /// 璁惧淇℃伅
+    /// </summary>
+    [SugarTable(nameof(Dt_DeviceInfo), "璁惧淇℃伅")]
+    public class Dt_DeviceInfo : BaseEntity
+    {
+        /// <summary>
+        /// 涓婚敭
+        /// </summary>
+        [ImporterHeader(IsIgnore = true)]
+        [ExporterHeader(DisplayName = "涓婚敭")]
+        [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "涓婚敭")]
+        public int Id { get; set; }
+
+        /// <summary>
+        /// 璁惧缂栧彿
+        /// </summary>
+        [ImporterHeader(Name = "璁惧缂栧彿")]
+        [ExporterHeader(DisplayName = "璁惧缂栧彿")]
+        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "璁惧缂栧彿")]
+        public string DeviceCode { get; set; }
+
+        /// <summary>
+        /// 璁惧鍚嶇О
+        /// </summary>
+        [ImporterHeader(Name = "璁惧鍚嶇О")]
+        [ExporterHeader(DisplayName = "璁惧鍚嶇О")]
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "璁惧鍚嶇О")]
+        public string DeviceName { get; set; }
+
+        /// <summary>
+        /// 璁惧绫诲瀷
+        /// </summary>
+        [ImporterHeader(Name = "璁惧绫诲瀷")]
+        [ExporterHeader(DisplayName = "璁惧绫诲瀷")]
+        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "璁惧绫诲瀷")]
+        public string DeviceType { get; set; }
+
+        /// <summary>
+        /// 璁惧鐘舵��
+        /// </summary>
+        [ImporterHeader(Name = "璁惧鐘舵��")]
+        [ExporterHeader(DisplayName = "璁惧鐘舵��")]
+        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "璁惧鐘舵��")]
+        public string DeviceStatus { get; set; }
+
+        /// <summary>
+        /// 璁惧IP
+        /// </summary>
+        [ImporterHeader(Name = "璁惧IP")]
+        [ExporterHeader(DisplayName = "璁惧IP")]
+        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "璁惧IP")]
+        public string DeviceIp { get; set; }
+
+        /// <summary>
+        /// 璁惧绔彛
+        /// </summary>
+        [ImporterHeader(Name = "璁惧绔彛")]
+        [ExporterHeader(DisplayName = "璁惧绔彛")]
+        [SugarColumn(IsNullable = false, ColumnDescription = "璁惧绔彛")]
+        public int DevicePort { get; set; }
+
+        /// <summary>
+        /// PLC绫诲瀷
+        /// </summary>
+        [ImporterHeader(Name = "PLC绫诲瀷")]
+        [ExporterHeader(DisplayName = "PLC绫诲瀷")]
+        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "PLC绫诲瀷")]
+        public string DevicePlcType { get; set; }
+
+        /// <summary>
+        /// 澶囨敞
+        /// </summary>
+        [ImporterHeader(Name = "澶囨敞")]
+        [ExporterHeader(DisplayName = "澶囨敞")]
+        [SugarColumn(Length = 200, IsNullable = true, ColumnDescription = "澶囨敞")]
+        public string DeviceRemark { get; set; }
+    }
+}
\ No newline at end of file

--
Gitblit v1.9.3