M182轴承端盖外观缺陷AOI
kingno
2025-05-26 5a405c7dce20d8c79a733c9c786cc42eb59fe81c
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
namespace Bro.M141.Process.UI
{
    partial class PLCstate
    {
        /// <summary> 
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;
 
        /// <summary> 
        /// 清理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
 
        #region 组件设计器生成的代码
 
        /// <summary> 
        /// 设计器支持所需的方法 - 不要修改
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            button1 = new Button();
            button2 = new Button();
            button3 = new Button();
            button4 = new Button();
            button5 = new Button();
            label1 = new Label();
            label2 = new Label();
            label3 = new Label();
            label4 = new Label();
            label5 = new Label();
            label6 = new Label();
            label7 = new Label();
            label8 = new Label();
            label9 = new Label();
            label10 = new Label();
            label11 = new Label();
            textBox1 = new TextBox();
            button6 = new Button();
            label12 = new Label();
            label13 = new Label();
            button7 = new Button();
            textBox2 = new TextBox();
            label14 = new Label();
            label15 = new Label();
            button8 = new Button();
            textBox3 = new TextBox();
            label16 = new Label();
            label17 = new Label();
            label18 = new Label();
            label19 = new Label();
            button9 = new Button();
            button10 = new Button();
            SuspendLayout();
            // 
            // button1
            // 
            button1.BackColor = SystemColors.ActiveCaption;
            button1.Location = new Point(15, 14);
            button1.Name = "button1";
            button1.Size = new Size(116, 63);
            button1.TabIndex = 0;
            button1.Text = "收料气缸1伸出";
            button1.UseVisualStyleBackColor = false;
            button1.Click += button1_Click;
            // 
            // button2
            // 
            button2.BackColor = SystemColors.ActiveCaption;
            button2.Location = new Point(140, 14);
            button2.Name = "button2";
            button2.Size = new Size(115, 63);
            button2.TabIndex = 1;
            button2.Text = "收料气缸2伸出";
            button2.UseVisualStyleBackColor = false;
            button2.Click += button2_Click;
            // 
            // button3
            // 
            button3.BackColor = SystemColors.ActiveCaption;
            button3.Location = new Point(261, 14);
            button3.Name = "button3";
            button3.Size = new Size(118, 63);
            button3.TabIndex = 2;
            button3.Text = "收料气缸3伸出";
            button3.UseVisualStyleBackColor = false;
            button3.Click += button3_Click;
            // 
            // button4
            // 
            button4.BackColor = Color.NavajoWhite;
            button4.Location = new Point(15, 83);
            button4.Name = "button4";
            button4.Size = new Size(116, 60);
            button4.TabIndex = 3;
            button4.Text = "阻挡气缸伸出";
            button4.UseVisualStyleBackColor = false;
            button4.Click += button4_Click;
            // 
            // button5
            // 
            button5.BackColor = SystemColors.ScrollBar;
            button5.Location = new Point(137, 83);
            button5.Name = "button5";
            button5.Size = new Size(118, 60);
            button5.TabIndex = 4;
            button5.Text = "皮带启动";
            button5.UseVisualStyleBackColor = false;
            button5.Click += button5_Click;
            // 
            // label1
            // 
            label1.AutoSize = true;
            label1.BackColor = SystemColors.ActiveCaption;
            label1.Location = new Point(15, 162);
            label1.Name = "label1";
            label1.Size = new Size(154, 17);
            label1.TabIndex = 5;
            label1.Text = "收料气缸1当前状态:    缩回";
            // 
            // label2
            // 
            label2.AutoSize = true;
            label2.BackColor = SystemColors.ActiveCaption;
            label2.Location = new Point(15, 189);
            label2.Name = "label2";
            label2.Size = new Size(154, 17);
            label2.TabIndex = 6;
            label2.Text = "收料气缸2当前状态:    缩回";
            // 
            // label3
            // 
            label3.AutoSize = true;
            label3.BackColor = SystemColors.ActiveCaption;
            label3.Location = new Point(15, 216);
            label3.Name = "label3";
            label3.Size = new Size(154, 17);
            label3.TabIndex = 7;
            label3.Text = "收料气缸3当前状态:    缩回";
            // 
            // label4
            // 
            label4.AutoSize = true;
            label4.BackColor = Color.NavajoWhite;
            label4.Location = new Point(22, 242);
            label4.Name = "label4";
            label4.Size = new Size(147, 17);
            label4.TabIndex = 8;
            label4.Text = "阻挡气缸当前状态:    缩回";
            // 
            // label5
            // 
            label5.AutoSize = true;
            label5.BackColor = Color.LightCyan;
            label5.Location = new Point(51, 298);
            label5.Name = "label5";
            label5.Size = new Size(118, 17);
            label5.TabIndex = 9;
            label5.Text = "通道1有无料:    无料";
            // 
            // label6
            // 
            label6.AutoSize = true;
            label6.BackColor = Color.LightCyan;
            label6.Location = new Point(51, 327);
            label6.Name = "label6";
            label6.Size = new Size(118, 17);
            label6.TabIndex = 10;
            label6.Text = "通道2有无料:    无料";
            // 
            // label7
            // 
            label7.AutoSize = true;
            label7.BackColor = Color.LightCyan;
            label7.Location = new Point(51, 354);
            label7.Name = "label7";
            label7.Size = new Size(118, 17);
            label7.TabIndex = 11;
            label7.Text = "通道3有无料:    无料";
            // 
            // label8
            // 
            label8.AutoSize = true;
            label8.Font = new Font("Microsoft YaHei UI", 10.5F, FontStyle.Regular, GraphicsUnit.Point);
            label8.Location = new Point(22, 387);
            label8.Name = "label8";
            label8.Size = new Size(93, 20);
            label8.TabIndex = 12;
            label8.Text = "实时报警信息";
            label8.Click += label8_Click;
            // 
            // label9
            // 
            label9.AutoSize = true;
            label9.Font = new Font("Microsoft YaHei UI", 10.5F, FontStyle.Regular, GraphicsUnit.Point);
            label9.Location = new Point(22, 411);
            label9.Name = "label9";
            label9.Size = new Size(23, 20);
            label9.TabIndex = 13;
            label9.Text = "无";
            label9.Click += label9_Click;
            // 
            // label10
            // 
            label10.AutoSize = true;
            label10.BackColor = SystemColors.ScrollBar;
            label10.Location = new Point(46, 269);
            label10.Name = "label10";
            label10.Size = new Size(123, 17);
            label10.TabIndex = 14;
            label10.Text = "皮带当前状态:    停止";
            // 
            // label11
            // 
            label11.AutoSize = true;
            label11.Location = new Point(199, 201);
            label11.Name = "label11";
            label11.Size = new Size(32, 34);
            label11.TabIndex = 15;
            label11.Text = "皮带\r\n速度";
            // 
            // textBox1
            // 
            textBox1.Location = new Point(261, 213);
            textBox1.Name = "textBox1";
            textBox1.Size = new Size(70, 23);
            textBox1.TabIndex = 16;
            // 
            // button6
            // 
            button6.BackColor = SystemColors.ScrollBar;
            button6.Location = new Point(199, 242);
            button6.Name = "button6";
            button6.Size = new Size(163, 30);
            button6.TabIndex = 17;
            button6.Text = "写入";
            button6.UseVisualStyleBackColor = false;
            button6.Click += button6_Click;
            // 
            // label12
            // 
            label12.AutoSize = true;
            label12.Location = new Point(338, 201);
            label12.Name = "label12";
            label12.Size = new Size(41, 17);
            label12.TabIndex = 18;
            label12.Text = "mm/s";
            // 
            // label13
            // 
            label13.AutoSize = true;
            label13.Location = new Point(338, 298);
            label13.Name = "label13";
            label13.Size = new Size(30, 17);
            label13.TabIndex = 22;
            label13.Text = "mm";
            // 
            // button7
            // 
            button7.BackColor = Color.PaleTurquoise;
            button7.Location = new Point(199, 344);
            button7.Name = "button7";
            button7.Size = new Size(163, 30);
            button7.TabIndex = 21;
            button7.Text = "写入";
            button7.UseVisualStyleBackColor = false;
            button7.Click += button7_Click;
            // 
            // textBox2
            // 
            textBox2.Location = new Point(261, 315);
            textBox2.Name = "textBox2";
            textBox2.Size = new Size(70, 23);
            textBox2.TabIndex = 20;
            // 
            // label14
            // 
            label14.AutoSize = true;
            label14.Location = new Point(199, 298);
            label14.Name = "label14";
            label14.Size = new Size(56, 34);
            label14.TabIndex = 19;
            label14.Text = "相机触发\r\n位置偏移";
            // 
            // label15
            // 
            label15.AutoSize = true;
            label15.Location = new Point(338, 400);
            label15.Name = "label15";
            label15.Size = new Size(30, 17);
            label15.TabIndex = 26;
            label15.Text = "mm";
            // 
            // button8
            // 
            button8.BackColor = Color.DarkKhaki;
            button8.Location = new Point(199, 437);
            button8.Name = "button8";
            button8.Size = new Size(163, 30);
            button8.TabIndex = 25;
            button8.Text = "写入";
            button8.UseVisualStyleBackColor = false;
            button8.Click += button8_Click;
            // 
            // textBox3
            // 
            textBox3.Location = new Point(261, 408);
            textBox3.Name = "textBox3";
            textBox3.Size = new Size(70, 23);
            textBox3.TabIndex = 24;
            // 
            // label16
            // 
            label16.AutoSize = true;
            label16.Location = new Point(199, 390);
            label16.Name = "label16";
            label16.Size = new Size(51, 34);
            label16.TabIndex = 23;
            label16.Text = "抛NG料\r\n位偏移";
            // 
            // label17
            // 
            label17.AutoSize = true;
            label17.Location = new Point(285, 388);
            label17.Name = "label17";
            label17.Size = new Size(22, 17);
            label17.TabIndex = 27;
            label17.Text = "00";
            // 
            // label18
            // 
            label18.AutoSize = true;
            label18.Location = new Point(285, 193);
            label18.Name = "label18";
            label18.Size = new Size(22, 17);
            label18.TabIndex = 28;
            label18.Text = "00";
            // 
            // label19
            // 
            label19.AutoSize = true;
            label19.Location = new Point(285, 295);
            label19.Name = "label19";
            label19.Size = new Size(22, 17);
            label19.TabIndex = 29;
            label19.Text = "00";
            // 
            // button9
            // 
            button9.BackColor = Color.Cornsilk;
            button9.Location = new Point(261, 83);
            button9.Name = "button9";
            button9.Size = new Size(118, 60);
            button9.TabIndex = 30;
            button9.Text = "切换光源状态";
            button9.UseVisualStyleBackColor = false;
            button9.Click += button9_Click;
            // 
            // button10
            // 
            button10.BackColor = Color.LightGreen;
            button10.Location = new Point(243, 156);
            button10.Name = "button10";
            button10.Size = new Size(88, 29);
            button10.TabIndex = 31;
            button10.Text = "相机触发";
            button10.UseVisualStyleBackColor = false;
            button10.Click += button10_Click;
            // 
            // PLCstate
            // 
            AutoScaleDimensions = new SizeF(7F, 17F);
            AutoScaleMode = AutoScaleMode.Font;
            Controls.Add(button10);
            Controls.Add(button9);
            Controls.Add(label19);
            Controls.Add(label18);
            Controls.Add(label17);
            Controls.Add(label15);
            Controls.Add(button8);
            Controls.Add(textBox3);
            Controls.Add(label16);
            Controls.Add(label13);
            Controls.Add(button7);
            Controls.Add(textBox2);
            Controls.Add(label14);
            Controls.Add(label12);
            Controls.Add(button6);
            Controls.Add(textBox1);
            Controls.Add(label11);
            Controls.Add(label10);
            Controls.Add(label9);
            Controls.Add(label8);
            Controls.Add(label7);
            Controls.Add(label6);
            Controls.Add(label5);
            Controls.Add(label4);
            Controls.Add(label3);
            Controls.Add(label2);
            Controls.Add(label1);
            Controls.Add(button5);
            Controls.Add(button4);
            Controls.Add(button3);
            Controls.Add(button2);
            Controls.Add(button1);
            Name = "PLCstate";
            Size = new Size(389, 481);
            Load += PLCstate_Load;
            ResumeLayout(false);
            PerformLayout();
        }
 
        #endregion
 
        private Button button1;
        private Button button2;
        private Button button3;
        private Button button4;
        private Button button5;
        private Label label1;
        private Label label2;
        private Label label3;
        private Label label4;
        private Label label5;
        private Label label6;
        private Label label7;
        private Label label8;
        private Label label9;
        private Label label10;
        private Label label11;
        private TextBox textBox1;
        private Button button6;
        private Label label12;
        private Label label13;
        private Button button7;
        private TextBox textBox2;
        private Label label14;
        private Label label15;
        private Button button8;
        private TextBox textBox3;
        private Label label16;
        private Label label17;
        private Label label18;
        private Label label19;
        private Button button9;
        private Button button10;
    }
}