lixiaojun
2025-02-07 d107fd0519b4b84c31bc55bbd30cc0ba0af7507d
WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/ThreeLinkViewModel.cs
@@ -19,7 +19,7 @@
            {
                this.Caliber = rhs.Caliber.ToString();
            }
            if (rhs.Material == null)
            if (rhs.Material == null || rhs.Material == string.Empty)
            {
                this.Material = "默认";
            }
@@ -29,7 +29,7 @@
            }
            this.Name = rhs.Name;
            this.SortCode = rhs.SortCode;
            this.KeyWord = string.Join(",", rhs.KeyWord);
            this.KeyWord = string.Join(",", rhs.KeyWords);
            this.RunThroughMinorLoss = rhs.RunThroughMinorLoss;
            this.BranchThroughMinorLoss = rhs.BranchThroughMinorLoss;
            this.MinorLoss = rhs.MinorLoss;
@@ -47,7 +47,7 @@
            {
                this.Caliber = rhs.Caliber.ToString();
            }
            if (rhs.Material == null)
            if (rhs.Material == null || rhs.Material == string.Empty)
            {
                this.Material = "默认";
            }
@@ -57,12 +57,11 @@
            }
            this.Name = rhs.Name;
            this.SortCode = rhs.SortCode;
            this.KeyWord = string.Join(",", rhs.KeyWord);
            this.KeyWord = string.Join(",", rhs.KeyWords);
            this.RunThroughMinorLoss = rhs.RunThroughMinorLoss;
            this.BranchThroughMinorLoss = rhs.BranchThroughMinorLoss;
            this.MinorLoss = rhs.MinorLoss;
            this.Description = rhs.Description;
        }
        /// <summary>
@@ -106,7 +105,7 @@
        /// 系数
        /// </summary>
        [DisplayName("系数")]
        [DisplayName("损失系数")]
        [Browsable(true)]
        public double MinorLoss { get; set; }