添加配置连接窗口已经相关S7与ModbusTCP连接功能
This commit is contained in:
18
MainModule/Views/ConnectionConfigView.xaml.cs
Normal file
18
MainModule/Views/ConnectionConfigView.xaml.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using MainModule.ViewModels;
|
||||
using System.Windows;
|
||||
|
||||
namespace MainModule.Views
|
||||
{
|
||||
public partial class ConnectionConfigView : Window
|
||||
{
|
||||
public ConnectionConfigView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public ConnectionConfigView(ConnectionConfigViewModel viewModel) : this()
|
||||
{
|
||||
DataContext = viewModel;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user