using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XImagingXhandler.XDAL
{
///
/// 数据检查结果类
///
public class DataCheckResult: INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
private int _result;
///
/// 结果:0:完整无误;1:不完整或有误;
///
public int result
{
get { return _result; }
set
{
_result = value;
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs(nameof(result)));
}
}
}
private string _missdata;
///
/// 结果:丢失的孔位号,逗号分割,
///
public string missData
{
get { return _missdata; }
set
{
_missdata = value;
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs(nameof(missData)));
}
}
}
private List _errorlist;
///
/// 错误结果集合:
///
public List errorlist
{
get { return _errorlist; }
set
{
_errorlist = value;
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs(nameof(errorlist)));
}
}
}
}
}