yangyin
2025-01-14 84e0ecfcef31fe5dc0240d2eb9b9e16dc7a3b2df
WinFrmUI/DPumpHydr.WinFrmUI.Volute/¶ÏÃæÉè¼Æ/ViewModel/SectionBundleInfo.cs
@@ -174,6 +174,10 @@
            CheckChamferR();
        }
        
        public void RecalculateArea(HdrBaseInfo hdr_info, GeomBaseInfo geom_info)
        {
            CalcAllArea(hdr_info, geom_info);
        }
        /// <summary>
        /// V3改了, é‡æ–°è®¡ç®—面积和高度
        /// </summary>
@@ -447,15 +451,15 @@
                for (int k = 0; k < 10; k++)
                {
                    bool isChange = false;
                    if (this.R_Left[index] * (1+Math.Sin(this.GaMa_Left[index]*Math.PI/180)) > this.H[index])
                    if (this.R_Left[index] * (1+Math.Sin(this.GaMa_Left[index]*Math.PI/180)) > this.H[index] - 3)
                    {
                        isChange = true;
                        this.R_Left[index] = this.R_Left[index] - 0.5;
                        this.R_Left[index] = (this.H[index] - 3 )/(1 + Math.Sin(this.GaMa_Left[index] * Math.PI / 180));
                    }
                    if (this.R_Right[index] * (1 + Math.Sin(this.GaMa_Right[index] * Math.PI / 180)) > this.H[index])
                    if (this.R_Right[index] * (1 + Math.Sin(this.GaMa_Right[index] * Math.PI / 180)) > this.H[index] - 3)
                    {
                        isChange = true;
                        this.R_Right[index] = this.R_Right[index] - 0.5;
                        this.R_Right[index] = (this.H[index] - 3) / (1 + Math.Sin(this.GaMa_Right[index] * Math.PI / 180));
                    }
                    if (isChange)
                        continue;