界面优化
This commit is contained in:
38
DHSoftware/Models/DataModel.cs
Normal file
38
DHSoftware/Models/DataModel.cs
Normal file
@ -0,0 +1,38 @@
|
||||
using AntdUI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DHSoftware.Models
|
||||
{
|
||||
public class DataModel
|
||||
{
|
||||
}
|
||||
public class DefectRow:NotifyProperty
|
||||
{
|
||||
private bool selected = false;
|
||||
public string LabelId { get; set; }
|
||||
public string LabelDescription { get; set; }
|
||||
public bool IsEnable { get; set; }
|
||||
public double ScoreMinValue { get; set; }
|
||||
public double ScoreMaxValue { get; set; }
|
||||
public bool IsScoreEnable { get; set; }
|
||||
public double AreaMinValue { get; set; }
|
||||
public double AreaMaxValue { get; set; }
|
||||
public bool isAreaEnable { get; set; }
|
||||
public int ResultState { get; set; } // 结果状态(枚举值对应整数)
|
||||
|
||||
public bool Selected
|
||||
{
|
||||
get { return selected; }
|
||||
set
|
||||
{
|
||||
if (selected == value) return;
|
||||
selected = value;
|
||||
OnPropertyChanged(nameof(Selected));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user