| | |
| | | public PumpParallelAnalyDlg() |
| | | { |
| | | InitializeComponent(); |
| | | this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon; |
| | | this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon; |
| | | this.pumpSerialParallelChart.LineVisible = true; |
| | | this.pumpParallelInfoCtrl1.SetEvent += (id, qh, qe, qp) => |
| | | { |
| | |
| | | vm_sp.QpCalc = qp; |
| | | |
| | | vm_sp.CalcuH = total_head; |
| | | vm_sp.CalcuQ = total_flow ; |
| | | vm_sp.CalcuQ = total_flow; |
| | | |
| | | |
| | | vm_sp.Color = Color.Black; |
| | | vm_sp.IsBp = true; |
| | | vm_sp.IsDefault = true; |
| | | vm_sp.IsDefault = true; |
| | | return vm_sp; |
| | | |
| | | } |
| | |
| | | total_flow = Math.Round(total_flow, 1); |
| | | total_head = Math.Round(total_head, 1); |
| | | this.pumpParallelInfoCtrl1.SetDesignPoint(total_flow, total_head); |
| | | this.pumpSerialParallelChart.CalcWorkPointByQ(total_flow); |
| | | this.pumpSerialParallelChart.CalcWorkPointByQ(total_flow); |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | |