| | |
| | | this.Text = "曲线视图"; |
| | | this.WindowState = FormWindowState.Maximized; |
| | | |
| | | this.pumpVariableSpeedInfoCtrl1.SetEvent += (id, qh, qe, qp) => |
| | | this.pumpVariableSpeedInfoCtrl1.SetEvent += (id, hz, ex_ratio, qh, qe, qp) => |
| | | { |
| | | this.pumpVariableSpeedChart.Set(id, qh, qe, qp); |
| | | this.pumpVariableSpeedChart.Set(id,hz,ex_ratio, qh, qe, qp); |
| | | ResetSectPointGrid(); |
| | | }; |
| | | |
| | | this.pumpVariableSpeedInfoCtrl1.SetInfoEvent += (id, name, color) => |
| | | this.pumpVariableSpeedInfoCtrl1.SetInfoEvent += (id, color) => |
| | | { |
| | | this.pumpVariableSpeedChart.SetInfo(id, name, color); |
| | | this.pumpVariableSpeedChart.SetInfo(id, color); |
| | | ResetSectPointGrid(); |
| | | }; |
| | | |
| | |
| | | this.pumpVariableSpeedInfoCtrl1.SetDesignPointEvent += (q, h) => |
| | | { |
| | | _design_pt = new Point2d(q, h); |
| | | this.pumpVariableSpeedChart.SetDesignPt(new Point2d(q, h)); |
| | | this.pumpVariableSpeedChart.SetDesignPt(q,h); |
| | | ResetSectPointGrid(); |
| | | }; |
| | | |