22 lines
494 B
C#
22 lines
494 B
C#
using Aucma.Scada.UI.ViewModel;
|
|
using System.Windows.Controls;
|
|
|
|
namespace Aucma.Scada.UI
|
|
{
|
|
/// <summary>
|
|
/// RecordControl.xaml 的交互逻辑
|
|
/// </summary>
|
|
public partial class RecordControl : UserControl
|
|
{
|
|
public RecordControl()
|
|
{
|
|
InitializeComponent();
|
|
RecordViewModel ViewModel = new RecordViewModel();
|
|
ViewModel.Query();
|
|
|
|
//上下文绑定
|
|
this.DataContext = ViewModel;
|
|
}
|
|
}
|
|
}
|