文件名从 WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/02-pump/01-pumpsinglematching/XhsProjectSimulationPumpSingleMatchingForm.cs 修改 |
| | |
| | | 锘縰sing HStation.WinFrmUI.PhartRelation; |
| | | using System.Windows.Input; |
| | | using Yw.WinFrmUI.Phart; |
| | | |
| | | namespace HStation.WinFrmUI.Xhs.Core |
| | | namespace HStation.WinFrmUI.Xhs |
| | | { |
| | | public partial class XhsProjectSimulationPumpSingleMatchingForm : DevExpress.XtraEditors.XtraUserControl |
| | | public partial class PumpSingleMatchingForm : DevExpress.XtraEditors.XtraUserControl |
| | | { |
| | | public XhsProjectSimulationPumpSingleMatchingForm() |
| | | public PumpSingleMatchingForm() |
| | | { |
| | | InitializeComponent(); |
| | | this.gridView1.SetNormalView(); |
| | |
| | | public Vmo.XhsPumpMainPhartMappingExtensions Curveinfo { get; set; } |
| | | } |
| | | |
| | | private List<XhsProjectSimulationPumpSingleMatchingViewModel> _allBindingList = null; |
| | | private List<PumpSingleMatchingViewModel> _allBindingList = null; |
| | | |
| | | private BLL.PumpMain _pumpBll = null; |
| | | |
| | |
| | | public async void SetBindingData(PumpMatchingViewModel pumpMatchingViewModel) |
| | | { |
| | | _pumpMatchingViewModel = pumpMatchingViewModel; |
| | | _allBindingList = new List<XhsProjectSimulationPumpSingleMatchingViewModel>(); |
| | | _allBindingList = new List<PumpSingleMatchingViewModel>(); |
| | | _pumpBll = new BLL.PumpMain(); |
| | | var allPumpMain = await _pumpBll.GetAll(); |
| | | foreach (var Main in allPumpMain) |
| | | { |
| | | _allBindingList.Add(new XhsProjectSimulationPumpSingleMatchingViewModel(Main)); |
| | | _allBindingList.Add(new PumpSingleMatchingViewModel(Main)); |
| | | } |
| | | for (int i = 0; i < _allBindingList.Count; i++) |
| | | { |