You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
817 B
35 lines
817 B
using System.Collections.Generic;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
|
|
namespace CoreTest
|
|
{
|
|
/// <summary>
|
|
/// Batching_SBT.xaml 的交互逻辑
|
|
/// </summary>
|
|
public partial class MaterialRecivingLine : UserControl
|
|
{
|
|
List<TagNodeHandle> _valueChangedList;
|
|
|
|
public MaterialRecivingLine()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void HMI_Loaded(object sender, RoutedEventArgs e)
|
|
{
|
|
lock (this)
|
|
{
|
|
_valueChangedList = cvs1.BindingToServer(App.Server);
|
|
}
|
|
}
|
|
|
|
private void HMI_Unloaded(object sender, RoutedEventArgs e)
|
|
{
|
|
lock (this)
|
|
{
|
|
App.Server.RemoveHandles(_valueChangedList);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|