39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
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));
|
|
}
|
|
}
|
|
}
|
|
}
|