| | |
| | | return; |
| | | } |
| | | _input = input; |
| | | this.assetsTankSingleMatchingCtrl1.SetBindingData(input.DbId); |
| | | this.assetsTankSingleMatchingCtrl1.SetBindingData(input.DbId, input.CurveDbId); |
| | | } |
| | | |
| | | private void GeneralOkAndCancelCtrl1_OkEvent() |
| | |
| | | return; |
| | | } |
| | | |
| | | _input.MatchingModelType = vm.Name; |
| | | _input.MatchingModelType = vm.Vmo.Name; |
| | | _input.MatchingCurveDbId = vm.MatchingCurveDbId; |
| | | _input.MatchingMaxLevel = vm.Vmo.MaxLevel; |
| | | _input.MatchingMinLevel = vm.Vmo.MinLevel; |
| | | _input.MatchingMinVol = vm.Vmo.MinVol; |
| | | _input.MatchingOverFlow = vm.Vmo.OverFlow; |
| | | _input.MatchingDN = vm.Vmo.DN; |
| | | _input.MatchingDbId = vm.Vmo.ID.ToString(); |
| | | _input.MatchingVolCurve = vm.MatchingCurve; |
| | | this.ReloadDataEvent?.Invoke(_input); |
| | | this.DialogResult = DialogResult.OK; |
| | | this.Close(); |