2025-07-18 22:21:16 +08:00
|
|
|
|
using DMS.Core.Enums;
|
2025-07-18 19:56:00 +08:00
|
|
|
|
using iNKORE.UI.WPF.Modern.Controls;
|
2025-06-12 13:15:55 +08:00
|
|
|
|
|
2025-07-18 19:56:00 +08:00
|
|
|
|
namespace DMS.Services;
|
2025-06-12 13:15:55 +08:00
|
|
|
|
|
2025-06-26 19:36:27 +08:00
|
|
|
|
public interface IDialogService
|
2025-06-12 13:15:55 +08:00
|
|
|
|
{
|
2025-07-26 10:05:43 +08:00
|
|
|
|
// 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);
|
2025-06-12 13:15:55 +08:00
|
|
|
|
}
|