using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using TProduct.ProcessDrawing.Components;
using TProduct.ProcessDrawing.Models;
namespace TProduct.ProcessDrawing.ViewModels
{
///
/// 对应窗口的业务逻辑
///
public class ShowViewModel : ViewModelBase
{
public ObservableCollection DeviceList { get; set; } = new ObservableCollection();
private DeviceItem4Config currentDevice;
public DeviceItem4Config CurrentDevice
{
get => currentDevice;
set => Set(ref currentDevice, value);
}
private string _saveFailedMessage;
public string SaveFailedMessage
{
get { return _saveFailedMessage; }
set { Set(ref _saveFailedMessage, value); }
}
public RelayCommand