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.

85 lines
2.1 KiB

using SunlightCentralizedControlManagement_SCCM_.ViewModel;
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.Navigation;
using System.Windows.Shapes;
namespace SunlightCentralizedControlManagement_SCCM_.View
{
/// <summary>
/// MonitorView.xaml 的交互逻辑
/// </summary>
public partial class MonitorView : UserControl
{
public MonitorView()
{
InitializeComponent();
Griddata.ItemsSource = MainWindowViewModel.Machines.DefaultView;
}
private void Griddata_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
}
private void Gridstep_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
Delete.IsEnabled = true;
Insert.IsEnabled = true;
edit.IsEnabled = true;
Paused.IsEnabled = true;
Resume.IsEnabled = true;
}
private void ListViewItem_DyeingMachine(object sender, MouseButtonEventArgs e)
{
}
private void ListViewItem_Conveyor(object sender, MouseButtonEventArgs e)
{
}
private void ListViewItem_Receipt(object sender, MouseButtonEventArgs e)
{
}
private void ListViewItem_Resume(object sender, MouseButtonEventArgs e)
{
}
private void ListViewItem_Paused(object sender, MouseButtonEventArgs e)
{
}
private void ListViewItem_Stop(object sender, MouseButtonEventArgs e)
{
}
private void ListViewItem_edit(object sender, MouseButtonEventArgs e)
{
}
private void ListViewItem_Insert(object sender, MouseButtonEventArgs e)
{
}
private void ListViewItem_Delete(object sender, MouseButtonEventArgs e)
{
}
}
}