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.
42 lines
1008 B
42 lines
1008 B
using System.Data; |
|
using System.Windows.Input; |
|
using HandyControl.Controls; |
|
|
|
namespace SparkClient.ViewModel.Grading; |
|
|
|
public class GradingResultVM : BaseViewModel |
|
{ |
|
|
|
private DataTable _dtResults; |
|
|
|
public ICommand ChangeNormCommand { get; } |
|
public DataTable DtResults{ get { return _dtResults; } set { _dtResults = value; OnPropertyChanged("DtResults"); } } |
|
|
|
/// <summary> |
|
/// 构造 |
|
/// </summary> |
|
/// <param name="result">检测结果</param> |
|
public GradingResultVM(object result) |
|
{ |
|
ChangeNormCommand = new RelayCommand(ChangeNorm); |
|
_dtResults = new DataTable(); |
|
|
|
|
|
|
|
} |
|
|
|
/// <summary> |
|
/// 修改检测标准 |
|
/// </summary> |
|
/// <param name="norm"></param> |
|
public void ChangeNorm(object norm) |
|
{ |
|
|
|
} |
|
|
|
#region 钻石操作相关 |
|
//暂略 |
|
//部分代码(直接操作控件)需要在xaml.cs里边写 |
|
//涉及到计算部分,这里做一个中转 |
|
#endregion |
|
} |