cloudflight
2024-12-24 97a43bf839f59cdda1641d61706e6e71a0c5e172
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/07-matching/09-Tank/AssetsTankSingleMatchingDlg.cs
@@ -23,7 +23,7 @@
                return;
            }
            _input = input;
            this.assetsTankSingleMatchingCtrl1.SetBindingData(input.DbId);
            this.assetsTankSingleMatchingCtrl1.SetBindingData(input.DbId, input.CurveDbId);
        }
        private void GeneralOkAndCancelCtrl1_OkEvent()
@@ -38,7 +38,15 @@
                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();