终端一体化运控平台
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.
 
 
 

21 lines
748 B

  1. using BPA.Helper;
  2. namespace BPASmartClient.DosingSystem
  3. {
  4. public class ViewModelBase : NotifyBase
  5. {
  6. public int Index { get; set; } = -1;
  7. public BPARelayCommand AddCommand { get; set; }//添加
  8. public BPARelayCommand CancelCommand { get; set; }//取消
  9. public BPARelayCommand SaveCommand { get; set; }//保存
  10. public BPARelayCommand<object> RemoveCommand { get; set; }//移除
  11. public BPARelayCommand<object> DetailsCommand { get; set; }//编辑
  12. /// <summary>
  13. /// 错误信息
  14. /// </summary>
  15. public string ErrorInfo { get { return _mErrorInfo; } set { _mErrorInfo = value; OnPropertyChanged(); } }
  16. private string _mErrorInfo = string.Empty;
  17. }
  18. }