chenn
2025-04-11 c74c5c27380a2967971e22336d05b635d691e483
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; 
            }
        }
    }
}