init
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using DTS.Common.Interface.TestSetups.Imports.TTS.DIChannels;
|
||||
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace TTSImport
|
||||
{
|
||||
/// <inheritdoc cref="IDigitalInputChannelsView" />
|
||||
/// <summary>
|
||||
/// Interaction logic for HardwareScanView.xaml
|
||||
/// </summary>
|
||||
public partial class DigitalInputChannelsView : IDigitalInputChannelsView
|
||||
{
|
||||
public DigitalInputChannelsView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using DTS.Common.Interface.TestSetups.Imports.TTS;
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace TTSImport
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for EditFileView.xaml
|
||||
/// </summary>
|
||||
public partial class EditFileView : IEditFileView
|
||||
{
|
||||
public EditFileView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
/// <summary>
|
||||
/// handles when textbox text is changed
|
||||
/// this signals that we need to filter the available sensors
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void TextBox_TextChanged(object sender, TextChangedEventArgs e)
|
||||
{
|
||||
var tb = (TextBox)sender;
|
||||
var text = tb.Text;
|
||||
var vm = (IEditFileViewModel)tb.DataContext;
|
||||
vm.Search(text);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user