duheng
2024-12-06 ae09c2731aa19f43ec26b3cd8f3d5331a0187440
WinFrmUI/HStation.WinFrmUI.Assets.Core/07-fourLink/02-main/FourLinkViewModel.cs
@@ -20,7 +20,7 @@
            {
                this.Caliber = rhs.Caliber.ToString();
            }
            if (rhs.Material == null)
            if (rhs.Material == null || rhs.Material == string.Empty)
            {
                this.Material = "默认";
            }
@@ -30,7 +30,7 @@
            }
            this.Name = rhs.Name;
            this.SortCode = rhs.SortCode;
            this.KeyWord = rhs.KeyWord;
            this.KeyWord = string.Join(",", rhs.KeyWord);
            this.Coefficient = rhs.MinorLoss;
        }
@@ -45,7 +45,7 @@
            {
                this.Caliber = rhs.Caliber.ToString();
            }
            if (rhs.Material == null)
            if (rhs.Material == null||rhs.Material==string.Empty)
            {
                this.Material = "默认";
            }
@@ -55,7 +55,7 @@
            }
            this.Description = rhs.Description;
            this.Name = rhs.Name;
            this.KeyWord = rhs.KeyWord;
            this.KeyWord = string.Join(",", rhs.KeyWord);
            this.SortCode = rhs.SortCode;
            this.Coefficient = rhs.MinorLoss;
        }
@@ -105,7 +105,7 @@
        /// </summary>
        [DisplayName("关键字")]
        [Browsable(true)]
        public List<string> KeyWord { get; set; }
        public string KeyWord { get; set; }
        /// <summary>
        /// 说明