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

24 rivejä
796 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Microsoft.Toolkit.Mvvm.ComponentModel;
  7. using Microsoft.Toolkit.Mvvm.Input;
  8. namespace BPASmartClient.SmallBatchingSystem
  9. {
  10. public class BaseModel : ObservableObject
  11. {
  12. public int Index { get; set; } = -1;
  13. public RelayCommand AddCommand { get; set; }
  14. public RelayCommand CancelCommand { get; set; }
  15. public RelayCommand SaveCommand { get; set; }
  16. public RelayCommand<object> RemoveCommand { get; set; }
  17. public RelayCommand<object> DetailsCommand { get; set; }
  18. public string ErrorInfo { get { return _mErrorInfo; } set { _mErrorInfo = value; OnPropertyChanged(); } }
  19. private string _mErrorInfo;
  20. }
  21. }