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

ViewModelBase.cs 819 B

2 years ago
2 years ago
1 year ago
2 years ago
123456789101112131415161718192021
  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. public BPARelayCommand TextChanged { get; set; }//输入变化
  13. /// <summary>
  14. /// 错误信息
  15. /// </summary>
  16. public string ErrorInfo { get { return _mErrorInfo; } set { _mErrorInfo = value; OnPropertyChanged(); } }
  17. private string _mErrorInfo = string.Empty;
  18. }
  19. }