完成连接OpcUa服务器
This commit is contained in:
@@ -10,16 +10,10 @@ namespace DMS.WPF.Views.Dialogs;
|
||||
/// </summary>
|
||||
public partial class ImportOpcUaDialog : ContentDialog
|
||||
{
|
||||
public ImportOpcUaDialogViewModel ViewModel
|
||||
{
|
||||
get => (ImportOpcUaDialogViewModel)DataContext;
|
||||
set => DataContext = value;
|
||||
}
|
||||
|
||||
public ImportOpcUaDialog(ImportOpcUaDialogViewModel viewModel)
|
||||
public ImportOpcUaDialog()
|
||||
{
|
||||
InitializeComponent();
|
||||
ViewModel = viewModel;
|
||||
}
|
||||
|
||||
private void ContentDialog_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args)
|
||||
|
||||
Reference in New Issue
Block a user