duheng
2024-12-09 477be839d94e42de8bef6c4fa55496253d4ceb7a
WinFrmUI/HStation.WinFrmUI.Assets.Core/05-elbow/ElbowViewModel.cs
@@ -21,7 +21,7 @@
            {
                this.Caliber = rhs.Caliber.ToString();
            }
            if (rhs.Material == null)
            if (rhs.Material == null || rhs.Material == string.Empty)
            {
                this.MaterialName = "默认";
            }
@@ -33,7 +33,7 @@
            this.SortCode = rhs.SortCode;
            this.KeyWord = string.Join(",", rhs.KeyWord);
            this.Angle = rhs.Angle;
            this.ElbowLengthType = rhs.ElbowLengthType;
            this.ElbowLengthType = rhs.ElbowType;
            this.MinorLoss = rhs.MinorLoss;
        }
@@ -48,7 +48,7 @@
            {
                this.Caliber = rhs.Caliber.ToString();
            }
            if (rhs.Material == null)
            if (rhs.Material == null || rhs.Material == string.Empty)
            {
                this.MaterialName = "默认";
            }
@@ -61,7 +61,7 @@
            this.KeyWord = string.Join(",", rhs.KeyWord);
            this.SortCode = rhs.SortCode;
            this.Angle = rhs.Angle;
            this.ElbowLengthType = rhs.ElbowLengthType;
            this.ElbowLengthType = rhs.ElbowType;
            this.MinorLoss = rhs.MinorLoss;
        }
@@ -110,14 +110,14 @@
        /// </summary>
        [DisplayName("关键字")]
        [Browsable(true)]
        public  string  KeyWord { get; set; }
        public string KeyWord { get; set; }
        /// <summary>
        /// 弯头类型
        /// </summary>
        [DisplayName("弯头类型")]
        [Browsable(true)]
        public eLengthType? ElbowLengthType { get; set; }
        public eElbowType? ElbowLengthType { get; set; }
        /// <summary>
        /// 角度