25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using BPA.Helper;
-
- using System.Collections.ObjectModel;
-
- namespace BPASmartClient.DosingSystem
- {
- public class ViewModelBase : NotifyBase
- {
- public int Index { get; set; } = -1;
- public BPARelayCommand AddCommand { get; set; }//添加
- public BPARelayCommand CancelCommand { get; set; }//取消
- public BPARelayCommand SaveCommand { get; set; }//保存
- public BPARelayCommand<object> RemoveCommand { get; set; }//移除
- public BPARelayCommand<object> DetailsCommand { get; set; }//编辑
-
- /// <summary>
- /// 错误信息
- /// </summary>
- public string ErrorInfo { get { return _mErrorInfo; } set { _mErrorInfo = value; OnPropertyChanged(); } }
- private string _mErrorInfo = string.Empty;
- }
- }
|