using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BPA.Helper; namespace BPASmartClient.SmallBatchingSystem { public class BaseModel : 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; } }