From 3ec3e0c1913bc902dbbcaeae2959897df6212ec2 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期四, 28 十一月 2024 15:41:23 +0800
Subject: [PATCH] 更新

---
 WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceInfo.cs |    7 +++++--
 1 files changed, 5 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..855d109 100644
--- a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceInfo.cs
+++ b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceInfo.cs
@@ -40,6 +40,9 @@
         [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "涓婚敭")]
         public int Id { get; set; }
 
+        [SugarColumn(IsNullable = true, ColumnDescription = "璋冨害琛ㄤ富閿�")]
+        public int? DispatchId { get; set; }
+
         /// <summary>
         /// 璁惧缂栧彿
         /// </summary>
@@ -93,7 +96,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 +110,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