¶Ô±ÈÐÂÎļþ |
| | |
| | | #region << ç æ¬ 注 é >> |
| | | |
| | | /*---------------------------------------------------------------- |
| | | * å½å空é´ï¼WIDESEAWCS_QuartzJob |
| | | * å建è
ï¼è¡ç«¥åº |
| | | * å建æ¶é´ï¼2024/8/2 16:13:36 |
| | | * çæ¬ï¼V1.0.0 |
| | | * æè¿°ï¼è®¾å¤ä¿¡æ¯å®ä½ |
| | | * |
| | | * ---------------------------------------------------------------- |
| | | * ä¿®æ¹äººï¼ |
| | | * ä¿®æ¹æ¶é´ï¼ |
| | | * çæ¬ï¼V1.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; } |
| | | } |
| | | } |