解决TreeView的TreeView_SelectedItemChanged事件被多次调用的问题

This commit is contained in:
2025-09-02 13:09:00 +08:00
parent 254ab63837
commit 9b7c91eae9
6 changed files with 208 additions and 251 deletions

View File

@@ -1,6 +1,7 @@
using AutoMapper;
using DMS.Application.DTOs;
using DMS.Core.Models;
using DMS.Infrastructure.Models;
using DMS.WPF.ViewModels.Items;
namespace DMS.WPF.Profiles
@@ -13,6 +14,8 @@ namespace DMS.WPF.Profiles
.ReverseMap();
CreateMap<Variable, VariableItemViewModel>()
.ReverseMap();
CreateMap<OpcUaNode, OpcUaNodeItemViewModel>()
.ReverseMap();
CreateMap<VariableItemViewModel, VariableItemViewModel>();