首次提交:添加src文件夹代码
This commit is contained in:
35
Cowain.Bake.Main/Views/MoistureValueView.xaml.cs
Normal file
35
Cowain.Bake.Main/Views/MoistureValueView.xaml.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using Cowain.Bake.Main.ViewModels;
|
||||
using Opc.Ua;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
using Unity;
|
||||
|
||||
namespace Cowain.Bake.Main.Views
|
||||
{
|
||||
/// <summary>
|
||||
/// MoistureValue.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class MoistureValueView : Window
|
||||
{
|
||||
ViewModels.MoistureValueViewMode viewModel = null;
|
||||
public MoistureValueView(IUnityContainer unityContainer, CavityDtlViewModel station)
|
||||
{
|
||||
InitializeComponent();
|
||||
viewModel = new ViewModels.MoistureValueViewMode(unityContainer);
|
||||
//viewModel.WaterValueModel = WaterValueModel;
|
||||
viewModel.thatParent = station;
|
||||
this.DataContext = viewModel;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user