using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DPumpHydr.WinFrmUI.Volute
{
internal class OutflowStyleHelper
{
///
/// 截面开始角度
///
///
///
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;
}
}
}
}