schangxiang@126.com
2025-11-04 f5ed29dc26c7cd952d56ec5721a2efc43cd25992
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace XImagingXhandler.XDAL
{
    /// <summary>
    /// 数据检查结果类
    /// </summary>
    public class DataCheckResult: INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
 
        private int _result;
        /// <summary>
        /// 结果:0:完整无误;1:不完整或有误;
        /// </summary>
        public int result
        {
            get { return _result; }
            set
            {
                _result = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(result)));
                }
            }
        }
 
        private string _missdata;
        /// <summary>
        /// 结果:丢失的孔位号,逗号分割,
        /// </summary>
        public string missData
        {
            get { return _missdata; }
            set
            {
                _missdata = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(missData)));
                }
            }
        }
 
        private List<string> _errorlist;
        /// <summary>
        /// 错误结果集合:
        /// </summary>
        public List<string> errorlist
        {
            get { return _errorlist; }
            set
            {
                _errorlist = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(errorlist)));
                }
            }
        }
    }
}