yangyin
2025-01-13 809cab44fa1cbea94d84c42cce94a35cc49ce5ad
WinFrmUI/DPumpHydr.WinFrmUI.Volute/¶ÏÃæÉè¼Æ/ViewModel/SectionBundleInfo.cs
@@ -146,6 +146,16 @@
        /// <param name="v3"></param>
        public void ResetAllParas(HdrBaseInfo hdr_info, GeomBaseInfo geom_info )
        {
            this.R_out = 1500.0;
            if (geom_info.D3 > 1000)
                this.R_out = 6000.0;
            else if (geom_info.D3 > 500)
                this.R_out = 3000.0;
            else if (geom_info.D3 > 300)
                this.R_out = 2000.0;
            else
                this.R_out = 1500.0;
            InitialK3(hdr_info, geom_info);
            this.BaseWidth = geom_info.B3;
@@ -163,7 +173,7 @@
            //
            CheckChamferR();
        }
        /// <summary>
        /// V3改了, é‡æ–°è®¡ç®—面积和高度
        /// </summary>
@@ -171,8 +181,7 @@
        /// <param name="geom_info"></param>
        /// <param name="v3"></param>
        public void CalcParaV3(HdrBaseInfo hdr_info, GeomBaseInfo geom_info )
        {
        {
            this.BaseWidth = geom_info.B3;
            this.BaseCircleRadius = geom_info.D3 / 2;
@@ -387,7 +396,7 @@
            //}
            this.R_Right[8] = this.R_Left[8];
            this.R_out = 1000.0;
            //截面R1 å’Œ R4的减少角度 DecreaseR
            double DecreaseR = 0.5;
@@ -414,7 +423,11 @@
            for (int index = 7; index >= 1; index--)
            {
                this.R_Left[index] = this.R_Left[index + 1] - DecreaseR;
                if (this.R_Left[index] < 1)
                    this.R_Left[index] = 1;
                this.R_Right[index] = this.R_Right[index + 1] - DecreaseR;
                if (this.R_Right[index] < 1)
                    this.R_Right[index] = 1;
            }
        }
@@ -423,7 +436,7 @@
        /// </summary>
        private void CheckChamferR()
        {
            for (int index = 7; index >= 1; index--)
            for (int index = 8; index >= 1; index--)
            { 
                if (this.R_Left[index] > (this.H[index] + 1))
                    this.R_Left[index] = Math.Round(this.H[index] * 0.85 - 1, 0);