chenn
2025-03-28 9dba1b6adc0bbb4aa8cc531f4e6d822bf1a56be3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks; 
 
 
namespace DPumpHydr.WinFrmUI.Volute 
{
    internal class OutflowStyleHelper
    {
        /// <summary>
        /// 截面开始角度
        /// </summary>
        /// <param name="style"></param>
        /// <returns></returns>
        public static double GetSectStartAngle(DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowShapeStyle style)
        {
            if (style == DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowShapeStyle.侧面出口)
            {
                return  0; 
            }
            else if (style == DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowShapeStyle.侧面出口_直线连接  )
            {
                return 0;
            }
            else
            {
                return  -HydrEngineCSharp.HydrDisplayEngineBridge.PI_4; 
            }
        }
    }
}