| | |
| | | }; |
| | | _bll = new BLL.AssetsPumpPartMain(); |
| | | var allpartlist = await _bll.GetByPumpMainID(AssetsPumpMain.ID); //获取所有产品 |
| | | var series = await new BLL.AssetsPumpSeries().GetByID(AssetsPumpMain.PumpSeriesID); //获取系列 |
| | | var series = await new BLL.AssetsPumpSeries().GetByID(AssetsPumpMain.SeriesID); //获取系列 |
| | | _pumpPart = new Vmo.AssetsPumpPartMainVmo(); |
| | | _series = series; |
| | | _pumpPart.SeriesID = _series.ID; |
| | | _catalogID = series.CatalogID; |
| | | _propList = new List<PropGroupChoiceViewModel>(); |
| | | _partMapping = new Vmo.AssetsPumpMainAndPartMapVmo(); |
| | | _partMapping.PumpID = AssetsPumpMain.ID; |
| | | _partMapping.MainID = AssetsPumpMain.ID; |
| | | _partMapping.SeriesID = _series.ID; |
| | | this.propGroupChoiceViewModelBindingSource.DataSource = _propList; |
| | | this.propGroupChoiceViewModelBindingSource.ResetBindings(false); |