|
|
@@ -1,4 +1,5 @@ |
|
|
|
using BeDesignerSCADA.Common; |
|
|
|
using BeDesignerSCADA.View; |
|
|
|
using BeDesignerSCADA.ViewModel; |
|
|
|
using BeDesignerSCADA.ViewModel; |
|
|
|
using BPASmart.Model; |
|
|
@@ -157,6 +158,18 @@ namespace BeDesignerSCADA.Controls |
|
|
|
} |
|
|
|
} |
|
|
|
/// <summary> |
|
|
|
/// 模拟运行 |
|
|
|
/// </summary> |
|
|
|
/// <param name="sender"></param> |
|
|
|
/// <param name="e"></param> |
|
|
|
private void MNRunBtn_Click(object sender, RoutedEventArgs e) |
|
|
|
{ |
|
|
|
cav.ClearSelection(); |
|
|
|
RunWindows runWindows=new RunWindows(); |
|
|
|
runWindows.LoadingData(cav.Generator()); |
|
|
|
runWindows.Show(); |
|
|
|
} |
|
|
|
/// <summary> |
|
|
|
/// 加载 |
|
|
|
/// </summary> |
|
|
|
/// <param name="sender"></param> |
|
|
@@ -574,6 +587,8 @@ namespace BeDesignerSCADA.Controls |
|
|
|
// communication?.CommunicationDevices?.ToList().ForEach(x => { viewModel.DevNameList.Add(x.DeviceName); }); |
|
|
|
//} |
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|