lixiaojun
2024-12-02 dbcef6befb123066754141adef6dc3ef6653b6ce
WinFrmUI/Yw.WinFrmUI.Phart.Core/v1/01-perform/01-pump-chart/01-chart/03-serial-parallel/PumpSingleSerialParallelInfoCtrl.cs
@@ -66,14 +66,13 @@
                    var vm = new PumpSerialParallelInfoViewModel();
                    vm.Id = item.Id;
                    vm.Name = item.Name;
                    vm.Color = item.Color;
                    vm.IsBp = item.IsBp;
                    vm.RatedSpeed = item.RatedSpeed;
                    vm.CurrentSpeed = item.CurrentSpeed;
                    vm.CurrentHz = Math.Round(item.CurrentSpeed / item.RatedSpeed * 50, 2);
                    vm.Qh = new Geometry.CubicSpline2d(item.Qh);
                    vm.Qe = new Geometry.CubicSpline2d(item.Qe);
                    vm.Qp = new Geometry.CubicSpline2d(item.Qp);
                    vm.Color = item.Color;
                    vm.RatedN = item.RatedN;
                    vm.CurrentN = item.CurrentN;
                    vm.CurrentHz = Math.Round(item.CurrentN / item.RatedN * 50, 2);
                    vm.CurveQH = new Geometry.CubicSpline2d(item.CurveQH);
                    vm.CurveQE = new Geometry.CubicSpline2d(item.CurveQE);
                    vm.CurveQP = new Geometry.CubicSpline2d(item.CurveQP);
                    vm.ExtendRatio = 100;
                    vm.Calc();
                    _all_binding_list.Add(vm);
@@ -188,7 +187,7 @@
        /// </summary>
        /// <param name="id"></param>
        /// <param name="query_pt"></param>
        public void SetQueryInfo(string id, PumpGroupPt query_pt)
        public void SetQueryInfo(string id, PumpQueryPointViewModel query_pt)
        {
            if (query_pt == null)
                return;