duheng
2025-03-28 e411302bca8857e102443a5250c82b9580ef07a3
WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/03-elbow/HydroElbowMatchingViewModel.cs
@@ -15,7 +15,6 @@
        /// </summary>
        public HydroElbowMatchingViewModel(Yw.Model.HydroElbowInfo rhs, Yw.Model.HydroModelInfo hydroInfo)
        {
            this.ID = rhs.ID;
            this.Name = rhs.Name;
            this.Code = rhs.Code;
            this.DbLocked = rhs.DbLocked;
@@ -24,7 +23,7 @@
            this.Material = rhs.Material;
            this.Caliber = rhs.Caliber;
            this.MinorLoss = rhs.MinorLoss;
            this.BendingAngle = rhs.BendingAngle.HasValue ? (int)rhs.BendingAngle.Value : null;
            this.BendingAngle = (int)rhs.BendingAngle;
            this.ElbowType = HydroElbowTypeEnumHelper.GetElbowType(rhs.ElbowType);
        }
@@ -33,10 +32,6 @@
        /// </summary>
        public HydroElbowMatchingViewModel(HydroElbowViewModel rhs) : this(rhs.Vmo, rhs.HydroInfo) { }
        /// <summary>
        /// ID
        /// </summary>
        public long ID { get; set; }
        /// <summary>
        /// 编码
@@ -71,17 +66,17 @@
        /// <summary>
        /// 口径
        /// </summary>
        public double? Caliber { get; set; }
        public double Caliber { get; set; }
        /// <summary>
        /// 损失系数
        /// </summary>
        public double? MinorLoss { get; set; }
        public double MinorLoss { get; set; }
        /// <summary>
        /// 弯曲角度
        /// </summary>        
        public int? BendingAngle { get; set; }
        public int BendingAngle { get; set; }
        /// <summary>
        /// 弯头类型