lixiaojun
2024-09-26 158292021eb0b31e494b5fdc26a31c58af0bf01b
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/01-ViewModel/PumpMatchingViewModel.cs
@@ -1,17 +1,16 @@
namespace HStation.WinFrmUI
{
    /// <summary>
    /// 水泵匹配ViewModel
    /// </summary>
    public class PumpMatchingViewModel
    {
        /// <summary>
        /// ID
        /// </summary>
        [DisplayName("ID")]
        [Browsable(false)]
        public long ID { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [DisplayName("名称")]
        [Browsable(true)]
        public string Name { get; set; }
        /// <summary>
        /// 编码
@@ -21,11 +20,32 @@
        public string Code { get; set; }
        /// <summary>
        /// 型号名
        /// 名称
        /// </summary>
        [DisplayName("型号名")]
        [DisplayName("名称")]
        [Browsable(true)]
        public string Name { get; set; }
        /// <summary>
        /// 型号
        /// </summary>
        [DisplayName("型号")]
        [Browsable(true)]
        public string ModelType { get; set; }
        /// <summary>
        /// DbId
        /// </summary>
        [DisplayName("DbId")]
        [Browsable(false)]
        public string DbId { get; set; }
        /// <summary>
        /// Db锁定
        /// </summary>
        [DisplayName("锁定")]
        [Browsable(true)]
        public bool DbLocked { get; set; }
        /// <summary>
        /// 额定功率
@@ -55,19 +75,48 @@
        [Browsable(true)]
        public double? RatedN { get; set; }
        /// <summary>
        /// Db锁定
        /// </summary>
        [DisplayName("是否锁定")]
        [Browsable(true)]
        public bool DbLocked { get; set; }
        [DisplayName("匹配前DbID")]
        [Browsable(false)]
        public string DbID { get; set; }
        [DisplayName("ChartDbID")]
        [Browsable(false)]
        public long ChartDbID { get; set; }
        public string ChartDbID { get; set; }
        [DisplayName("匹配后DbID")]
        [Browsable(false)]
        public string MatchingDbID { get; set; }
        [DisplayName("匹配后ChartDbID")]
        [Browsable(false)]
        public long? MatchingChartDbID { get; set; }
        /// <summary>
        /// 修改后额定功率
        /// </summary>
        [DisplayName("修改后额定功率")]
        [Browsable(true)]
        public double? MatchingRatedP { get; set; }
        /// <summary>
        ///  修改后额定流量
        /// </summary>
        [DisplayName("修改后额定流量")]
        [Browsable(true)]
        public double? MatchingRatedQ { get; set; }
        /// <summary>
        /// 修改后额定扬程
        /// </summary>
        [DisplayName("修改后额定扬程")]
        [Browsable(true)]
        public double? MatchingRatedH { get; set; }
        /// <summary>
        /// 修改后额定转速
        /// </summary>
        [DisplayName("修改后额定转速")]
        [Browsable(true)]
        public double? MatchingRatedN { get; set; }
    }
}