From 8c6fd742db249ad4cc819cf041eb98d880a3ef73 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期四, 02 一月 2025 15:09:07 +0800
Subject: [PATCH] 1

---
 WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceInfo.cs |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceInfo.cs b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceInfo.cs
index a03d156..cd583dd 100644
--- a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceInfo.cs
+++ b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceInfo.cs
@@ -41,6 +41,12 @@
         public int Id { get; set; }
 
         /// <summary>
+        /// 璋冨害琛ㄤ富閿�
+        /// </summary>
+        [SugarColumn(IsNullable = true, ColumnDescription = "璋冨害琛ㄤ富閿�")]
+        public int? DispatchId { get; set; }
+
+        /// <summary>
         /// 璁惧缂栧彿
         /// </summary>
         [ImporterHeader(Name = "璁惧缂栧彿")]
@@ -93,7 +99,7 @@
         /// </summary>
         [ImporterHeader(Name = "PLC绫诲瀷")]
         [ExporterHeader(DisplayName = "PLC绫诲瀷")]
-        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "PLC绫诲瀷")]
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "PLC绫诲瀷")]
         public string DevicePlcType { get; set; }
 
         /// <summary>
@@ -104,7 +110,10 @@
         [SugarColumn(Length = 200, IsNullable = true, ColumnDescription = "澶囨敞")]
         public string DeviceRemark { get; set; }
 
-        [ImporterHeader(IsIgnore =true)]
+        /// <summary>
+        /// 璁惧鍗忚闆嗗悎
+        /// </summary>
+        [ImporterHeader(IsIgnore = true)]
         [ExporterHeader(IsIgnore = true)]
         [Navigate(NavigateType.OneToMany, nameof(Dt_DeviceProtocol.DeviceId), nameof(Id)), SugarColumn(IsIgnore = true, IsNullable = true)]
         public List<Dt_DeviceProtocol> ProtocolList { get; set; }

--
Gitblit v1.9.3