| | |
| | | this.pumpSerialParallelInfoCtrl1.SetDesignPointEvent += (q, h) => |
| | | { |
| | | _design_pt = new Point2d(q, h); |
| | | this.pumpSerialParallelChart.SetDesignPt(new Point2d(q, h)); |
| | | this.pumpSerialParallelChart.SetEquipPt(new Point2d(q, h)); |
| | | }; |
| | | |
| | | this.pumpSerialParallelChart.OnCalcQueryPoint += (id, pt) => |
| | |
| | | }; |
| | | } |
| | | |
| | | private string _serial_parallel_id= "serial_parallel"; |
| | | private string _serial_parallel_id = "serial_parallel"; |
| | | private Yw.Geometry.Point2d _design_pt; |
| | | private bool _is_parallel; |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 设置 |
| | |
| | | vm_sp.QpCalc = vm_sp.Qp; |
| | | vm_sp.Color = Color.Black; |
| | | vm_sp.IsBp = true; |
| | | vm_sp.IsSerialParallel = true; |
| | | vm_sp.IsDefault = true; |
| | | return vm_sp; |
| | | } |
| | | |