From 17e4c7e3e7b3ef60d9da6de3b2a39a14a53c38a0 Mon Sep 17 00:00:00 2001
From: z8018 <1282578289@qq.com>
Date: 星期三, 12 三月 2025 14:11:33 +0800
Subject: [PATCH] 1

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

diff --git a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceInfo.cs b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceInfo.cs
index 25b4625..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>
@@ -107,7 +113,7 @@
         /// <summary>
         /// 璁惧鍗忚闆嗗悎
         /// </summary>
-        [ImporterHeader(IsIgnore =true)]
+        [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