lixiaojun
2024-08-14 8ab801bcb9a1780898686471de4fb7cecd16f67e
WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/14-exchanger/HydroExchangerViewModel.cs
@@ -21,10 +21,13 @@
            this.Name = rhs.Name;
            this.FlagsString = Yw.Untity.FlagsHelper.ToString(rhs.Flags);
            this.Description = rhs.Description;
            this.Quality = rhs.Quality;
            this.Elev = rhs.Elev;
            this.Demand = rhs.Demand;
            this.DemandPattern = rhs.DemandPattern;
            this.StartCode = rhs.StartCode;
            this.EndCode = rhs.EndCode;
            this.LinkStatus = rhs.LinkStatus;
            this.Diameter = rhs.Diameter;
            this.Length = rhs.Length;
            this.MinorLoss = rhs.MinorLoss;
            this.Roughness = rhs.Roughness;
            this.Vmo = rhs;
        }
@@ -72,32 +75,53 @@
        public string Description { get; set; }
        /// <summary>
        /// 初始水质
        /// 上游节点编码
        /// </summary>
        [DisplayName("初始水质")]
        [Display(Name = "初始水质")]
        public double Quality { get; set; }
        [DisplayName("上游节点编码")]
        [Display(Name = "上游节点编码")]
        public string StartCode { get; set; }
        /// <summary>
        /// 标高
        /// 下游节点编码
        /// </summary>
        [DisplayName("标高")]
        [Display(Name = "标高")]
        public double Elev { get; set; }
        [DisplayName("下游节点编码")]
        [Display(Name = "下游节点编码")]
        public string EndCode { get; set; }
        /// <summary>
        /// 需水量
        /// 管道状态
        /// </summary>
        [DisplayName("需水量")]
        [Display(Name = "需水量")]
        public double? Demand { get; set; }
        [DisplayName("管道状态")]
        [Display(Name = "管道状态")]
        public string LinkStatus { get; set; }
        /// <summary>
        /// 需水模式
        /// 直径
        /// </summary>
        [DisplayName("需水模式")]
        [Display(Name = "需水模式")]
        public string DemandPattern { get; set; }
        [DisplayName("直径")]
        [Display(Name = "直径")]
        public double Diameter { get; set; }
        /// <summary>
        /// 长度
        /// </summary>
        [DisplayName("长度")]
        [Display(Name = "长度")]
        public double Length { get; set; }
        /// <summary>
        /// 粗糙系数
        /// </summary>
        [DisplayName("粗糙系数")]
        [Display(Name = "粗糙系数")]
        public double Roughness { get; set; }
        /// <summary>
        /// 局部阻力系数
        /// </summary>
        [DisplayName("局部阻力系数")]
        [Display(Name = "局部阻力系数")]
        public double MinorLoss { get; set; }
        /// <summary>
        ///