using iNKORE.UI.WPF.Modern.Controls; using PMSWPF.Enums; using PMSWPF.Models; namespace PMSWPF.Services; public interface IDialogService { Task ShowAddDeviceDialog(); Task ShowEditDeviceDialog(Device device); Task ShowAddMqttDialog(); Task ShowEditMqttDialog(Mqtt mqtt); Task ShowConfrimeDialog(string title, string message,string buttonText="确认"); Task ShowAddVarTableDialog(); Task ShowEditVarTableDialog(VariableTable variableTable); Task ShowAddVarDataDialog(); void ShowMessageDialog(string title, string message); Task ShowEditVarDataDialog(Variable variable); Task ShowImportExcelDialog(); ContentDialog ShowProcessingDialog(string title, string message); Task ShowPollLevelDialog(PollLevelType pollLevelType); Task ShowMqttSelectionDialog(); Task> ShowOpcUaImportDialog(string endpointUrl); Task ShowOpcUaUpdateTypeDialog(); Task ShowIsActiveDialog(bool currentIsActive); Task ShowImportResultDialog(List importedVariables, List existingVariables); Task ShowMqttAliasDialog(string variableName, string mqttServerName); Task> ShowMqttAliasBatchEditDialog(List selectedVariables, Mqtt selectedMqtt); }