| | |
| | | namespace HStation.WinFrmUI |
| | | using Yw.Dto; |
| | | |
| | | namespace HStation.WinFrmUI |
| | | { |
| | | public partial class AssetsValveSingleMatchingDlg : DevExpress.XtraEditors.XtraForm |
| | | { |
| | |
| | | _input.MatchingDiameter = vm.Vmo.Caliber; |
| | | _input.MatchingMinorLoss = vm.Vmo.MinorLoss; |
| | | _input.MatchingCurveOL = vm.MatchingCurveOL; |
| | | _input.MatchingCurveQL = vm.MatchingCurveQL; |
| | | _input.MatchingCurvesQL = vm.MatchingCurvesQL; |
| | | _input.MatchingCurveDbId = vm.MatchingCurveDbId; |
| | | _input.MatchingValveType = (Yw.WinFrmUI.eValveType)(int)vm.Vmo.ValveType; |
| | | this.ReloadDataEvent?.Invoke(_input); |
| | | this.DialogResult = DialogResult.OK; |
| | | this.Close(); |