duheng
2025-04-11 62acc7cd9795df8746ee4f4765a496df6b297f7f
WinFrmUI/PBS.WinFrmUI/04-water-equipment/WaterEquipmentViewModel.cs
@@ -14,10 +14,9 @@
            this.ID = rhs.ID;
            this.Name = rhs.Name;
            this.Reliability = rhs.Reliability;
            this.Safety = rhs.Safety;
            this.Hygiene = rhs.Hygiene;
            this.SaveEnergy = rhs.SaveEnergy;
            this.SystemComposition = rhs.SystemComposition;
            this.TotalPoints = rhs.Reliability + rhs.SaveEnergy + rhs.SystemComposition;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
            this.Vmo = rhs;
@@ -28,10 +27,9 @@
            this.ID = rhs.ID;
            this.Name = rhs.Name;
            this.Reliability = rhs.Reliability;
            this.Safety = rhs.Safety;
            this.Hygiene = rhs.Hygiene;
            this.SaveEnergy = rhs.SaveEnergy;
            this.SystemComposition = rhs.SystemComposition;
            this.TotalPoints = rhs.Reliability + rhs.SaveEnergy + rhs.SystemComposition;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
            this.Vmo = rhs;
@@ -52,25 +50,11 @@
        public string Name { get; set; }
        /// <summary>
        /// 可靠性得分
        /// 可靠、安全卫生性得分
        ///</summary>
        [DisplayName("可靠性得分")]
        [DisplayName("可靠、安全卫生性得分")]
        [Browsable(true)]
        public int Reliability { get; set; }
        /// <summary>
        /// 安全性得分
        ///</summary>
        [DisplayName("安全性得分")]
        [Browsable(true)]
        public int Safety { get; set; }
        /// <summary>
        /// 卫生得分
        ///</summary>
        [DisplayName("卫生得分")]
        [Browsable(true)]
        public int Hygiene { get; set; }
        /// <summary>
        /// 节能得分
@@ -87,6 +71,13 @@
        public int SystemComposition { get; set; }
        /// <summary>
        /// 总分
        /// </summary>
        [DisplayName("总分")]
        [Browsable(true)]
        public int TotalPoints { get; set; }
        /// <summary>
        /// 排序码
        ///</summary>
        [DisplayName("排序码")]