修改接口路径

This commit is contained in:
2025-09-03 18:22:01 +08:00
parent c96390384d
commit 8122ffc6b7
22 changed files with 27 additions and 13 deletions

View File

@@ -24,10 +24,11 @@ using DMS.WPF.Services;
using DMS.WPF.Services.Processors;
using DMS.WPF.ViewModels.Dialogs;
using DataProcessingService = DMS.Services.DataProcessingService;
using IDataProcessingService = DMS.Services.IDataProcessingService;
using IDataProcessingService = DMS.WPF.Interfaces.IDataProcessingService;
using LogLevel = Microsoft.Extensions.Logging.LogLevel;
using DMS.Core.Interfaces.Services;
using DMS.Infrastructure.Interfaces.Services;
using DMS.WPF.Interfaces;
namespace DMS;

View File

@@ -1,7 +1,7 @@
using System.Threading.Tasks;
using DMS.Core.Models;
using DMS.Services;
namespace DMS.Services;
namespace DMS.WPF.Interfaces;
/// <summary>
/// 定义了数据处理服务的接口。

View File

@@ -1,7 +1,6 @@
using DMS.WPF.ViewModels.Dialogs;
using System.Threading.Tasks;
namespace DMS.WPF.Services
namespace DMS.WPF.Interfaces
{
public interface IDialogService
{

View File

@@ -2,7 +2,7 @@
using DMS.WPF.ViewModels.Items;
namespace DMS.WPF.Services;
namespace DMS.WPF.Interfaces;
/// <summary>
/// 定义了一个契约表示ViewModel可以安全地接收导航传入的参数。

View File

@@ -1,8 +1,8 @@
// 文件: DMS.WPF/Services/INavigationService.cs
using System.Threading.Tasks;
using DMS.WPF.ViewModels.Items;
namespace DMS.WPF.Services;
namespace DMS.WPF.Interfaces;
/// <summary>
/// 定义了应用程序的导航服务接口。

View File

@@ -1,6 +1,4 @@
using DMS.Core.Enums;
namespace DMS.Services;
namespace DMS.WPF.Interfaces;
public interface INotificationService
{

View File

@@ -1,6 +1,6 @@
using DMS.Core.Models;
namespace DMS.Services;
namespace DMS.WPF.Interfaces;
/// <summary>
/// 定义了变量数据处理器的通用接口。

View File

@@ -1,6 +1,7 @@
using System.Threading.Channels;
using DMS.Core.Helper;
using DMS.Core.Models;
using DMS.WPF.Interfaces;
using Microsoft.Extensions.Hosting;
namespace DMS.Services;

View File

@@ -4,6 +4,7 @@ using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using DMS.WPF.Interfaces;
using DMS.WPF.Views;
using iNKORE.UI.WPF.Modern.Controls;

View File

@@ -10,6 +10,7 @@ using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using DMS.WPF.Interfaces;
namespace DMS.WPF.Services;

View File

@@ -1,6 +1,7 @@
using DMS.Core.Helper;
using DMS.Core.Models;
using DMS.Helper;
using DMS.WPF.Interfaces;
using DMS.WPF.Services;
namespace DMS.Services.Processors;

View File

@@ -1,6 +1,7 @@
using DMS.Core.Helper;
using DMS.Core.Models;
using DMS.Services;
using DMS.WPF.Interfaces;
using Microsoft.Extensions.Logging;
namespace DMS.WPF.Services.Processors;

View File

@@ -2,6 +2,7 @@ using System.Threading.Tasks;
using DMS.Core.Models;
using Microsoft.Extensions.Logging;
using DMS.Helper;
using DMS.WPF.Interfaces;
namespace DMS.Services.Processors;

View File

@@ -1,5 +1,6 @@
using System.Threading.Tasks;
using DMS.Core.Models;
using DMS.WPF.Interfaces;
namespace DMS.Services.Processors
{

View File

@@ -2,6 +2,7 @@ using System.Threading.Tasks;
using DMS.Core.Helper;
using DMS.Core.Models;
using DMS.Helper;
using DMS.WPF.Interfaces;
using DMS.WPF.Services;
namespace DMS.Services.Processors

View File

@@ -8,6 +8,7 @@ using DMS.Core.Enums;
using DMS.Helper;
using DMS.WPF.Services;
using DMS.Services;
using DMS.WPF.Interfaces;
using DMS.WPF.ViewModels.Dialogs;
using DMS.WPF.ViewModels.Items;
using iNKORE.UI.WPF.Modern.Common.IconKeys;
@@ -57,7 +58,8 @@ public partial class DeviceDetailViewModel : ViewModelBase, INavigatable
var tableMenu = new MenuBeanDto()
{
Header = variableTableItemViewModel.Name,
Icon = SegoeFluentIcons.DataSense.Glyph
Icon = SegoeFluentIcons.DataSense.Glyph,
TargetViewKey = "VariableTableView"
};
if (await DataServices.AddVariableTable(_mapper.Map<VariableTableDto>(variableTableItemViewModel),

View File

@@ -10,6 +10,7 @@ using DMS.Core.Models;
using DMS.Helper;
using DMS.Services;
using DMS.WPF.Helper;
using DMS.WPF.Interfaces;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using DMS.WPF.Services;

View File

@@ -11,6 +11,7 @@ using DMS.Helper;
using DMS.Services;
using DMS.ViewModels;
using DMS.WPF.Helper;
using DMS.WPF.Interfaces;
using DMS.WPF.ViewModels.Items;
using iNKORE.UI.WPF.Modern.Common.IconKeys;
using Microsoft.Extensions.DependencyInjection;

View File

@@ -5,6 +5,7 @@ using System.Collections.ObjectModel;
using DMS.Core.Models;
using DMS.Helper;
using DMS.Services;
using DMS.WPF.Interfaces;
using DMS.WPF.Services;
using DMS.WPF.ViewModels;
using DMS.WPF.ViewModels.Items;

View File

@@ -5,6 +5,7 @@ using DMS.Core.Enums;
using DMS.Helper;
using DMS.Services;
using DMS.WPF.Helper;
using DMS.WPF.Interfaces;
using DMS.WPF.Services;
using DMS.WPF.ViewModels.Items;
using Microsoft.Extensions.Logging;

View File

@@ -14,6 +14,7 @@ using ObservableCollections;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using DMS.WPF.Interfaces;
namespace DMS.WPF.ViewModels;