using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BPA.Helper; using System.Collections.ObjectModel; namespace BPASmartClient.DosingSystemSingle { public class ViewModelBase : NotifyBase { public int Index { get; set; } = -1; public BPARelayCommand AddCommand { get; set; }//添加 public BPARelayCommand CancelCommand { get; set; }//取消 public BPARelayCommand SaveCommand { get; set; }//保存 public BPARelayCommand RemoveCommand { get; set; }//移除 public BPARelayCommand DetailsCommand { get; set; }//编辑 /// /// 错误信息 /// public string ErrorInfo { get { return _mErrorInfo; } set { _mErrorInfo = value; OnPropertyChanged(); } } private string _mErrorInfo = string.Empty; } }