| | |
| | | </PropertyGroup> |
| | | |
| | | <ItemGroup> |
| | | <PackageReference Include="Yw.Service.Hydro.Core" Version="3.6.5" /> |
| | | <PackageReference Include="Yw.Service.Hydro.Core" Version="3.6.6" /> |
| | | </ItemGroup> |
| | | |
| | | <ItemGroup> |
| | |
| | | var input = AssetsMatchingParasHelper.Create(hydroInfo, pumpInfo, _allHydroCalcuResultListFunc?.Invoke()); |
| | | var dlg = new SinglePumpAnalyDlg(); |
| | | dlg.SetBindindData(input); |
| | | //dlg.ReloadDataEvent += (output) => |
| | | //{ |
| | | // bol = AssetsMatchingParasHelper.Apply(hydroInfo, output); |
| | | // if (bol) |
| | | // { |
| | | // propertyViewModel.UpdateProperty(pumpInfo, hydroInfo.GetAllParters()); |
| | | // } |
| | | //}; |
| | | dlg.ReloadDataEvent += (output) => |
| | | { |
| | | var bol = AssetsMatchingParasHelper.Apply(hydroInfo, output); |
| | | if (bol) |
| | | { |
| | | propViewModel.UpdateProperty(pumpInfo, hydroInfo.GetAllParters()); |
| | | } |
| | | return bol; |
| | | }; |
| | | dlg.ShowDialog(); |
| | | return true; |
| | | } |
| | |
| | | this.UpdatePropStatus(nameof(this.SpeedRatio), hydroPumpInfo, nameof(hydroPumpInfo.SpeedRatio)); |
| | | this.SpeedRatioPattern = hydroPumpInfo.SpeedRatioPattern; |
| | | this.UpdatePropStatus(nameof(this.SpeedRatioPattern), hydroPumpInfo, nameof(hydroPumpInfo.SpeedRatioPattern)); |
| | | this.Curve = string.IsNullOrEmpty(hydroPumpInfo.CurveQH) ? "未配置" : "已配置"; |
| | | this.CurveQH = hydroPumpInfo.CurveQH; |
| | | this.UpdatePropStatus(nameof(this.CurveQH), hydroPumpInfo, nameof(hydroPumpInfo.CurveQH)); |
| | | this.CurveQP = hydroPumpInfo.CurveQP; |
| | |
| | | <ItemGroup> |
| | | <PackageReference Include="DevExpress.Win.Design" Version="23.2.4" /> |
| | | <PackageReference Include="Yw.BLL.Basic.Core" Version="3.2.8" /> |
| | | <PackageReference Include="Yw.BLL.Hydro.Core" Version="3.3.7" /> |
| | | <PackageReference Include="Yw.BLL.Hydro.Core" Version="3.3.9" /> |
| | | </ItemGroup> |
| | | |
| | | <ItemGroup> |