천호석
2022-06-17 4de9ea98e13449174aa2cd09c8351fc0e978f44a
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace SHARP_CLAS_UI
{
    public class Vision_Info_Recipe
    {
        #region Property
        public string Name { get; set; }
        public DateTime Create_Time { get; set; }
 
        public double Pre_Align_Offset_Left_X { get; set; }
        public double Pre_Align_Offset_Left_Y { get; set; }
        public double Pre_Align_Offset_Left_T { get; set; }
        public double Pre_Align_Offset_Right_X { get; set; }
        public double Pre_Align_Offset_Right_Y { get; set; }
        public double Pre_Align_Offset_Right_T { get; set; }
 
        public double Film_Judge_Left_X { get; set; }
        public double Film_Judge_Left_Y { get; set; }
        public double Film_Judge_Right_X { get; set; }
        public double Film_Judge_Right_Y { get; set; }
 
        public double Pre_Align_Left_X { get; set; }
        public double Pre_Align_Left_Y { get; set; }
        public double Pre_Align_Right_X { get; set; }
        public double Pre_Align_Right_Y { get; set; }
 
        public double Pre_Align_Pick_Offset_Left_X { get; set; }
        public double Pre_Align_Pick_Offset_Left_Y { get; set; }
        public double Pre_Align_Pick_Offset_Left_T { get; set; }
        public double Pre_Align_Pick_Offset_Right_X { get; set; }
        public double Pre_Align_Pick_Offset_Right_Y { get; set; }
        public double Pre_Align_Pick_Offset_Right_T { get; set; }
 
        public double Fine_Align_1_Left_X { get; set; }
        public double Fine_Align_1_Left_Y { get; set; }
        public double Fine_Align_1_Right_X { get; set; }
        public double Fine_Align_1_Right_Y { get; set; }
 
        public double Fine_Align_2_Left_X { get; set; }
        public double Fine_Align_2_Left_Y { get; set; }
        public double Fine_Align_2_Right_X { get; set; }
        public double Fine_Align_2_Right_Y { get; set; }
 
        public double AOI_Mark1_X { get; set; }
        public double AOI_Mark1_Y { get; set; }
        public double AOI_Mark2_X { get; set; }
        public double AOI_Mark2_Y { get; set; }
        public double AOI_Mark3_X { get; set; }
        public double AOI_Mark3_Y { get; set; }
        public double AOI_Mark4_X { get; set; }
        public double AOI_Mark4_Y { get; set; }
        public bool AoiMark34Use { get; set; }
 
        public double AOI_Before_Left_T { get; set; }
        public double AOI_Before_Right_T { get; set; }
 
        public double AOI_After_Left_T { get; set; }
        public double AOI_After_Right_T { get; set; }
 
        public double Fine_Align_Mark_Distance { get; set; }
 
        public double Ablation_MCR_1_X { get; set; }
        public double Ablation_MCR_1_Y { get; set; }
        public double Ablation_MCR_2_X { get; set; }
        public double Ablation_MCR_2_Y { get; set; }
        #endregion
 
        #region Construct
        public Vision_Info_Recipe()
        {
            Name = string.Empty;
            Create_Time = DateTime.Now;
            Pre_Align_Offset_Left_X = 0;
            Pre_Align_Offset_Left_Y = 0;
            Pre_Align_Offset_Left_T = 0;
            Pre_Align_Offset_Right_X = 0;
            Pre_Align_Offset_Right_Y = 0;
            Pre_Align_Offset_Right_T = 0;
            Film_Judge_Left_X = 0;
            Film_Judge_Left_Y = 0;
            Film_Judge_Right_X = 0;
            Film_Judge_Right_Y = 0;
            Pre_Align_Left_X = 0;
            Pre_Align_Left_Y = 0;
            Pre_Align_Right_X = 0;
            Pre_Align_Right_Y = 0;
            Pre_Align_Pick_Offset_Left_X = 0;
            Pre_Align_Pick_Offset_Left_Y = 0;
            Pre_Align_Pick_Offset_Left_T = 0;
            Pre_Align_Pick_Offset_Right_X = 0;
            Pre_Align_Pick_Offset_Right_Y = 0;
            Pre_Align_Pick_Offset_Right_T = 0;
            Fine_Align_1_Left_X = 0;
            Fine_Align_1_Left_Y = 0;
            Fine_Align_1_Right_X = 0;
            Fine_Align_1_Right_Y = 0;
            Fine_Align_2_Left_X = 0;
            Fine_Align_2_Left_Y = 0;
            Fine_Align_2_Right_X = 0;
            Fine_Align_2_Right_Y = 0;
            
            AOI_Mark1_X = 0;
            AOI_Mark1_Y = 0;
            AOI_Mark2_X = 0;
            AOI_Mark2_Y = 0;
            AOI_Mark3_X = 0;
            AOI_Mark3_Y = 0;
            AOI_Mark4_X = 0;
            AOI_Mark4_Y = 0;
            AoiMark34Use = false;
 
            AOI_Before_Left_T = 0;
            AOI_Before_Right_T = 0;
            AOI_After_Left_T = 0;
            AOI_After_Right_T = 0;
            Fine_Align_Mark_Distance = 1;
            Ablation_MCR_1_X = 0;
            Ablation_MCR_1_Y = 0;
            Ablation_MCR_2_X = 0;
            Ablation_MCR_2_Y = 0;
        }
        #endregion
 
        #region Function
        public Vision_Info_Recipe Clone()
        {
            Vision_Info_Recipe info = new Vision_Info_Recipe();
 
            info.Name = this.Name;
            info.Create_Time = this.Create_Time;
            info.Pre_Align_Offset_Left_X = this.Pre_Align_Offset_Left_X;
            info.Pre_Align_Offset_Left_Y = this.Pre_Align_Offset_Left_Y;
            info.Pre_Align_Offset_Left_T = this.Pre_Align_Offset_Left_T;
            info.Pre_Align_Offset_Right_X = this.Pre_Align_Offset_Right_X;
            info.Pre_Align_Offset_Right_Y = this.Pre_Align_Offset_Right_Y;
            info.Pre_Align_Offset_Right_T = this.Pre_Align_Offset_Right_T;
            info.Film_Judge_Left_X = this.Film_Judge_Left_X;
            info.Film_Judge_Left_Y = this.Film_Judge_Left_Y;
            info.Film_Judge_Right_X = this.Film_Judge_Right_X;
            info.Film_Judge_Right_Y = this.Film_Judge_Right_Y;
            info.Pre_Align_Left_X = this.Pre_Align_Left_X;
            info.Pre_Align_Left_Y = this.Pre_Align_Left_Y;
            info.Pre_Align_Right_X = this.Pre_Align_Right_X;
            info.Pre_Align_Right_Y = this.Pre_Align_Right_Y;
            info.Pre_Align_Pick_Offset_Left_X = this.Pre_Align_Pick_Offset_Left_X;
            info.Pre_Align_Pick_Offset_Left_Y = this.Pre_Align_Pick_Offset_Left_Y;
            info.Pre_Align_Pick_Offset_Left_T = this.Pre_Align_Pick_Offset_Left_T;
            info.Pre_Align_Pick_Offset_Right_X = this.Pre_Align_Pick_Offset_Right_X;
            info.Pre_Align_Pick_Offset_Right_Y = this.Pre_Align_Pick_Offset_Right_Y;
            info.Pre_Align_Pick_Offset_Right_T = this.Pre_Align_Pick_Offset_Right_T;
            info.Fine_Align_1_Left_X = this.Fine_Align_1_Left_X;
            info.Fine_Align_1_Left_Y = this.Fine_Align_1_Left_Y;
            info.Fine_Align_1_Right_X = this.Fine_Align_1_Right_X;
            info.Fine_Align_1_Right_Y = this.Fine_Align_1_Right_Y;
            info.Fine_Align_2_Left_X = this.Fine_Align_2_Left_X;
            info.Fine_Align_2_Left_Y = this.Fine_Align_2_Left_Y;
            info.Fine_Align_2_Right_X = this.Fine_Align_2_Right_X;
            info.Fine_Align_2_Right_Y = this.Fine_Align_2_Right_Y;
            info.AOI_Mark1_X = this.AOI_Mark1_X;
            info.AOI_Mark1_Y = this.AOI_Mark1_Y;
            info.AOI_Mark2_X = this.AOI_Mark2_X;
            info.AOI_Mark2_Y = this.AOI_Mark2_Y;
            info.AOI_Mark3_X = this.AOI_Mark3_X;
            info.AOI_Mark3_Y = this.AOI_Mark3_Y;
            info.AOI_Mark4_X = this.AOI_Mark4_X;
            info.AOI_Mark4_Y = this.AOI_Mark4_Y;
            info.AoiMark34Use = this.AoiMark34Use;
            info.AOI_Before_Left_T = this.AOI_Before_Left_T;
            info.AOI_Before_Right_T = this.AOI_Before_Right_T;
            info.AOI_After_Left_T = this.AOI_After_Left_T;
            info.AOI_After_Right_T = this.AOI_After_Right_T;
            info.Fine_Align_Mark_Distance = this.Fine_Align_Mark_Distance;
            info.Ablation_MCR_1_X = this.Ablation_MCR_1_X;
            info.Ablation_MCR_1_Y = this.Ablation_MCR_1_Y;
            info.Ablation_MCR_2_X = this.Ablation_MCR_2_X;
            info.Ablation_MCR_2_Y = this.Ablation_MCR_2_Y;
 
            return info;
        }
        #endregion
    }
}