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

28 regels
903 B

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