From 70233af5426b0d1c343ebe87183303a34a9aaa58 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期三, 20 十一月 2024 09:05:38 +0800 Subject: [PATCH] WIDESEAWCS_QuartzJob更新版本 --- WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceProtocol.cs | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceProtocol.cs b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceProtocol.cs index a61edd3..b8a9e6c 100644 --- a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceProtocol.cs +++ b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Models/Dt_DeviceProtocol.cs @@ -15,6 +15,7 @@ *----------------------------------------------------------------*/ #endregion << 鐗� 鏈� 娉� 閲� >> +using Magicodes.ExporterAndImporter.Core; using SqlSugar; using System; using System.Collections.Generic; @@ -34,66 +35,88 @@ /// <summary> /// 涓婚敭 /// </summary> + [ImporterHeader(IsIgnore = true)] + [ExporterHeader(IsIgnore = true)] [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "涓婚敭")] public int Id { get; set; } /// <summary> /// 璁惧涓婚敭 /// </summary> + [ImporterHeader(IsIgnore = true)] + [ExporterHeader(IsIgnore = true)] [SugarColumn(IsNullable = false, ColumnDescription = "璁惧涓婚敭")] public int DeviceId { get; set; } /// <summary> /// 璁惧瀛愮紪鍙� /// </summary> + [ImporterHeader(Name = "璁惧瀛愮紪鍙�")] + [ExporterHeader(DisplayName = "璁惧瀛愮紪鍙�")] [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "璁惧瀛愮紪鍙�")] public string DeviceChildCode { get; set; } /// <summary> /// 鍗忚鏁版嵁鍧� /// </summary> + [ImporterHeader(Name = "鍗忚鏁版嵁鍧�")] + [ExporterHeader(DisplayName = "鍗忚鏁版嵁鍧�")] [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "鍗忚鏁版嵁鍧�")] public string DeviceProDataBlock { get; set; } /// <summary> /// 鍋忕Щ閲� /// </summary> + [ImporterHeader(Name = "鍋忕Щ閲�")] + [ExporterHeader(DisplayName = "鍋忕Щ閲�")] [SugarColumn(IsNullable = false, DecimalDigits = 1, ColumnDescription = "鍋忕Щ閲�")] public decimal DeviceProOffset { get; set; } /// <summary> /// 鏁版嵁绫诲瀷 /// </summary> + [ImporterHeader(Name = "鏁版嵁绫诲瀷")] + [ExporterHeader(DisplayName = "鏁版嵁绫诲瀷")] [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "鏁版嵁绫诲瀷")] public string DeviceProDataType { get; set; } /// <summary> /// 鏁版嵁闀垮害 /// </summary> + [ImporterHeader(Name = "鏁版嵁闀垮害")] + [ExporterHeader(DisplayName = "鏁版嵁闀垮害")] [SugarColumn(IsNullable = false, ColumnDescription = "鏁版嵁闀垮害", DefaultValue = "1")] public int DeviceProDataLength { get; set; } /// <summary> /// 鍙傛暟鍚嶇О /// </summary> + [ImporterHeader(Name = "鍙傛暟鍚嶇О")] + [ExporterHeader(DisplayName = "鍙傛暟鍚嶇О")] [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鍙傛暟鍚嶇О")] public string DeviceProParamName { get; set; } /// <summary> /// 鍙傛暟绫诲瀷 /// </summary> + [ImporterHeader(Name = "鍙傛暟绫诲瀷")] + [ExporterHeader(DisplayName = "鍙傛暟绫诲瀷")] [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鍙傛暟绫诲瀷")] public string DeviceProParamType { get; set; } /// <summary> /// 鍙傛暟璇存槑 /// </summary> + [ImporterHeader(Name = "鍙傛暟璇存槑")] + [ExporterHeader(DisplayName = "鍙傛暟璇存槑")] [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鍙傛暟璇存槑")] public string DeviceProParamDes { get; set; } /// <summary> /// 澶囨敞 /// </summary> + [ImporterHeader(Name = "澶囨敞")] + [ExporterHeader(DisplayName = "澶囨敞")] [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "澶囨敞")] public string DeviceProRemark { get; set; } } -- Gitblit v1.9.3