梳理了所有的Db,DTO,ItemViewModel的属性
This commit is contained in:
@@ -1,31 +1,10 @@
|
||||
using DMS.Core.Enums;
|
||||
using iNKORE.UI.WPF.Modern.Controls;
|
||||
using DMS.WPF.ViewModels.Dialogs;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DMS.Services;
|
||||
|
||||
public interface IDialogService
|
||||
namespace DMS.WPF.Services
|
||||
{
|
||||
// Task<Device> ShowAddDeviceDialog();
|
||||
// Task<Device> ShowEditDeviceDialog(Device device);
|
||||
// Task<Mqtt> ShowAddMqttDialog();
|
||||
// Task<Mqtt> ShowEditMqttDialog(Mqtt mqtt);
|
||||
// Task<bool> ShowConfrimeDialog(string title, string message,string buttonText="确认");
|
||||
//
|
||||
// Task<VariableTable> ShowAddVarTableDialog();
|
||||
// Task<VariableTable> ShowEditVarTableDialog(VariableTable variableTable);
|
||||
//
|
||||
// Task<Variable> ShowAddVarDataDialog();
|
||||
//
|
||||
// void ShowMessageDialog(string title, string message);
|
||||
// Task<Variable> ShowEditVarDataDialog(Variable variable);
|
||||
// Task<string> ShowImportExcelDialog();
|
||||
// ContentDialog ShowProcessingDialog(string title, string message);
|
||||
// Task<PollLevelType?> ShowPollLevelDialog(PollLevelType pollLevelType);
|
||||
// Task<Mqtt?> ShowMqttSelectionDialog();
|
||||
// Task<List<Variable>> ShowOpcUaImportDialog(string endpointUrl);
|
||||
// Task<OpcUaUpdateType?> ShowOpcUaUpdateTypeDialog();
|
||||
// Task<bool?> ShowIsActiveDialog(bool currentIsActive);
|
||||
// Task ShowImportResultDialog(List<string> importedVariables, List<string> existingVariables);
|
||||
// Task<string?> ShowMqttAliasDialog(string variableName, string mqttServerName);
|
||||
// Task<List<VariableMqtt>> ShowMqttAliasBatchEditDialog(List<Variable> selectedVariables, Mqtt selectedMqtt);
|
||||
public interface IDialogService
|
||||
{
|
||||
Task<TResult> ShowDialogAsync<TResult>(DialogViewModelBase<TResult> viewModel);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user