hutongqing
2024-11-28 3ec3e0c1913bc902dbbcaeae2959897df6212ec2
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; }