qin
2025-03-20 00ab1b5282ada6ffdc78b3dd46f0ce08726a51e6
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,30 +23,15 @@
            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);
        }
        /// <summary>
        ///
        /// </summary>
        public HydroElbowMatchingViewModel(Yw.Model.HydroElbowInfo rhs, Yw.Model.HydroModelInfo hydroInfo, HydroCalcuNodeResult calcuResult) : this(rhs, hydroInfo)
        {
        public HydroElbowMatchingViewModel(HydroElbowViewModel rhs) : this(rhs.Vmo, rhs.HydroInfo) { }
        }
        /// <summary>
        ///
        /// </summary>
        public HydroElbowMatchingViewModel(HydroElbowViewModel rhs) : this(rhs.Vmo, rhs.HydroInfo)
        {
        }
        /// <summary>
        /// ID
        /// </summary>
        public long ID { get; set; }
        /// <summary>
        /// 编码
@@ -82,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>
        /// 弯头类型