修改接口路径
This commit is contained in:
@@ -9,6 +9,7 @@ using DMS.Core.Interfaces.Repositories;
|
|||||||
using DMS.Infrastructure.Configurations;
|
using DMS.Infrastructure.Configurations;
|
||||||
using DMS.Infrastructure.Data;
|
using DMS.Infrastructure.Data;
|
||||||
using DMS.Infrastructure.Repositories;
|
using DMS.Infrastructure.Repositories;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
using DMS.WPF.Services;
|
using DMS.WPF.Services;
|
||||||
using DMS.WPF.ViewModels;
|
using DMS.WPF.ViewModels;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|||||||
@@ -24,10 +24,11 @@ using DMS.WPF.Services;
|
|||||||
using DMS.WPF.Services.Processors;
|
using DMS.WPF.Services.Processors;
|
||||||
using DMS.WPF.ViewModels.Dialogs;
|
using DMS.WPF.ViewModels.Dialogs;
|
||||||
using DataProcessingService = DMS.Services.DataProcessingService;
|
using DataProcessingService = DMS.Services.DataProcessingService;
|
||||||
using IDataProcessingService = DMS.Services.IDataProcessingService;
|
using IDataProcessingService = DMS.WPF.Interfaces.IDataProcessingService;
|
||||||
using LogLevel = Microsoft.Extensions.Logging.LogLevel;
|
using LogLevel = Microsoft.Extensions.Logging.LogLevel;
|
||||||
using DMS.Core.Interfaces.Services;
|
using DMS.Core.Interfaces.Services;
|
||||||
using DMS.Infrastructure.Interfaces.Services;
|
using DMS.Infrastructure.Interfaces.Services;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
|
|
||||||
namespace DMS;
|
namespace DMS;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using System.Threading.Tasks;
|
|
||||||
using DMS.Core.Models;
|
using DMS.Core.Models;
|
||||||
|
using DMS.Services;
|
||||||
|
|
||||||
namespace DMS.Services;
|
namespace DMS.WPF.Interfaces;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 定义了数据处理服务的接口。
|
/// 定义了数据处理服务的接口。
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
using DMS.WPF.ViewModels.Dialogs;
|
using DMS.WPF.ViewModels.Dialogs;
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace DMS.WPF.Services
|
namespace DMS.WPF.Interfaces
|
||||||
{
|
{
|
||||||
public interface IDialogService
|
public interface IDialogService
|
||||||
{
|
{
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
using DMS.WPF.ViewModels.Items;
|
using DMS.WPF.ViewModels.Items;
|
||||||
|
|
||||||
namespace DMS.WPF.Services;
|
namespace DMS.WPF.Interfaces;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 定义了一个契约,表示ViewModel可以安全地接收导航传入的参数。
|
/// 定义了一个契约,表示ViewModel可以安全地接收导航传入的参数。
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
// 文件: DMS.WPF/Services/INavigationService.cs
|
// 文件: DMS.WPF/Services/INavigationService.cs
|
||||||
using System.Threading.Tasks;
|
|
||||||
using DMS.WPF.ViewModels.Items;
|
using DMS.WPF.ViewModels.Items;
|
||||||
|
|
||||||
namespace DMS.WPF.Services;
|
namespace DMS.WPF.Interfaces;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 定义了应用程序的导航服务接口。
|
/// 定义了应用程序的导航服务接口。
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
using DMS.Core.Enums;
|
namespace DMS.WPF.Interfaces;
|
||||||
|
|
||||||
namespace DMS.Services;
|
|
||||||
|
|
||||||
public interface INotificationService
|
public interface INotificationService
|
||||||
{
|
{
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
using DMS.Core.Models;
|
using DMS.Core.Models;
|
||||||
|
|
||||||
namespace DMS.Services;
|
namespace DMS.WPF.Interfaces;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 定义了变量数据处理器的通用接口。
|
/// 定义了变量数据处理器的通用接口。
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
using System.Threading.Channels;
|
using System.Threading.Channels;
|
||||||
using DMS.Core.Helper;
|
using DMS.Core.Helper;
|
||||||
using DMS.Core.Models;
|
using DMS.Core.Models;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
|
|
||||||
namespace DMS.Services;
|
namespace DMS.Services;
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
using DMS.WPF.Views;
|
using DMS.WPF.Views;
|
||||||
using iNKORE.UI.WPF.Modern.Controls;
|
using iNKORE.UI.WPF.Modern.Controls;
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
|
|
||||||
namespace DMS.WPF.Services;
|
namespace DMS.WPF.Services;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
using DMS.Core.Helper;
|
using DMS.Core.Helper;
|
||||||
using DMS.Core.Models;
|
using DMS.Core.Models;
|
||||||
using DMS.Helper;
|
using DMS.Helper;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
using DMS.WPF.Services;
|
using DMS.WPF.Services;
|
||||||
|
|
||||||
namespace DMS.Services.Processors;
|
namespace DMS.Services.Processors;
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
using DMS.Core.Helper;
|
using DMS.Core.Helper;
|
||||||
using DMS.Core.Models;
|
using DMS.Core.Models;
|
||||||
using DMS.Services;
|
using DMS.Services;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace DMS.WPF.Services.Processors;
|
namespace DMS.WPF.Services.Processors;
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ using System.Threading.Tasks;
|
|||||||
using DMS.Core.Models;
|
using DMS.Core.Models;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using DMS.Helper;
|
using DMS.Helper;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
|
|
||||||
namespace DMS.Services.Processors;
|
namespace DMS.Services.Processors;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using DMS.Core.Models;
|
using DMS.Core.Models;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
|
|
||||||
namespace DMS.Services.Processors
|
namespace DMS.Services.Processors
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ using System.Threading.Tasks;
|
|||||||
using DMS.Core.Helper;
|
using DMS.Core.Helper;
|
||||||
using DMS.Core.Models;
|
using DMS.Core.Models;
|
||||||
using DMS.Helper;
|
using DMS.Helper;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
using DMS.WPF.Services;
|
using DMS.WPF.Services;
|
||||||
|
|
||||||
namespace DMS.Services.Processors
|
namespace DMS.Services.Processors
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ using DMS.Core.Enums;
|
|||||||
using DMS.Helper;
|
using DMS.Helper;
|
||||||
using DMS.WPF.Services;
|
using DMS.WPF.Services;
|
||||||
using DMS.Services;
|
using DMS.Services;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
using DMS.WPF.ViewModels.Dialogs;
|
using DMS.WPF.ViewModels.Dialogs;
|
||||||
using DMS.WPF.ViewModels.Items;
|
using DMS.WPF.ViewModels.Items;
|
||||||
using iNKORE.UI.WPF.Modern.Common.IconKeys;
|
using iNKORE.UI.WPF.Modern.Common.IconKeys;
|
||||||
@@ -57,7 +58,8 @@ public partial class DeviceDetailViewModel : ViewModelBase, INavigatable
|
|||||||
var tableMenu = new MenuBeanDto()
|
var tableMenu = new MenuBeanDto()
|
||||||
{
|
{
|
||||||
Header = variableTableItemViewModel.Name,
|
Header = variableTableItemViewModel.Name,
|
||||||
Icon = SegoeFluentIcons.DataSense.Glyph
|
Icon = SegoeFluentIcons.DataSense.Glyph,
|
||||||
|
TargetViewKey = "VariableTableView"
|
||||||
};
|
};
|
||||||
|
|
||||||
if (await DataServices.AddVariableTable(_mapper.Map<VariableTableDto>(variableTableItemViewModel),
|
if (await DataServices.AddVariableTable(_mapper.Map<VariableTableDto>(variableTableItemViewModel),
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ using DMS.Core.Models;
|
|||||||
using DMS.Helper;
|
using DMS.Helper;
|
||||||
using DMS.Services;
|
using DMS.Services;
|
||||||
using DMS.WPF.Helper;
|
using DMS.WPF.Helper;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using DMS.WPF.Services;
|
using DMS.WPF.Services;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ using DMS.Helper;
|
|||||||
using DMS.Services;
|
using DMS.Services;
|
||||||
using DMS.ViewModels;
|
using DMS.ViewModels;
|
||||||
using DMS.WPF.Helper;
|
using DMS.WPF.Helper;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
using DMS.WPF.ViewModels.Items;
|
using DMS.WPF.ViewModels.Items;
|
||||||
using iNKORE.UI.WPF.Modern.Common.IconKeys;
|
using iNKORE.UI.WPF.Modern.Common.IconKeys;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ using System.Collections.ObjectModel;
|
|||||||
using DMS.Core.Models;
|
using DMS.Core.Models;
|
||||||
using DMS.Helper;
|
using DMS.Helper;
|
||||||
using DMS.Services;
|
using DMS.Services;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
using DMS.WPF.Services;
|
using DMS.WPF.Services;
|
||||||
using DMS.WPF.ViewModels;
|
using DMS.WPF.ViewModels;
|
||||||
using DMS.WPF.ViewModels.Items;
|
using DMS.WPF.ViewModels.Items;
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ using DMS.Core.Enums;
|
|||||||
using DMS.Helper;
|
using DMS.Helper;
|
||||||
using DMS.Services;
|
using DMS.Services;
|
||||||
using DMS.WPF.Helper;
|
using DMS.WPF.Helper;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
using DMS.WPF.Services;
|
using DMS.WPF.Services;
|
||||||
using DMS.WPF.ViewModels.Items;
|
using DMS.WPF.ViewModels.Items;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ using ObservableCollections;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using DMS.WPF.Interfaces;
|
||||||
|
|
||||||
namespace DMS.WPF.ViewModels;
|
namespace DMS.WPF.ViewModels;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user