tangxu
2024-10-22 537630aed77940b8b741361deca78cbeb6f37087
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
34
35
36
37
38
39
40
41
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static DPumpHydr.WinFrmUI.RLT.Util.RoundInt;
 
namespace DPumpHydr.WinFrmUI.Volute.ViewModel
{
    public class HdrBaseInfo
    {
        /// <summary>
        /// 形状类型 0 旋转型   1 双蜗壳型  2 环型  3准旋转型
        /// </summary>
        public int ShapeType { get; set; }
        public double Q { get; set; }
        public double H { get; set; }
        public double n { get; set; }
        public double D2 { get; set; }
        public double B2 { get; set; }
        /// <summary>
        /// 是否是双吸泵
        /// </summary>
        public bool IsSXB { get; set; }
        /// <summary>
        /// 比转速
        /// </summary>
        public double ns { get; set; }
 
        /// <summary>
        /// 计算比转速
        /// </summary>
        public void CalcNs()
        {
            var calc_q = this.Q  ;
            if(IsSXB) calc_q = this.Q / 2;
            ns = Math.Round( 3.65 * n * Math.Sqrt(calc_q / 3600) / Math.Pow(this.H, 0.75),2);
        }
 
    }
}