1
hutongqing
2025-01-02 8c6fd742db249ad4cc819cf041eb98d880a3ef73
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>
@@ -104,7 +110,10 @@
        [SugarColumn(Length = 200, IsNullable = true, ColumnDescription = "备注")]
        public string DeviceRemark { get; set; }
        [ImporterHeader(IsIgnore =true)]
        /// <summary>
        /// 设备协议集合
        /// </summary>
        [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; }