lixiaojun
2024-10-31 abf1e3b3334ab47c38aa92405a11a6ec92b7847a
WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/00-viewmodel/ValveMainViewModel.cs
@@ -27,9 +27,11 @@
            }
            this.Coefficient = rhs.Coefficient;
            this.SeriesID = rhs.SeriesID;
            this.SeriesType = rhs.SeriesType;
            this.SeriesType = rhs.Type;
            this.ValveLift = rhs.ValveLift;
            this.SortCode = rhs.SortCode;
            this.KeyWord = rhs.KeyWord;
            this.ValveSetting = rhs.ValveSetting;
        }
        public void Reset(Vmo.AssetsValveMainVmo rhs)
@@ -56,9 +58,11 @@
            }
            this.Coefficient = rhs.Coefficient;
            this.SeriesID = rhs.SeriesID;
            this.SeriesType = rhs.SeriesType;
            this.SeriesType = rhs.Type;
            this.SortCode = rhs.SortCode;
            this.ValveLift = rhs.ValveLift;
            this.KeyWord = rhs.KeyWord;
            this.ValveSetting = rhs.ValveSetting;
        }
        [DisplayName("ID")]
@@ -105,14 +109,14 @@
        /// </summary>
        [DisplayName("说明")]
        [Browsable(true)]
        public string? Description { get; set; }
        public string Description { get; set; }
        /// <summary>
        /// 阀门状态
        /// 阀门开度
        /// </summary>
        [DisplayName("阀门状态")]
        [DisplayName("阀门开度")]
        [Browsable(true)]
        public int ValveLift { get; set; }
        public int? ValveLift { get; set; }
        /// <summary>
        /// 排序码
@@ -132,14 +136,28 @@
        /// 创建人
        /// </summary>
        [DisplayName("创建人")]
        [Browsable(true)]
        [Browsable(false)]
        public string CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        [Browsable(true)]
        [Browsable(false)]
        public string CreateTime { get; set; }
        /// <summary>
        /// 识别关键字
        /// </summary>
        [DisplayName("关键字")]
        [Browsable(true)]
        public string KeyWord { get; set; }
        /// <summary>
        /// 阀门设置
        /// </summary>
        [DisplayName("阀门设置")]
        [Browsable(true)]
        public string ValveSetting { get; set; }
    }
}