automapper框架优化

This commit is contained in:
hsc
2026-06-10 15:04:11 +08:00
parent 5452857299
commit 2e07c0c446
43 changed files with 612 additions and 293 deletions

View File

@@ -8,7 +8,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using UIShare.GlobalVariable;
using static UIShare.UIViewModel.ParameterModel;
using static UIShare.UIViewModel.ParameterVM;
using UIShare.ViewModelBase;
using Prism.Ioc;
using Prism.Navigation.Regions;
@@ -58,14 +58,14 @@ namespace TestingModule.ViewModels.Dialogs
set => SetProperty(ref _Mode, value);
}
private ProgramModel _program;
public ProgramModel Program
private ProgramVM _program;
public ProgramVM Program
{
get => _program;
set => SetProperty(ref _program, value);
}
private ParameterModel _Parameter;
public ParameterModel Parameter
private ParameterVM _Parameter;
public ParameterVM Parameter
{
get => _Parameter;
set => SetProperty(ref _Parameter, value);
@@ -127,7 +127,7 @@ namespace TestingModule.ViewModels.Dialogs
}
else
{
Parameter = new ParameterModel(_ScopedContext.SelectedParameter);
Parameter = new ParameterVM(_ScopedContext.SelectedParameter);
}
}
#endregion