|
|
@@ -45,46 +45,29 @@
|
|
|
this.Counter = new System.Windows.Forms.RadioButton();
|
|
|
this.StopWatch = new System.Windows.Forms.Button();
|
|
|
this.StartWatch = new System.Windows.Forms.Button();
|
|
|
- this.BaudRate = new System.Windows.Forms.TextBox();
|
|
|
- this.BaudRate_label = new System.Windows.Forms.Label();
|
|
|
- this.ComPort_label = new System.Windows.Forms.Label();
|
|
|
this.Timer = new System.Windows.Forms.Timer(this.components);
|
|
|
this.pr_pcbacount = new System.Windows.Forms.NumericUpDown();
|
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
|
- this.Read = new System.Windows.Forms.TextBox();
|
|
|
- this.Read_label = new System.Windows.Forms.Label();
|
|
|
- this.Write = new System.Windows.Forms.TextBox();
|
|
|
- this.Write_label = new System.Windows.Forms.Label();
|
|
|
- this.ToZero = new System.Windows.Forms.TextBox();
|
|
|
- this.ToZero_label = new System.Windows.Forms.Label();
|
|
|
this.CleanData = new System.Windows.Forms.Button();
|
|
|
this.Setting = new System.Windows.Forms.Button();
|
|
|
- this.CountType_label = new System.Windows.Forms.Label();
|
|
|
- this.CountType = new System.Windows.Forms.ComboBox();
|
|
|
- this.UseScan = new System.Windows.Forms.TextBox();
|
|
|
- this.UseScan_label = new System.Windows.Forms.Label();
|
|
|
- this.Password = new System.Windows.Forms.TextBox();
|
|
|
- this.label3 = new System.Windows.Forms.Label();
|
|
|
- this.ComPort = new FileWatcher.SerialPortCombox();
|
|
|
this.ms_sncode = new FileWatcher.EnterTextBox();
|
|
|
this.ma_code = new FileWatcher.SearchTextBox();
|
|
|
this.li_code = new FileWatcher.SearchTextBox();
|
|
|
- this.Stop = new System.Windows.Forms.TextBox();
|
|
|
- this.label6 = new System.Windows.Forms.Label();
|
|
|
+ this.Start = new System.Windows.Forms.Button();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pr_pcbacount)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
- //
|
|
|
+ //
|
|
|
// OperateResult
|
|
|
- //
|
|
|
+ //
|
|
|
this.OperateResult.Location = new System.Drawing.Point(1208, 23);
|
|
|
this.OperateResult.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
this.OperateResult.Name = "OperateResult";
|
|
|
this.OperateResult.Size = new System.Drawing.Size(489, 535);
|
|
|
this.OperateResult.TabIndex = 7;
|
|
|
this.OperateResult.Text = "";
|
|
|
- //
|
|
|
+ //
|
|
|
// Clean
|
|
|
- //
|
|
|
+ //
|
|
|
this.Clean.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.Clean.Location = new System.Drawing.Point(1380, 580);
|
|
|
this.Clean.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
@@ -94,9 +77,9 @@
|
|
|
this.Clean.Text = "清除";
|
|
|
this.Clean.UseVisualStyleBackColor = true;
|
|
|
this.Clean.Click += new System.EventHandler(this.Clean_Click);
|
|
|
- //
|
|
|
+ //
|
|
|
// MakeCode_lable
|
|
|
- //
|
|
|
+ //
|
|
|
this.MakeCode_lable.AutoSize = true;
|
|
|
this.MakeCode_lable.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.MakeCode_lable.Location = new System.Drawing.Point(51, 120);
|
|
|
@@ -105,9 +88,9 @@
|
|
|
this.MakeCode_lable.Size = new System.Drawing.Size(104, 38);
|
|
|
this.MakeCode_lable.TabIndex = 12;
|
|
|
this.MakeCode_lable.Text = "工单号";
|
|
|
- //
|
|
|
+ //
|
|
|
// Type
|
|
|
- //
|
|
|
+ //
|
|
|
this.Type.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.Type.FormattingEnabled = true;
|
|
|
this.Type.Items.AddRange(new object[] {
|
|
|
@@ -117,9 +100,9 @@
|
|
|
this.Type.Name = "Type";
|
|
|
this.Type.Size = new System.Drawing.Size(436, 32);
|
|
|
this.Type.TabIndex = 18;
|
|
|
- //
|
|
|
+ //
|
|
|
// label1
|
|
|
- //
|
|
|
+ //
|
|
|
this.label1.AutoSize = true;
|
|
|
this.label1.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.label1.Location = new System.Drawing.Point(51, 261);
|
|
|
@@ -128,9 +111,9 @@
|
|
|
this.label1.Size = new System.Drawing.Size(75, 38);
|
|
|
this.label1.TabIndex = 19;
|
|
|
this.label1.Text = "类型";
|
|
|
- //
|
|
|
+ //
|
|
|
// AutoStart
|
|
|
- //
|
|
|
+ //
|
|
|
this.AutoStart.AutoSize = true;
|
|
|
this.AutoStart.Checked = true;
|
|
|
this.AutoStart.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
@@ -140,17 +123,17 @@
|
|
|
this.AutoStart.TabIndex = 20;
|
|
|
this.AutoStart.Text = "开机自动启动";
|
|
|
this.AutoStart.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
+ //
|
|
|
// NowQTY
|
|
|
- //
|
|
|
+ //
|
|
|
this.NowQTY.Location = new System.Drawing.Point(221, 347);
|
|
|
this.NowQTY.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
this.NowQTY.Name = "NowQTY";
|
|
|
this.NowQTY.Size = new System.Drawing.Size(145, 35);
|
|
|
this.NowQTY.TabIndex = 26;
|
|
|
- //
|
|
|
+ //
|
|
|
// label4
|
|
|
- //
|
|
|
+ //
|
|
|
this.label4.AutoSize = true;
|
|
|
this.label4.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.label4.Location = new System.Drawing.Point(51, 343);
|
|
|
@@ -159,9 +142,9 @@
|
|
|
this.label4.Size = new System.Drawing.Size(133, 38);
|
|
|
this.label4.TabIndex = 25;
|
|
|
this.label4.Text = "当前计数";
|
|
|
- //
|
|
|
+ //
|
|
|
// label5
|
|
|
- //
|
|
|
+ //
|
|
|
this.label5.AutoSize = true;
|
|
|
this.label5.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
|
this.label5.Location = new System.Drawing.Point(51, 191);
|
|
|
@@ -169,9 +152,9 @@
|
|
|
this.label5.Size = new System.Drawing.Size(82, 41);
|
|
|
this.label5.TabIndex = 27;
|
|
|
this.label5.Text = "线别";
|
|
|
- //
|
|
|
+ //
|
|
|
// label2
|
|
|
- //
|
|
|
+ //
|
|
|
this.label2.AutoSize = true;
|
|
|
this.label2.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.label2.Location = new System.Drawing.Point(51, 424);
|
|
|
@@ -180,14 +163,14 @@
|
|
|
this.label2.Size = new System.Drawing.Size(104, 38);
|
|
|
this.label2.TabIndex = 34;
|
|
|
this.label2.Text = "录入框";
|
|
|
- //
|
|
|
+ //
|
|
|
// RemindTimer
|
|
|
- //
|
|
|
+ //
|
|
|
this.RemindTimer.Interval = 5000;
|
|
|
this.RemindTimer.Tick += new System.EventHandler(this.RemindTimer_Tick);
|
|
|
- //
|
|
|
+ //
|
|
|
// RemindVoice
|
|
|
- //
|
|
|
+ //
|
|
|
this.RemindVoice.AutoSize = true;
|
|
|
this.RemindVoice.Checked = true;
|
|
|
this.RemindVoice.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
@@ -197,9 +180,9 @@
|
|
|
this.RemindVoice.TabIndex = 35;
|
|
|
this.RemindVoice.Text = "开启提示音";
|
|
|
this.RemindVoice.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
+ //
|
|
|
// SN
|
|
|
- //
|
|
|
+ //
|
|
|
this.SN.AutoSize = true;
|
|
|
this.SN.Location = new System.Drawing.Point(221, 485);
|
|
|
this.SN.Name = "SN";
|
|
|
@@ -208,9 +191,9 @@
|
|
|
this.SN.Text = "扫描SN";
|
|
|
this.SN.UseVisualStyleBackColor = true;
|
|
|
this.SN.CheckedChanged += new System.EventHandler(this.SN_CheckedChanged);
|
|
|
- //
|
|
|
+ //
|
|
|
// Counter
|
|
|
- //
|
|
|
+ //
|
|
|
this.Counter.AutoSize = true;
|
|
|
this.Counter.Checked = true;
|
|
|
this.Counter.Location = new System.Drawing.Point(357, 485);
|
|
|
@@ -221,12 +204,12 @@
|
|
|
this.Counter.Text = "计数器";
|
|
|
this.Counter.UseVisualStyleBackColor = true;
|
|
|
this.Counter.CheckedChanged += new System.EventHandler(this.Counter_CheckedChanged);
|
|
|
- //
|
|
|
+ //
|
|
|
// StopWatch
|
|
|
- //
|
|
|
+ //
|
|
|
this.StopWatch.Enabled = false;
|
|
|
this.StopWatch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.StopWatch.Location = new System.Drawing.Point(403, 552);
|
|
|
+ this.StopWatch.Location = new System.Drawing.Point(357, 552);
|
|
|
this.StopWatch.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
this.StopWatch.Name = "StopWatch";
|
|
|
this.StopWatch.Size = new System.Drawing.Size(128, 56);
|
|
|
@@ -234,9 +217,9 @@
|
|
|
this.StopWatch.Text = "停止监控";
|
|
|
this.StopWatch.UseVisualStyleBackColor = true;
|
|
|
this.StopWatch.Click += new System.EventHandler(this.StopWatch_Click);
|
|
|
- //
|
|
|
+ //
|
|
|
// StartWatch
|
|
|
- //
|
|
|
+ //
|
|
|
this.StartWatch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.StartWatch.Location = new System.Drawing.Point(205, 552);
|
|
|
this.StartWatch.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
@@ -246,46 +229,14 @@
|
|
|
this.StartWatch.Text = "开始监控";
|
|
|
this.StartWatch.UseVisualStyleBackColor = true;
|
|
|
this.StartWatch.Click += new System.EventHandler(this.StartWatch_Click);
|
|
|
- //
|
|
|
- // BaudRate
|
|
|
- //
|
|
|
- this.BaudRate.Enabled = false;
|
|
|
- this.BaudRate.Location = new System.Drawing.Point(1020, 229);
|
|
|
- this.BaudRate.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
- this.BaudRate.Name = "BaudRate";
|
|
|
- this.BaudRate.Size = new System.Drawing.Size(145, 35);
|
|
|
- this.BaudRate.TabIndex = 43;
|
|
|
- this.BaudRate.Text = "9600";
|
|
|
- //
|
|
|
- // BaudRate_label
|
|
|
- //
|
|
|
- this.BaudRate_label.AutoSize = true;
|
|
|
- this.BaudRate_label.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.BaudRate_label.Location = new System.Drawing.Point(896, 229);
|
|
|
- this.BaudRate_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
- this.BaudRate_label.Name = "BaudRate_label";
|
|
|
- this.BaudRate_label.Size = new System.Drawing.Size(104, 38);
|
|
|
- this.BaudRate_label.TabIndex = 42;
|
|
|
- this.BaudRate_label.Text = "波特率";
|
|
|
- //
|
|
|
- // ComPort_label
|
|
|
- //
|
|
|
- this.ComPort_label.AutoSize = true;
|
|
|
- this.ComPort_label.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.ComPort_label.Location = new System.Drawing.Point(925, 177);
|
|
|
- this.ComPort_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
- this.ComPort_label.Name = "ComPort_label";
|
|
|
- this.ComPort_label.Size = new System.Drawing.Size(75, 38);
|
|
|
- this.ComPort_label.TabIndex = 41;
|
|
|
- this.ComPort_label.Text = "串口";
|
|
|
- //
|
|
|
+ //
|
|
|
// Timer
|
|
|
- //
|
|
|
+ //
|
|
|
this.Timer.Interval = 2000;
|
|
|
this.Timer.Tick += new System.EventHandler(this.Timer_Tick);
|
|
|
- //
|
|
|
+ //
|
|
|
// pr_pcbacount
|
|
|
- //
|
|
|
+ //
|
|
|
this.pr_pcbacount.Location = new System.Drawing.Point(537, 347);
|
|
|
this.pr_pcbacount.Name = "pr_pcbacount";
|
|
|
this.pr_pcbacount.Size = new System.Drawing.Size(120, 35);
|
|
|
@@ -295,9 +246,9 @@
|
|
|
0,
|
|
|
0,
|
|
|
0});
|
|
|
- //
|
|
|
+ //
|
|
|
// label7
|
|
|
- //
|
|
|
+ //
|
|
|
this.label7.AutoSize = true;
|
|
|
this.label7.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.label7.Location = new System.Drawing.Point(409, 343);
|
|
|
@@ -306,71 +257,11 @@
|
|
|
this.label7.Size = new System.Drawing.Size(104, 38);
|
|
|
this.label7.TabIndex = 44;
|
|
|
this.label7.Text = "拼版数";
|
|
|
- //
|
|
|
- // Read
|
|
|
- //
|
|
|
- this.Read.Enabled = false;
|
|
|
- this.Read.Location = new System.Drawing.Point(1019, 285);
|
|
|
- this.Read.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
- this.Read.Name = "Read";
|
|
|
- this.Read.Size = new System.Drawing.Size(145, 35);
|
|
|
- this.Read.TabIndex = 47;
|
|
|
- //
|
|
|
- // Read_label
|
|
|
- //
|
|
|
- this.Read_label.AutoSize = true;
|
|
|
- this.Read_label.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.Read_label.Location = new System.Drawing.Point(935, 280);
|
|
|
- this.Read_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
- this.Read_label.Name = "Read_label";
|
|
|
- this.Read_label.Size = new System.Drawing.Size(75, 38);
|
|
|
- this.Read_label.TabIndex = 46;
|
|
|
- this.Read_label.Text = "读取";
|
|
|
- //
|
|
|
- // Write
|
|
|
- //
|
|
|
- this.Write.Enabled = false;
|
|
|
- this.Write.Location = new System.Drawing.Point(1019, 339);
|
|
|
- this.Write.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
- this.Write.Name = "Write";
|
|
|
- this.Write.Size = new System.Drawing.Size(145, 35);
|
|
|
- this.Write.TabIndex = 49;
|
|
|
- //
|
|
|
- // Write_label
|
|
|
- //
|
|
|
- this.Write_label.AutoSize = true;
|
|
|
- this.Write_label.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.Write_label.Location = new System.Drawing.Point(935, 335);
|
|
|
- this.Write_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
- this.Write_label.Name = "Write_label";
|
|
|
- this.Write_label.Size = new System.Drawing.Size(75, 38);
|
|
|
- this.Write_label.TabIndex = 48;
|
|
|
- this.Write_label.Text = "回写";
|
|
|
- //
|
|
|
- // ToZero
|
|
|
- //
|
|
|
- this.ToZero.Enabled = false;
|
|
|
- this.ToZero.Location = new System.Drawing.Point(1019, 432);
|
|
|
- this.ToZero.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
- this.ToZero.Name = "ToZero";
|
|
|
- this.ToZero.Size = new System.Drawing.Size(145, 35);
|
|
|
- this.ToZero.TabIndex = 51;
|
|
|
- //
|
|
|
- // ToZero_label
|
|
|
- //
|
|
|
- this.ToZero_label.AutoSize = true;
|
|
|
- this.ToZero_label.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.ToZero_label.Location = new System.Drawing.Point(935, 428);
|
|
|
- this.ToZero_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
- this.ToZero_label.Name = "ToZero_label";
|
|
|
- this.ToZero_label.Size = new System.Drawing.Size(75, 38);
|
|
|
- this.ToZero_label.TabIndex = 50;
|
|
|
- this.ToZero_label.Text = "清零";
|
|
|
- //
|
|
|
+ //
|
|
|
// CleanData
|
|
|
- //
|
|
|
+ //
|
|
|
this.CleanData.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.CleanData.Location = new System.Drawing.Point(595, 552);
|
|
|
+ this.CleanData.Location = new System.Drawing.Point(513, 552);
|
|
|
this.CleanData.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
this.CleanData.Name = "CleanData";
|
|
|
this.CleanData.Size = new System.Drawing.Size(128, 56);
|
|
|
@@ -378,9 +269,9 @@
|
|
|
this.CleanData.Text = "计数清零";
|
|
|
this.CleanData.UseVisualStyleBackColor = true;
|
|
|
this.CleanData.Click += new System.EventHandler(this.CleanData_Click);
|
|
|
- //
|
|
|
+ //
|
|
|
// Setting
|
|
|
- //
|
|
|
+ //
|
|
|
this.Setting.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
this.Setting.Location = new System.Drawing.Point(973, 23);
|
|
|
this.Setting.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
@@ -390,82 +281,9 @@
|
|
|
this.Setting.Text = "设置参数";
|
|
|
this.Setting.UseVisualStyleBackColor = true;
|
|
|
this.Setting.Click += new System.EventHandler(this.Setting_Click);
|
|
|
- //
|
|
|
- // CountType_label
|
|
|
- //
|
|
|
- this.CountType_label.AutoSize = true;
|
|
|
- this.CountType_label.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.CountType_label.Location = new System.Drawing.Point(880, 528);
|
|
|
- this.CountType_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
- this.CountType_label.Name = "CountType_label";
|
|
|
- this.CountType_label.Size = new System.Drawing.Size(133, 38);
|
|
|
- this.CountType_label.TabIndex = 55;
|
|
|
- this.CountType_label.Text = "计数方式";
|
|
|
- //
|
|
|
- // CountType
|
|
|
- //
|
|
|
- this.CountType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
- this.CountType.Enabled = false;
|
|
|
- this.CountType.FormattingEnabled = true;
|
|
|
- this.CountType.Items.AddRange(new object[] {
|
|
|
- "PLC",
|
|
|
- "计数器"});
|
|
|
- this.CountType.Location = new System.Drawing.Point(1020, 534);
|
|
|
- this.CountType.Name = "CountType";
|
|
|
- this.CountType.Size = new System.Drawing.Size(137, 32);
|
|
|
- this.CountType.TabIndex = 54;
|
|
|
- //
|
|
|
- // UseScan
|
|
|
- //
|
|
|
- this.UseScan.Enabled = false;
|
|
|
- this.UseScan.Location = new System.Drawing.Point(1019, 482);
|
|
|
- this.UseScan.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
- this.UseScan.Name = "UseScan";
|
|
|
- this.UseScan.Size = new System.Drawing.Size(145, 35);
|
|
|
- this.UseScan.TabIndex = 57;
|
|
|
- //
|
|
|
- // UseScan_label
|
|
|
- //
|
|
|
- this.UseScan_label.AutoSize = true;
|
|
|
- this.UseScan_label.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.UseScan_label.Location = new System.Drawing.Point(877, 480);
|
|
|
- this.UseScan_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
- this.UseScan_label.Name = "UseScan_label";
|
|
|
- this.UseScan_label.Size = new System.Drawing.Size(133, 38);
|
|
|
- this.UseScan_label.TabIndex = 56;
|
|
|
- this.UseScan_label.Text = "启用扫描";
|
|
|
- //
|
|
|
- // Password
|
|
|
- //
|
|
|
- this.Password.Location = new System.Drawing.Point(1019, 127);
|
|
|
- this.Password.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
- this.Password.Name = "Password";
|
|
|
- this.Password.PasswordChar = '*';
|
|
|
- this.Password.Size = new System.Drawing.Size(145, 35);
|
|
|
- this.Password.TabIndex = 59;
|
|
|
- //
|
|
|
- // label3
|
|
|
- //
|
|
|
- this.label3.AutoSize = true;
|
|
|
- this.label3.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label3.Location = new System.Drawing.Point(923, 124);
|
|
|
- this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
- this.label3.Name = "label3";
|
|
|
- this.label3.Size = new System.Drawing.Size(75, 38);
|
|
|
- this.label3.TabIndex = 58;
|
|
|
- this.label3.Text = "密码";
|
|
|
- //
|
|
|
- // ComPort
|
|
|
- //
|
|
|
- this.ComPort.Enabled = false;
|
|
|
- this.ComPort.Location = new System.Drawing.Point(1019, 181);
|
|
|
- this.ComPort.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
|
- this.ComPort.Name = "ComPort";
|
|
|
- this.ComPort.Size = new System.Drawing.Size(148, 40);
|
|
|
- this.ComPort.TabIndex = 40;
|
|
|
- //
|
|
|
+ //
|
|
|
// ms_sncode
|
|
|
- //
|
|
|
+ //
|
|
|
this.ms_sncode.AllPower = null;
|
|
|
this.ms_sncode.BackColor = System.Drawing.Color.White;
|
|
|
this.ms_sncode.ID = null;
|
|
|
@@ -478,9 +296,9 @@
|
|
|
this.ms_sncode.Str2 = null;
|
|
|
this.ms_sncode.TabIndex = 33;
|
|
|
this.ms_sncode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ms_sncode_KeyDown);
|
|
|
- //
|
|
|
+ //
|
|
|
// ma_code
|
|
|
- //
|
|
|
+ //
|
|
|
this.ma_code.AllPower = null;
|
|
|
this.ma_code.Caller = null;
|
|
|
this.ma_code.Condition = null;
|
|
|
@@ -496,9 +314,9 @@
|
|
|
this.ma_code.TabIndex = 29;
|
|
|
this.ma_code.TableName = null;
|
|
|
this.ma_code.TextBoxEnable = false;
|
|
|
- //
|
|
|
+ //
|
|
|
// li_code
|
|
|
- //
|
|
|
+ //
|
|
|
this.li_code.AllPower = null;
|
|
|
this.li_code.Caller = null;
|
|
|
this.li_code.Condition = null;
|
|
|
@@ -514,54 +332,29 @@
|
|
|
this.li_code.TabIndex = 28;
|
|
|
this.li_code.TableName = null;
|
|
|
this.li_code.TextBoxEnable = false;
|
|
|
- //
|
|
|
- // Stop
|
|
|
- //
|
|
|
- this.Stop.Enabled = false;
|
|
|
- this.Stop.Location = new System.Drawing.Point(1020, 386);
|
|
|
- this.Stop.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
- this.Stop.Name = "Stop";
|
|
|
- this.Stop.Size = new System.Drawing.Size(145, 35);
|
|
|
- this.Stop.TabIndex = 61;
|
|
|
- //
|
|
|
- // label6
|
|
|
- //
|
|
|
- this.label6.AutoSize = true;
|
|
|
- this.label6.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label6.Location = new System.Drawing.Point(936, 382);
|
|
|
- this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
- this.label6.Name = "label6";
|
|
|
- this.label6.Size = new System.Drawing.Size(75, 38);
|
|
|
- this.label6.TabIndex = 60;
|
|
|
- this.label6.Text = "停止";
|
|
|
- //
|
|
|
+ //
|
|
|
+ // Start
|
|
|
+ //
|
|
|
+ this.Start.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.Start.Location = new System.Drawing.Point(673, 552);
|
|
|
+ this.Start.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
+ this.Start.Name = "Start";
|
|
|
+ this.Start.Size = new System.Drawing.Size(128, 56);
|
|
|
+ this.Start.TabIndex = 62;
|
|
|
+ this.Start.Text = "启动";
|
|
|
+ this.Start.UseVisualStyleBackColor = true;
|
|
|
+ this.Start.Click += new System.EventHandler(this.Start_Click);
|
|
|
+ //
|
|
|
// AutoSMTRXY
|
|
|
- //
|
|
|
+ //
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.ClientSize = new System.Drawing.Size(1709, 640);
|
|
|
- this.Controls.Add(this.Stop);
|
|
|
- this.Controls.Add(this.label6);
|
|
|
- this.Controls.Add(this.Password);
|
|
|
- this.Controls.Add(this.label3);
|
|
|
- this.Controls.Add(this.UseScan);
|
|
|
- this.Controls.Add(this.UseScan_label);
|
|
|
- this.Controls.Add(this.CountType_label);
|
|
|
- this.Controls.Add(this.CountType);
|
|
|
+ this.Controls.Add(this.Start);
|
|
|
this.Controls.Add(this.Setting);
|
|
|
this.Controls.Add(this.CleanData);
|
|
|
- this.Controls.Add(this.ToZero);
|
|
|
- this.Controls.Add(this.ToZero_label);
|
|
|
- this.Controls.Add(this.Write);
|
|
|
- this.Controls.Add(this.Write_label);
|
|
|
- this.Controls.Add(this.Read);
|
|
|
- this.Controls.Add(this.Read_label);
|
|
|
this.Controls.Add(this.pr_pcbacount);
|
|
|
this.Controls.Add(this.label7);
|
|
|
- this.Controls.Add(this.BaudRate);
|
|
|
- this.Controls.Add(this.BaudRate_label);
|
|
|
- this.Controls.Add(this.ComPort_label);
|
|
|
- this.Controls.Add(this.ComPort);
|
|
|
this.Controls.Add(this.StopWatch);
|
|
|
this.Controls.Add(this.StartWatch);
|
|
|
this.Controls.Add(this.SN);
|
|
|
@@ -614,29 +407,11 @@
|
|
|
private System.Windows.Forms.RadioButton Counter;
|
|
|
private System.Windows.Forms.Button StopWatch;
|
|
|
private System.Windows.Forms.Button StartWatch;
|
|
|
- private System.Windows.Forms.TextBox BaudRate;
|
|
|
- private System.Windows.Forms.Label BaudRate_label;
|
|
|
- private System.Windows.Forms.Label ComPort_label;
|
|
|
- private SerialPortCombox ComPort;
|
|
|
private System.Windows.Forms.Timer Timer;
|
|
|
private System.Windows.Forms.NumericUpDown pr_pcbacount;
|
|
|
private System.Windows.Forms.Label label7;
|
|
|
- private System.Windows.Forms.TextBox Read;
|
|
|
- private System.Windows.Forms.Label Read_label;
|
|
|
- private System.Windows.Forms.TextBox Write;
|
|
|
- private System.Windows.Forms.Label Write_label;
|
|
|
- private System.Windows.Forms.TextBox ToZero;
|
|
|
- private System.Windows.Forms.Label ToZero_label;
|
|
|
private System.Windows.Forms.Button CleanData;
|
|
|
private System.Windows.Forms.Button Setting;
|
|
|
- private System.Windows.Forms.Label CountType_label;
|
|
|
- private System.Windows.Forms.ComboBox CountType;
|
|
|
- private System.Windows.Forms.TextBox UseScan;
|
|
|
- private System.Windows.Forms.Label UseScan_label;
|
|
|
- private System.Windows.Forms.TextBox Password;
|
|
|
- private System.Windows.Forms.Label label3;
|
|
|
- private System.Windows.Forms.TextBox Stop;
|
|
|
- private System.Windows.Forms.Label label6;
|
|
|
+ private System.Windows.Forms.Button Start;
|
|
|
}
|
|
|
}
|
|
|
-
|