lixiaojun
2024-09-26 fc0c2d0fa1e996e476d7b312fc53550ee172118c
WinFrmUI/HStation.WinFrmUI.Assets.Core/06-pipelineManage/PipeLineViewModel.cs
@@ -12,7 +12,14 @@
        {
            this.ID = rhs.ID;
            this.Description = rhs.Description;
            this.Caliber = rhs.Caliber;
            if (rhs.Caliber == null)
            {
                this.Caliber = "默认";
            }
            else
            {
                this.Caliber = rhs.Caliber.ToString();
            }
            this.Material = rhs.Material;
            this.Hazen = rhs.Hazen;
            this.Darcy = rhs.Darcy;
@@ -27,7 +34,14 @@
            this.Hazen = rhs.Hazen;
            this.Darcy = rhs.Darcy;
            this.Manning = rhs.Manning;
            this.Caliber = rhs.Caliber;
            if (rhs.Caliber == null)
            {
                this.Caliber = "默认";
            }
            else
            {
                this.Caliber = rhs.Caliber.ToString();
            }
            this.Material = rhs.Material;
            this.Description = rhs.Description;
            this.Name = rhs.Name;
@@ -65,21 +79,21 @@
        /// </summary>
        [DisplayName("Hazen")]
        [Browsable(true)]
        public string Hazen { get; set; }
        public double Hazen { get; set; }
        /// <summary>
        /// Darcy
        /// </summary>
        [DisplayName("Darcy")]
        [Browsable(true)]
        public string Darcy { get; set; }
        public double? Darcy { get; set; }
        /// <summary>
        /// Manning
        /// </summary>
        [DisplayName("Manning")]
        [Browsable(true)]
        public string Manning { get; set; }
        public double? Manning { get; set; }
        /// <summary>
        /// 排序码