duheng
2024-09-19 d88ae862d5eda101f20385f3e34a2d7e6f9d3471
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/AssetsAutoMatchingMainDlg.cs
@@ -2,10 +2,13 @@
{
    public partial class AssetsAutoMatchingMainDlg : DevExpress.XtraEditors.XtraForm
    {
        public AssetsAutoMatchingMainDlg()
        public AssetsAutoMatchingMainDlg(AssetsAutoMatchingInputViewModel assetsAutoMatchingInputViewModel)
        {
            _assetsAutoMatching = assetsAutoMatchingInputViewModel;
            InitializeComponent();
        }
        private AssetsAutoMatchingInputViewModel _assetsAutoMatching = null;
        public void SetBindingData()
        {
@@ -15,5 +18,13 @@
        private void btnComplete_Click(object sender, EventArgs e)
        {
        }
        //自动匹配
        private void BtnAutoMatching_Click(object sender, EventArgs e)
        {
            WaitFormHelper.ShowWaitForm(this);
            this.AssetsMainChoicePage.SetMatching(_assetsAutoMatching);
            WaitFormHelper.HideWaitForm(this);
        }
    }
}